As part of exp-run in bug 223922 this port was found to break on Boost update. If the issue won't disappear on its own by Boost release I plan to mark the port as BROKEN. Can you check with upstream maintainer or help with a fix? $ fetch -qo- 'https://reviews.freebsd.org/D13279?download=true' | patch -Efsp0 -d /usr/ports $ make all deinstall install clean -C/usr/ports/devel/boost-libs $ make -C/usr/ports/security/i2pd [...] In file included from daemon/Daemon.cpp:11: In file included from build/../libi2pd/Transports.h:15: In file included from build/../libi2pd/TransportSession.h:11: In file included from build/../libi2pd/I2NPProtocol.h:9: build/../libi2pd/I2PEndian.h:7:10: fatal error: 'endian.h' file not found #include <endian.h> ^~~~~~~~~~ http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/i2pd-2.16.0.log http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/i2pd-2.16.0.log http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/i2pd-2.16.0.log http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/i2pd-2.16.0.log
Maybe check defined(__GLIBC__) as well, see In file included from daemon/I2PControl.cpp:5: In file included from /usr/local/include/boost/lexical_cast.hpp:32: In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:42: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:54: In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63: In file included from /usr/local/include/boost/lexical_cast/detail/inf_nan.hpp:34: In file included from /usr/local/include/boost/math/special_functions/sign.hpp:16: In file included from /usr/local/include/boost/math/tools/config.hpp:14: In file included from /usr/local/include/boost/predef.h:17: In file included from /usr/local/include/boost/predef/os.h:18: In file included from /usr/local/include/boost/predef/os/bsd.h:52: In file included from /usr/local/include/boost/predef/os/bsd/bsdi.h:11: In file included from /usr/local/include/boost/predef/os/bsd.h:95: In file included from /usr/local/include/boost/predef/os/bsd/dragonfly.h:11: In file included from /usr/local/include/boost/predef/os/bsd.h:96: In file included from /usr/local/include/boost/predef/os/bsd/free.h:37: /usr/include/sys/param.h:77:2: error: __FreeBSD_kernel__ bootlegging test
A commit references this bug: Author: amdmi3 Date: Tue Dec 12 15:50:51 UTC 2017 New revision: 456169 URL: https://svnweb.freebsd.org/changeset/ports/456169 Log: - Fix build with boost 1.66 PR: 224179 Reported by: jbeich@FreeBSD.org Changes: head/security/i2pd/files/patch-daemon_I2PControl.cpp head/security/i2pd/files/patch-libi2pd_I2PEndian.h head/security/i2pd/files/patch-libi2pd_Reseed.cpp