[Debian-med-packaging] Bug#1110760: src:orthanc-postgresql ftbfs with GCC 15
Matthias Klose
doko at debian.org
Sun Aug 10 22:43:06 BST 2025
Package: src:orthanc-postgresql
Version: 5.0+dfsg-3
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
this looks related to GCC 15:
[...]
/<<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/FrameworkForPlugins.dir/build.make:535:
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
[...]
/<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp: In static member
function ‘static void
OrthancDatabases::StorageBackend::Register(OrthancPluginContext*,
OrthancDatabases::StorageBackend*)’:
/<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp:694:41: warning:
‘void OrthancPluginRegisterStorageArea(OrthancPluginContext*,
OrthancPluginStorageCreate, OrthancPluginStorageRead,
OrthancPluginStorageRemove)’ is deprecated [-Wdeprecated-declarations]
694 | OrthancPluginRegisterStorageArea(context_,
StorageCreate, StorageRead, StorageRemove);
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/orthanc/OrthancCDatabasePlugin.h:31,
from
/<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.h:27,
from
/<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp:23:
/usr/include/orthanc/OrthancCPlugin.h:3328:56: note: declared here
3328 | ORTHANC_PLUGIN_DEPRECATED ORTHANC_PLUGIN_INLINE void
OrthancPluginRegisterStorageArea(
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<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:563:
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
More information about the Debian-med-packaging
mailing list