Bug 224177

Summary: science/orthanc: fails to build with boost 1.66
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: mp39590, rene
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (mp39590)
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224179
Bug Depends on:    
Bug Blocks: 223922    

Description Jan Beich freebsd_committer 2017-12-08 15:34:57 UTC
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/science/orthanc
[...]
UnitTestsSources/UnitTestsMain.cpp:689:4: error: Support your platform here
#  error Support your platform here
   ^

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/orthanc-1.3.0.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/orthanc-1.3.0.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/orthanc-1.3.0.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/orthanc-1.3.0.log
Comment 1 Jan Beich freebsd_committer 2017-12-08 15:41:31 UTC
Maybe check defined(__GLIBC__) as well, see

In file included from /usr/ports/science/orthanc/work/Orthanc-1.3.0/UnitTestsSources/UnitTestsMain.cpp:35:
In file included from /usr/ports/science/orthanc/work/Orthanc-1.3.0/UnitTestsSources/../Core/EnumerationDictionary.h:39:
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
Comment 2 Rene Ladan freebsd_committer 2018-06-07 00:38:55 UTC
Expired port removed.