Created attachment 243976 [details] build log and pkg info Port can't be build.
I have also installed dns/py311-py3dns-4.0.0 package. So i'm totally confused what is missing ....
With what options did you build tevent, talloc and tdb? And what build options set for samba?
I have made make reconfigure of all mentioned ports, and rebuild them again. The same with net/samba416.
(In reply to Jordan Ostreff from comment #3) Can you show build options? For example: # cat /var/db/ports/databases_tdb/options # This file is auto-generated by 'make config'. # Options for tdb-1.4.7,1 _OPTIONS_READ=tdb-1.4.7,1 _FILE_COMPLETE_OPTIONS_LIST=DEBUG MANPAGES PYTHON OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=MANPAGES OPTIONS_FILE_SET+=PYTHON # cat /var/db/ports/devel_tevent/options # This file is auto-generated by 'make config'. # Options for tevent-0.13.0 _OPTIONS_READ=tevent-0.13.0 _FILE_COMPLETE_OPTIONS_LIST=DEBUG MANPAGES PYTHON OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=MANPAGES OPTIONS_FILE_SET+=PYTHON # cat /var/db/ports/devel_talloc/options # This file is auto-generated by 'make config'. # Options for talloc-2.3.4 _OPTIONS_READ=talloc-2.3.4 _FILE_COMPLETE_OPTIONS_LIST=DEBUG MANPAGES PYTHON OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=MANPAGES OPTIONS_FILE_SET+=PYTHON # cat /var/db/ports/net_samba416/options # This file is auto-generated by 'make config'. # Options for samba416-4.16.5 _OPTIONS_READ=samba416-4.16.5 _FILE_COMPLETE_OPTIONS_LIST=ADS AD_DC CLUSTER CUPS DOCS FAM GPGME LDAP MANDOC PROFILE PYTHON3 QUOTAS SPOTLIGHT SYSLOG UTMP GSSAPI_BUILTIN GSSAPI_MIT ZEROCONF_NONE AVAHI MDNSRESPONDER FRUIT GLUSTERFS OPTIONS_FILE_SET+=ADS OPTIONS_FILE_SET+=AD_DC OPTIONS_FILE_UNSET+=CLUSTER OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_UNSET+=DOCS OPTIONS_FILE_SET+=FAM OPTIONS_FILE_UNSET+=GPGME OPTIONS_FILE_SET+=LDAP OPTIONS_FILE_UNSET+=MANDOC OPTIONS_FILE_UNSET+=PROFILE OPTIONS_FILE_SET+=PYTHON3 OPTIONS_FILE_SET+=QUOTAS OPTIONS_FILE_UNSET+=SPOTLIGHT OPTIONS_FILE_SET+=SYSLOG OPTIONS_FILE_SET+=UTMP OPTIONS_FILE_SET+=GSSAPI_BUILTIN OPTIONS_FILE_UNSET+=GSSAPI_MIT OPTIONS_FILE_SET+=ZEROCONF_NONE OPTIONS_FILE_UNSET+=AVAHI OPTIONS_FILE_UNSET+=MDNSRESPONDER OPTIONS_FILE_UNSET+=FRUIT OPTIONS_FILE_UNSET+=GLUSTERFS
Sure: cat /var/db/ports/databases_tdb/options # This file is auto-generated by 'make config'. # Options for tdb-1.4.7,1 _OPTIONS_READ=tdb-1.4.7,1 _FILE_COMPLETE_OPTIONS_LIST=DEBUG MANPAGES PYTHON OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=MANPAGES OPTIONS_FILE_SET+=PYTHON cat /var/db/ports/devel_tevent/options # This file is auto-generated by 'make config'. # Options for tevent-0.13.0_1 _OPTIONS_READ=tevent-0.13.0_1 _FILE_COMPLETE_OPTIONS_LIST=DEBUG MANPAGES PYTHON OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=MANPAGES OPTIONS_FILE_SET+=PYTHON /var/db/ports/devel_talloc/options # This file is auto-generated by 'make config'. # Options for talloc-2.3.4 _OPTIONS_READ=talloc-2.3.4 _FILE_COMPLETE_OPTIONS_LIST=DEBUG MANPAGES PYTHON OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=MANPAGES OPTIONS_FILE_SET+=PYTHON cat /var/db/ports/net_samba416/options # This file is auto-generated by 'make config'. # Options for samba416-4.16.11 _OPTIONS_READ=samba416-4.16.11 _FILE_COMPLETE_OPTIONS_LIST=ADS AD_DC CLUSTER CUPS DOCS FAM GPGME LDAP MANDOC PROFILE PYTHON3 QUOTAS SPOTLIGHT SYSLOG UTMP GSSAPI_BUILTIN GSSAPI_MIT ZEROCONF_NONE AVAHI MDNSRESPONDER FRUIT GLUSTERFS OPTIONS_FILE_SET+=ADS OPTIONS_FILE_SET+=AD_DC OPTIONS_FILE_UNSET+=CLUSTER OPTIONS_FILE_UNSET+=CUPS OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_SET+=FAM OPTIONS_FILE_UNSET+=GPGME OPTIONS_FILE_SET+=LDAP OPTIONS_FILE_UNSET+=MANDOC OPTIONS_FILE_SET+=PROFILE OPTIONS_FILE_SET+=PYTHON3 OPTIONS_FILE_SET+=QUOTAS OPTIONS_FILE_UNSET+=SPOTLIGHT OPTIONS_FILE_SET+=SYSLOG OPTIONS_FILE_SET+=UTMP OPTIONS_FILE_SET+=GSSAPI_BUILTIN OPTIONS_FILE_UNSET+=GSSAPI_MIT OPTIONS_FILE_UNSET+=ZEROCONF_NONE OPTIONS_FILE_SET+=AVAHI OPTIONS_FILE_UNSET+=MDNSRESPONDER OPTIONS_FILE_SET+=FRUIT OPTIONS_FILE_UNSET+=GLUSTERFS
I see you set python version to 3.11 - are you sure samba support python 3.11? I'm use python 3.10 and samba build fine on 10 different hosts.
I have migrated to python 3.11 almost 7 machines. One of them can build samba 4.16.11 and i've distributed builded package from it to all other which fail to build it.
Most probably you have broken environment. Try to rebuild py311-dnspython-2.4.1,1. Or all python related ports: python-3.11_3,2 python3-3_3 python311-3.11.4 py311-*
(In reply to Vladimir Druzenko from comment #8) We face this exact error on recent CURRENT and recent 13-STABLE. On both OS versions, we already rebuilt net/samb416 via "portmaster -dfR" as well as we rebuilt all python3/python3.9 and py39-* ports as well as "portmaster -df py39-dns/py-dnspython". Summa summarum, over 600 ports has been rebuilt so far (several multiple times). And another mystery: on CURRENT and 13-STABLE, the build of net/samba broke at the same time with the same error on multiple hosts - that is barely an indication for a single broken installation!
net/samba416 is configured as shown below, devel/talloc, devel/tevent and databases/tdb are set to default (to assure having the right settings, I made a "make rmconfig" first on all related ports, net/samba416 included. # make showconfig ===> The following configuration options are available for samba416-4.16.11: ADS=on: Active Directory client(implies LDAP) AD_DC=on: Active Directory Domain Controller(implies PYTHON3) CLUSTER=off: Clustering support CUPS=on: CUPS printing system support DOCS=on: Build and/or install documentation FAM=on: File Alteration Monitor GPGME=off: GpgME support LDAP=on: LDAP client MANDOC=off: Build manpages from DOCBOOK templates PROFILE=on: Profiling data PYTHON3=on: Python 3.x bindings or support QUOTAS=on: Disk quota support SPOTLIGHT=off: Spotlight server-side search support SYSLOG=on: Syslog logging support UTMP=on: UTMP accounting ====> VFS modules FRUIT=on: MacOSX and TimeMachine support GLUSTERFS=off: GlusterFS support ====> GSSAPI Security API support: you have to select exactly one of them GSSAPI_BUILTIN=on: GSSAPI support via bundled Heimdal GSSAPI_MIT=off: GSSAPI support via security/krb5 ====> Zero configuration networking: you have to select exactly one of them ZEROCONF_NONE=off: Zeroconf support is absent AVAHI=on: Zeroconf support via Avahi MDNSRESPONDER=off: Zeroconf support via mDNSResponder ===> Use 'make config' to modify these settings
(In reply to Jordan Ostreff from comment #7) Disabling AD_DC results in successful build in my environment. Would you please confirm on your machine which can build samba?
(In reply to Jekyll Chen from comment #11) Here is the result from the machine which build samba fine. joker:/usr/ports/net/samba416 # make showconfig ===> The following configuration options are available for samba416-4.16.11: ADS=on: Active Directory client(implies LDAP) AD_DC=on: Active Directory Domain Controller(implies PYTHON3) CLUSTER=off: Clustering support CUPS=off: CUPS printing system support DOCS=on: Build and/or install documentation FAM=on: File Alteration Monitor GPGME=off: GpgME support LDAP=on: LDAP client MANDOC=off: Build manpages from DOCBOOK templates PROFILE=on: Profiling data PYTHON3=on: Python 3.x bindings or support QUOTAS=on: Disk quota support SPOTLIGHT=off: Spotlight server-side search support SYSLOG=on: Syslog logging support UTMP=on: UTMP accounting ====> VFS modules FRUIT=on: MacOSX and TimeMachine support GLUSTERFS=off: GlusterFS support ====> GSSAPI Security API support: you have to select exactly one of them GSSAPI_BUILTIN=on: GSSAPI support via bundled Heimdal GSSAPI_MIT=off: GSSAPI support via security/krb5 ====> Zero configuration networking: you have to select exactly one of them ZEROCONF_NONE=off: Zeroconf support is absent AVAHI=on: Zeroconf support via Avahi MDNSRESPONDER=off: Zeroconf support via mDNSResponder ===> Use 'make config' to modify these settings