Bug#882524:
Does it even make sense to compile on kFreeBSD? This package relies on the behavior of the thunderbolt module in the Linux kernel.
Bug#882524: thunderbolt-tools: FTBFS on kFreeBSD: _ZN5boost6system15system_categoryEv undefined
On 23/11/17 17:33, Aaron M. Ucko wrote: > Source: thunderbolt-tools > Version: 0.9.1-1 > Severity: important > Tags: upstream > Justification: fails to build from source > User: debian-...@lists.debian.org > Usertags: kfreebsd > > Builds of thunderbolt-tools for kfreebsd-* (admittedly not release > architectures) failed per the below excerpt from > https://buildd.debian.org/status/fetch.php?pkg=thunderbolt-tools&arch=kfreebsd-amd64&ver=0.9.1-1&stamp=1511269071&raw=0: > > /usr/bin/c++ -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2-Wl,-z,relro CMakeFiles/tbtacl-write.dir/write.cpp.o > -o tbtacl-write ../common/libcommon.a > /usr/lib/x86_64-kfreebsd-gnu/libboost_filesystem.so > /usr/bin/ld: CMakeFiles/tbtacl-write.dir/write.cpp.o: undefined reference > to symbol '_ZN5boost6system15system_categoryEv' > //usr/lib/x86_64-kfreebsd-gnu/libboost_system.so.1.62.0: error adding > symbols: DSO missing from command line > collect2: error: ld returned 1 exit status > > As the linker notes, linking directly against -lboost_system should help. > Moreover, IIRC, you can avoid this reference altogether by compiling with > -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED. > > Could you please take a look? I've been preparing 0.9.2 today and will incorporate these changes. Thanks Colin > > Thanks! >
Bug#882524: thunderbolt-tools: FTBFS on kFreeBSD: _ZN5boost6system15system_categoryEv undefined
Source: thunderbolt-tools Version: 0.9.1-1 Severity: important Tags: upstream Justification: fails to build from source User: debian-...@lists.debian.org Usertags: kfreebsd Builds of thunderbolt-tools for kfreebsd-* (admittedly not release architectures) failed per the below excerpt from https://buildd.debian.org/status/fetch.php?pkg=thunderbolt-tools&arch=kfreebsd-amd64&ver=0.9.1-1&stamp=1511269071&raw=0: /usr/bin/c++ -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2-Wl,-z,relro CMakeFiles/tbtacl-write.dir/write.cpp.o -o tbtacl-write ../common/libcommon.a /usr/lib/x86_64-kfreebsd-gnu/libboost_filesystem.so /usr/bin/ld: CMakeFiles/tbtacl-write.dir/write.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' //usr/lib/x86_64-kfreebsd-gnu/libboost_system.so.1.62.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status As the linker notes, linking directly against -lboost_system should help. Moreover, IIRC, you can avoid this reference altogether by compiling with -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED. Could you please take a look? Thanks! -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu