[Debian-med-packaging] Bug#1129826: orthanc-neuro: FTBFS with boost 1.90
Santiago Vila
sanvila at debian.org
Thu Mar 5 23:21:19 GMT 2026
Package: src:orthanc-neuro
Version: 1.1+dfsg-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202603/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:orthanc-neuro, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --builddirectory=Build
dh_auto_clean -O--builddirectory=Build
dh_autoreconf_clean -O--builddirectory=Build
dh_clean -O--builddirectory=Build
debian/rules binary
dh binary --builddirectory=Build
dh_update_autotools_config -O--builddirectory=Build
dh_autoreconf -O--builddirectory=Build
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCMAKE_SKIP_RPATH:BOOL=ON -DSTATIC_BUILD:BOOL=OFF -DORTHANC_FRAMEWORK_SOURCE=system -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE:BOOL=ON -DORTHANC_FRAMEWORK_USE_SHARED:BOOL=OFF "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES=dcmdata dcmjpls dcmimage dcmjpeg ofstd boost_filesystem boost_iostreams boost_locale boost_regex boost_thread pugixml uuid jsoncpp png jpeg z" -DCMAKE_BUILD_TYPE=None
cd Build && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_SKIP_RPATH:BOOL=ON -DSTATIC_BUILD:BOOL=OFF -DORTHANC_FRAMEWORK_SOURCE=system -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE:BOOL=ON -DORTHANC_FRAMEWORK_USE_SHARED:BOOL=OFF -DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES="dcmdata dcmjpls dcmimage dcmjpeg ofstd boost_filesystem boost_iostreams boost_locale boost_regex boost_thread pugixml uuid jsoncpp png jpeg z" -DCMAKE_BUILD_TYPE=None ..
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3 (found version "3.13.12") found components: Interpreter
JsonCpp include dir: /usr/include/jsoncpp
-- Looking for C++ include /usr/include/jsoncpp/json/reader.h
-- Looking for C++ include /usr/include/jsoncpp/json/reader.h - found
Orthanc framework include dir: /usr/include/orthanc-framework
Path to the Debian Google Test sources: /usr/src/gtest
Path to the Debian Google Test includes: /usr/include/gtest
-- Looking for /usr/include/nifti/nifti1.h
-- Looking for /usr/include/nifti/nifti1.h - found
-- Looking for C++ include orthanc/OrthancCPlugin.h
-- Looking for C++ include orthanc/OrthancCPlugin.h - found
Setting the version of the library to 1.1
-- Configuring done (0.9s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/Build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -O--builddirectory=Build
cd Build && make -j2 INSTALL="install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/Build'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/Build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/Build/CMakeFiles /<<PKGBUILDDIR>>/Build//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/Build'
make -f CMakeFiles/AutogeneratedTarget.dir/build.make CMakeFiles/AutogeneratedTarget.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
cd /<<PKGBUILDDIR>>/Build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build/CMakeFiles/AutogeneratedTarget.dir/DependInfo.cmake "--color=" AutogeneratedTarget
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make -f CMakeFiles/AutogeneratedTarget.dir/build.make CMakeFiles/AutogeneratedTarget.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
[ 3%] Generating AUTOGENERATED/EmbeddedResources.h, AUTOGENERATED/EmbeddedResources.cpp
/usr/bin/python3 /<<PKGBUILDDIR>>/Resources/Orthanc/CMake/EmbedResources.py /<<PKGBUILDDIR>>/Build/AUTOGENERATED/EmbeddedResources ORTHANC_EXPLORER /<<PKGBUILDDIR>>/Sources/Plugin/OrthancExplorer.js
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
[ 3%] Built target AutogeneratedTarget
make -f CMakeFiles/OrthancNeuro.dir/build.make CMakeFiles/OrthancNeuro.dir/depend
make -f CMakeFiles/UnitTests.dir/build.make CMakeFiles/UnitTests.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
cd /<<PKGBUILDDIR>>/Build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build/CMakeFiles/OrthancNeuro.dir/DependInfo.cmake "--color=" OrthancNeuro
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
cd /<<PKGBUILDDIR>>/Build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build/CMakeFiles/UnitTests.dir/DependInfo.cmake "--color=" UnitTests
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make -f CMakeFiles/UnitTests.dir/build.make CMakeFiles/UnitTests.dir/build
make -f CMakeFiles/OrthancNeuro.dir/build.make CMakeFiles/OrthancNeuro.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
[ 10%] Building CXX object CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/NiftiTests.cpp.o
[ 10%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Plugin/Plugin.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"Plugin.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Plugin/Plugin.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Plugin/Plugin.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Plugin/Plugin.cpp.o -c /<<PKGBUILDDIR>>/Sources/Plugin/Plugin.cpp
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"NiftiTests.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/NiftiTests.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/NiftiTests.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/NiftiTests.cpp.o -c /<<PKGBUILDDIR>>/Sources/UnitTestsSources/NiftiTests.cpp
[ 13%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Plugin/PluginFrameDecoder.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"PluginFrameDecoder.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Plugin/PluginFrameDecoder.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Plugin/PluginFrameDecoder.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Plugin/PluginFrameDecoder.cpp.o -c /<<PKGBUILDDIR>>/Sources/Plugin/PluginFrameDecoder.cpp
[ 17%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/BufferReader.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"BufferReader.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/BufferReader.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/BufferReader.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/BufferReader.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/BufferReader.cpp
[ 20%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSAHeader.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"CSAHeader.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSAHeader.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSAHeader.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSAHeader.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/CSAHeader.cpp
[ 24%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSATag.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"CSATag.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSATag.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSATag.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/CSATag.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/CSATag.cpp
[ 27%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/DicomInstancesCollection.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"DicomInstancesCollection.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/DicomInstancesCollection.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/DicomInstancesCollection.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/DicomInstancesCollection.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/DicomInstancesCollection.cpp
[ 31%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/IDicomFrameDecoder.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"IDicomFrameDecoder.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/IDicomFrameDecoder.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/IDicomFrameDecoder.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/IDicomFrameDecoder.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/IDicomFrameDecoder.cpp
[ 34%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/InputDicomInstance.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"InputDicomInstance.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/InputDicomInstance.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/InputDicomInstance.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/InputDicomInstance.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/InputDicomInstance.cpp
[ 37%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/NeuroToolbox.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"NeuroToolbox.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/NeuroToolbox.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/NeuroToolbox.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/NeuroToolbox.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/NeuroToolbox.cpp
[ 41%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/NiftiWriter.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"NiftiWriter.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/NiftiWriter.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/NiftiWriter.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/NiftiWriter.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/NiftiWriter.cpp
[ 44%] Building CXX object CMakeFiles/OrthancNeuro.dir/Sources/Framework/Slice.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"Slice.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/Sources/Framework/Slice.cpp.o -MF CMakeFiles/OrthancNeuro.dir/Sources/Framework/Slice.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/Sources/Framework/Slice.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/Slice.cpp
[ 48%] Building CXX object CMakeFiles/OrthancNeuro.dir/AUTOGENERATED/EmbeddedResources.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -DOrthancNeuro_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"EmbeddedResources.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -fPIC -MD -MT CMakeFiles/OrthancNeuro.dir/AUTOGENERATED/EmbeddedResources.cpp.o -MF CMakeFiles/OrthancNeuro.dir/AUTOGENERATED/EmbeddedResources.cpp.o.d -o CMakeFiles/OrthancNeuro.dir/AUTOGENERATED/EmbeddedResources.cpp.o -c /<<PKGBUILDDIR>>/Build/AUTOGENERATED/EmbeddedResources.cpp
[ 51%] Building CXX object CMakeFiles/OrthancNeuro.dir/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERS [too-long-redacted] ins/OrthancPluginCppWrapper.cpp
[ 55%] Linking CXX shared library libOrthancNeuro.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/OrthancNeuro.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../lib/libOrthancFramework.a(SystemToolbox.cpp.o): in function `Orthanc::SystemToolbox::GetPathToExecutable()':
(.text+0x1670): undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../lib/libOrthancFramework.a(SystemToolbox.cpp.o): in function `Orthanc::SystemToolbox::GetDirectoryOfExecutable()':
(.text+0x17a6): undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>> [too-long-redacted] lpng -ljpeg -lz -lniftiio -lznz
make[3]: *** [CMakeFiles/OrthancNeuro.dir/build.make:296: libOrthancNeuro.so.1.1] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:126: CMakeFiles/OrthancNeuro.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 58%] Building CXX object CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/UnitTestsMain.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"UnitTestsMain.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/UnitTestsMain.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/UnitTestsMain.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/UnitTestsSources/UnitTestsMain.cpp.o -c /<<PKGBUILDDIR>>/Sources/UnitTestsSources/UnitTestsMain.cpp
/<<PKGBUILDDIR>>/Sources/UnitTestsSources/UnitTestsMain.cpp: In member function âvirtual void Dcmtk_DISABLED_DumpCSAHeader_Test::TestBody()â:
/<<PKGBUILDDIR>>/Sources/UnitTestsSources/UnitTestsMain.cpp:46:20: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_tâ {aka âlong unsigned intâ} [-Wformat=]
46 | printf("[%s] (%d) = ", it->c_str(), tag.GetSize());
| ~^ ~~~~~~~~~~~~~
| | |
| int size_t {aka long unsigned int}
| %ld
[ 62%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/BufferReader.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"BufferReader.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/BufferReader.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/BufferReader.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/BufferReader.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/BufferReader.cpp
[ 65%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/CSAHeader.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"CSAHeader.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/CSAHeader.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/CSAHeader.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/CSAHeader.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/CSAHeader.cpp
[ 68%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/CSATag.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"CSATag.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/CSATag.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/CSATag.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/CSATag.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/CSATag.cpp
[ 72%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/DicomInstancesCollection.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"DicomInstancesCollection.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/DicomInstancesCollection.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/DicomInstancesCollection.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/DicomInstancesCollection.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/DicomInstancesCollection.cpp
[ 75%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/IDicomFrameDecoder.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"IDicomFrameDecoder.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/IDicomFrameDecoder.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/IDicomFrameDecoder.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/IDicomFrameDecoder.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/IDicomFrameDecoder.cpp
[ 79%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/InputDicomInstance.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"InputDicomInstance.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/InputDicomInstance.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/InputDicomInstance.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/InputDicomInstance.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/InputDicomInstance.cpp
[ 82%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/NeuroToolbox.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"NeuroToolbox.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/NeuroToolbox.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/NeuroToolbox.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/NeuroToolbox.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/NeuroToolbox.cpp
[ 86%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/NiftiWriter.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"NiftiWriter.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/NiftiWriter.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/NiftiWriter.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/NiftiWriter.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/NiftiWriter.cpp
[ 89%] Building CXX object CMakeFiles/UnitTests.dir/Sources/Framework/Slice.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"Slice.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/Sources/Framework/Slice.cpp.o -MF CMakeFiles/UnitTests.dir/Sources/Framework/Slice.cpp.o.d -o CMakeFiles/UnitTests.dir/Sources/Framework/Slice.cpp.o -c /<<PKGBUILDDIR>>/Sources/Framework/Slice.cpp
[ 93%] Building CXX object CMakeFiles/UnitTests.dir/AUTOGENERATED/EmbeddedResources.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"EmbeddedResources.cpp\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/AUTOGENERATED/EmbeddedResources.cpp.o -MF CMakeFiles/UnitTests.dir/AUTOGENERATED/EmbeddedResources.cpp.o.d -o CMakeFiles/UnitTests.dir/AUTOGENERATED/EmbeddedResources.cpp.o -c /<<PKGBUILDDIR>>/Build/AUTOGENERATED/EmbeddedResources.cpp
[ 96%] Building CXX object CMakeFiles/UnitTests.dir/usr/src/gtest/src/gtest-all.cc.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_PLUGIN_VERSION=\"1.1\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D__ORTHANC_FILE__=\"gtest-all.cc\" -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED -I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest -I/usr/include/nifti -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-long-long -Wno-variadic-macros -MD -MT CMakeFiles/UnitTests.dir/usr/src/gtest/src/gtest-all.cc.o -MF CMakeFiles/UnitTests.dir/usr/src/gtest/src/gtest-all.cc.o.d -o CMakeFiles/UnitTests.dir/usr/src/gtest/src/gtest-all.cc.o -c /usr/src/gtest/src/gtest-all.cc
[100%] Linking CXX executable UnitTests
/usr/bin/cmake -E cmake_link_script CMakeFiles/UnitTests.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../lib/libOrthancFramework.a(SystemToolbox.cpp.o): in function `Orthanc::SystemToolbox::GetPathToExecutable()':
(.text+0x1670): undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../lib/libOrthancFramework.a(SystemToolbox.cpp.o): in function `Orthanc::SystemToolbox::GetDirectoryOfExecutable()':
(.text+0x17a6): undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fs [too-long-redacted] lpng -ljpeg -lz -lniftiio -lznz
make[3]: *** [CMakeFiles/UnitTests.dir/build.make:296: UnitTests] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:158: CMakeFiles/UnitTests.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/Build'
dh_auto_build: error: cd Build && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debian-med-packaging
mailing list