sysutils/dar 2.4.12 fails to build on 9.1-RELEASE with the following error: Making all in check g++ -DHAVE_CONFIG_H -I. -I../.. -I../libdar -DDAR_LOCALEDIR=\"/usr/local/share/locale\" -DDAR_SYS_DIR=\"/usr/local/etc\" -I/usr/loc al/include -O2 -pipe -fno-strict-aliasing -MT all_features.o -MD -MP -MF .deps/all_features.Tpo -c -o all_features.o all_features.cpp mv -f .deps/all_features.Tpo .deps/all_features.Po /bin/sh /usr/local/bin/libtool --tag=CXX --mode=link g++ -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -lintl -L/usr/local/lib -liconv -R/usr/local/lib -L/usr/local/lib -o all_features all_features.o -L../libdar -ldar -lexecinfo -pthread -lbz2 -lz -lelf libtool: link: g++ -O2 -pipe -fno-strict-aliasing -o all_features all_features.o -pthread -L/usr/local/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -L../libdar /usr/local/lib/libdar.so -lpthread -lcrypto -lexecinfo -lbz2 -lz -lelf -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib all_features.o: In function `main': all_features.cpp:(.text+0x229): undefined reference to `libdar::get_version(unsigned int&, unsigned int&, unsigned int&, bool)' all_features.cpp:(.text+0x2ff): undefined reference to `libdar::compile_time::libz()' all_features.cpp:(.text+0x392): undefined reference to `libdar::compile_time::libbz2()' all_features.cpp:(.text+0x3a1): undefined reference to `libdar::compile_time::liblzo()' all_features.cpp:(.text+0x4ba): undefined reference to `libdar::compile_time::libgcrypt()' all_features.cpp:(.text+0x6e1): undefined reference to `libdar::close_and_clean()' all_features.cpp:(.text+0x7da): undefined reference to `libdar::close_and_clean()' *** [all_features] Error code 1 1 error *** [all-recursive] Error code 1 1 error *** [all-recursive] Error code 1 1 error *** [all] Error code 2 1 error ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/dar. *** [build] Error code 1 Stop in /usr/ports/sysutils/dar. ===>>> make failed for sysutils/dar ===>>> Aborting update ===>>> Update for sysutils/dar failed ===>>> Aborting update ===>>> Killing background jobs Terminated
Ditto on 9-Stable
As a workaround, "rm /usr/local/lib/libdar*" and the build will then complete. Graham
dar builds fine everywhere now: http://portsmon.freebsd.org/portoverview.py?category=sysutils&portname=dar