[Debian-med-packaging] Bug#1110761: orthanc-mysql ftbfs with GCC 15
Matthias Klose
doko at debian.org
Sun Aug 10 22:43:09 BST 2025
Package: src:orthanc-mysql
Version: 5.0+dfsg-1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
this looks related to GCC 15:
[...]
[ 79%] Building CXX object
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1
-DORTHANC_BUILDING_SERVER_LIBRARY=0 -DORTHANC_ENABLE_MYSQL=1
-DORTHANC_ENABLE_ODBC=0 -DORTHANC_ENABLE_PLUGINS=1
-DORTHANC_ENABLE_POSTGRESQL=0 -DORTHANC_OPTIMAL_VERSION_MAJOR=1
-DORTHANC_OPTIMAL_VERSION_MINOR=12 -DORTHANC_OPTIMAL_VERSION_REVISION=0
-DORTHANC_PLUGIN_VERSION=\"5.0\" -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE=1 -I/<<PKGBUILDDIR>>/Build/AUTOGENERATED
-I/usr/include/jsoncpp -I/usr/include/orthanc-framework -I/usr/src/gtest
-I/usr/include/mysql -g -O2 -fno-omit-frame-pointer
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/orthanc-mysql-5.0+dfsg-1build8
-DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=3 -Wall -Wno-long-long
-Wno-variadic-macros -DORTHANC_ENABLE_LOGGING_PLUGIN=0 -MD -MT
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o
-MF
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o.d
-o
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o
-c /<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp
/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp: In
static member function ‘static void
Orthanc::ISqlLookupFormatter::Apply(std::string&,
Orthanc::ISqlLookupFormatter&, const
std::vector<Orthanc::DatabaseConstraint>&, Orthanc::ResourceType, const
std::set<std::__cxx11::basic_string<char> >&, Orthanc::LabelsConstraint,
size_t)’:
/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp:314:5:
error: ‘assert’ was not declared in this scope
314 | assert(ResourceType_Patient < ResourceType_Study &&
| ^~~~~~
/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp:43:1:
note: ‘assert’ is defined in header ‘<cassert>’; this is probably
fixable by adding ‘#include <cassert>’
42 | #include <list>
+++ |+#include <cassert>
43 |
make[3]: *** [CMakeFiles/UnitTests.dir/build.make:533:
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:264: CMakeFiles/UnitTests.dir/all]
Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:166:
CMakeFiles/FrameworkForPlugins.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 -j8 returned exit code 2
More information about the Debian-med-packaging
mailing list