I cannot build databases/akonadi on my 9-STABLE system. [ 8%] Linking CXX executable ../bin/akonadi_agent_server cd /usr/ports/databases/akonadi/work/.build/agentserver && /usr/local/bin/cmake-E cmake_link_script CMakeFiles/akonadi_agent_server.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -fno-strict-aliasing -pipe -march=athlon-mp -fstack-protector -std=c++0x -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wall-Wextra -Wpointer-arith -Wformat-security -fno-common -fexceptions -O2 -fno-strict-aliasing -pipe -march=athlon-mp -fstack-protector -fstack-protector CMakeFiles/akonadi_agent_server.dir/agentpluginloader.cpp.o CMakeFiles/akonadi_agent_server.dir/agentserver.cpp.o CMakeFiles/akonadi_agent_server.dir/agentthread.cpp.o CMakeFiles/akonadi_agent_server.dir/main.cpp.o CMakeFiles/akonadi_agent_server.dir/akonadi_agent_server_automoc.cpp.o -o ../bin/akonadi_agent_server -Wl,-rpath,/usr/local/lib/qt4:/usr/ports/databases/akonadi/work/.build/lib:/usr/local/lib: ../lib/libakonadi_shared.a /usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQtDBus.so /usr/local/lib/libexecinfo.so /usr/local/lib/qt4/libQtCore.so /usr/local/lib/qt4/libQtDBus.so ../lib/libakonadiprotocolinternals.so.1.13.0 /usr/local/lib/libboost_program_options.so /usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so /usr/local/lib/libboost_program_options.so: undefined reference to `__stack_chk_fail_local' clang++: error: linker command failed with exit code 1 (use -v to see invocation) *** [bin/akonadi_agent_server] Error code 1 [...] Other information about my system: # uname -a FreeBSD myhost 9.3-STABLE FreeBSD 9.3-STABLE #180 r311768M: Mon Jan 9 14:18:16 CET 2017 root@myhost:/usr/obj/usr/src/sys/GENERIC i386 # svn info /usr/ports | grep Revision Revision: 431071 # pkg info | grep boost boost-jam-1.63.0 Build tool from the boost.org boost-libs-1.63.0_1 Free portable C++ libraries (without Boost.Python) # cat /etc/make.conf WITH_PKGNG=yes CPUTYPE?=athlon64 CFLAGS= -O2 -fno-strict-aliasing -pipe COPTFLAGS= -O -pipe BOOTWAIT=2000 SVN_UPDATE=yes DOC_LANG= en_US.ISO8859-1 LOCALIZED_LANG=it WITH_WIDE_CHARS=yes QT4_OPTIONS= CUPS WITH_GALLIUM=yes PORTS_MODULES=emulators/virtualbox-ose-kmod DEFAULT_VERSIONS+=linux=c6 DEFAULT_VERSIONS+=ssl=openssl
Hi there You should move to a supported version of FreeBSD [1] mfg Tobias [1] https://lists.freebsd.org/pipermail/freebsd-announce/2017-January/001779.html
Whoops... you are right... I totally forgot about the EOL. New Year's resolution: upgrade my system! I apologize for the noise. I leave to you the decision about how to close this bug.
According to ports r327697 GCC + i386 is broken with -fstack-protector, so requires a workaround which was removed in ports r430441. If you don't have time to upgrade atm try staying on RELEASE_9_EOL tag (aka ports r430140). The build doesn't fail early because maintaining such a conditional still requires extra effort. The rationale is lost in the following thread: https://lists.freebsd.org/pipermail/freebsd-ports/2014-June/092980.html