The recent update of net/samba41 from version 4.1.17 to 4.1.18 fails with the below shown error message. [...] [3290/3736] Linking default/source4/heimdal_build/libkdc-samba4.so 07:38:07 runner cc default/source4/heimdal/kdc/default_config_16.o default/source4/heimdal/kdc/kerberos5_16.o default/source4/heimdal/kdc/krb5tgs_16.o default/source4/heimdal/kdc/pkinit_16.o default/source4/heimdal/kdc/log_16.o default/source4/heimdal/kdc/misc_16.o default/source4/heimdal/kdc/digest_16.o default/source4/heimdal/kdc/process_16.o default/source4/heimdal/kdc/windc_16.o default/source4/heimdal/kdc/kx509_16.o default/source4/heimdal/lib/asn1/asn1_digest_asn1_15.o default/source4/heimdal/lib/asn1/asn1_kx509_asn1_10.o -o /usr/ports/net/samba41/work/samba-4.1.18/bin/default/source4/heimdal_build/libkdc-samba4.so -L/usr/local/lib -fstack-protector -Wl,-no-undefined -Wl,--export-dynamic -pthread -Wl,--as-needed -shared -Wl,--version-script=/usr/ports/net/samba41/work/samba-4.1.18/source4/heimdal/kdc/version-script.map -Wl,-h,libkdc-samba4.so.2 -Wl,-rpath,/usr/ports/net/samba41/work/samba-4.1.18/bin/shared -Wl,-rpath,/usr/ports/net/samba41/work/samba-4.1.18/bin/shared/private -Ldefault/lib/replace -Ldefault/source4/heimdal_build -Wl,-Bdynamic -lkrb5-samba4 -lheimbase-samba4 -lroken-samba4 -lasn1-samba4 -lhcrypto-samba4 -lhdb-samba4 -lcom_err-samba4 -lreplace -lheimntlm-samba4 -lwind-samba4 -lhx509-samba4 -lutil -lrt -lexecinfo -lcrypt /usr/local/lib/libndr.so: undefined reference to `nt_errstr@SAMBA_4.1.17' /usr/local/lib/libsamba-util.so: undefined reference to `rep_memalign@SAMBA_4.1.17' /usr/local/lib/libndr.so: undefined reference to `win_errstr@SAMBA_4.1.17' /usr/local/lib/libndr-nbt.so: undefined reference to `ndr_push_dom_sid0@SAMBA_4.1.17' /usr/local/lib/libtevent-util.so: undefined reference to `ntstatus_to_werror@SAMBA_4.1.17' /usr/local/lib/libsamba-util.so: undefined reference to `rep_strtoull@SAMBA_4.1.17' /usr/local/lib/libsamba-hostconfig.so: undefined reference to `lp_find_server_role@SAMBA_4.1.17' /usr/local/lib/libsamba-hostconfig.so: undefined reference to `lp_find_security@SAMBA_4.1.17' /usr/local/lib/libndr-nbt.so: undefined reference to `ndr_size_dom_sid0@SAMBA_4.1.17' /usr/local/lib/libtevent-util.so: undefined reference to `map_nt_error_from_unix_common@SAMBA_4.1.17' /usr/local/lib/libndr-nbt.so: undefined reference to `ndr_pull_dom_sid0@SAMBA_4.1.17' /usr/local/lib/libndr-nbt.so: undefined reference to `ndr_print_dom_sid0@SAMBA_4.1.17' cc: error: linker command failed with exit code 1 (use -v to see invocation) Waf: Leaving directory `/usr/ports/net/samba41/work/samba-4.1.18/bin' Build failed: -> task failed (err #1): {task: cc_link popt_common_5.o,nmblookup_7.o -> nmblookup4} ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1
Hi! I see you keep posting those errors with almost every new version of the port, but whenever I ask for additional info I get nothing back. You shouldn't get such an error with the default system settings. Please, provide the content of /etc/make.conf and actual selection of the configuration options for the start. Somehow extra -L/usr/local/lib sneaks into the compilation line, we should find the source of it.
Created attachment 157193 [details] /etc/make.conf
here are /etc/make.conf and /etc/src.conf. I can not see where /usr/local/lib is slipped in an additional search path. /etc/src.conf: # CPUTYPE?= native # CFLAGS+= -O3 -pipe COPTFLAGS+= -O3 -pipe # CXXFLAGS+= -std=c++11 # WITH_CLANG_FULL= YES WITH_CLANG_EXTRAS= YES WITH_LLDB= YES # WITH_IDEA= YES # #WITH_BSD_GREP= YES # #WITH_OFED= YES WITH_NAND= YES #WITH_CTF= YES # WITH_SVN= YES # MALLOC_PRODUCTION= YES # #WITHOUT_DEBUG_FILES= YES # KERNCONF= AMGOHOM # # # FORCE_PKG_REGISTER= YES # PORTS_MODULES= PORTS_MODULES+= x11/nvidia-driver PORTS_MODULES+= emulators/virtualbox-ose-kmod
net/samba41 has been removed from ports with r415323. Maintainer, can this bug report be closed, overcome by events?
Can be closed.
Assign to person who closed.