Package: src:orthanc-mysql
Version: 5.0+dfsg-3
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-mysql, 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 --sourcedirectory=MySQL -- -DCMAKE_SKIP_RPATH:BOOL=ON 
-DSTATIC_BUILD:BOOL=OFF -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE:BOOL=ON 
-DORTHANC_FRAMEWORK_SOURCE=system -DDEB_VERSION=5.0+dfsg-3 
-DORTHANC_FRAMEWORK_USE_SHARED:BOOL=OFF 
"-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES=boost_filesystem boost_iostreams 
boost_locale boost_regex boost_thread jsoncpp pugixml uuid curl dcmdata dcmjpls 
dcmjpeg dcmimage ofstd" -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 "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DCMAKE_SKIP_RPATH:BOOL=ON -DSTATIC_BUILD:BOOL=OFF 
-DUSE_GOOGLE_TEST_DEBIAN_PACKAGE:BOOL=ON -DORTHANC_FRAMEWORK_SOURCE=system 
-DDEB_VERSION=5.0\+dfsg-3 -DORTHANC_FRAMEWORK_USE_SHARED:BOOL=OFF 
-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES="boost_filesystem boost_iostreams 
boost_locale boost_regex boost_thread jsoncpp pugixml uuid curl dcmdata dcmjpls 
dcmjpeg dcmimage ofstd" -DCMAKE_BUILD_TYPE=None ../MySQL
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0

[... snipped ...]

/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] Framework/Common/Dictionary.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Common/Dictionary.cpp:31:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 32%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/GenericFormatter.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ork/Common/GenericFormatter.cpp
[ 34%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/IResult.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] >>/Framework/Common/IResult.cpp
[ 35%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Common/StatementLocation.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] rk/Common/StatementLocation.cpp
[ 36%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Common/Utf8StringValue.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/Common/Utf8StringValue.cpp
[ 37%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/ImplicitTransaction.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] /Common/ImplicitTransaction.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Common/ImplicitTransaction.cpp:26:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 39%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLDatabase.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] amework/MySQL/MySQLDatabase.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLDatabase.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 40%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/InputFileValue.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ework/Common/InputFileValue.cpp
[ 41%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/Integer64Value.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ework/Common/Integer64Value.cpp
[ 43%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/NullValue.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] /Framework/Common/NullValue.cpp
[ 44%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/Query.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] IR>>/Framework/Common/Query.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Common/Query.cpp:25:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 45%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLParameters.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ework/MySQL/MySQLParameters.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLParameters.cpp:27:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 46%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLResult.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] Framework/MySQL/MySQLResult.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLResult.cpp:25:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 48%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLStatement.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] mework/MySQL/MySQLStatement.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLStatement.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 49%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLTransaction.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/MySQL/MySQLTransaction.cpp
[ 50%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/ResultBase.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] Framework/Common/ResultBase.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Common/ResultBase.cpp:31:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLTransaction.cpp:28:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 51%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/ResultFileValue.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/Common/ResultFileValue.cpp
[ 53%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV2.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ns/DatabaseBackendAdapterV2.cpp
[ 54%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/RetryDatabaseFactory.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] Common/RetryDatabaseFactory.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Common/RetryDatabaseFactory.cpp:25:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 56%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/StatementLocation.cpp.o
[ 56%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV3.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ns/DatabaseBackendAdapterV3.cpp
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] rk/Common/StatementLocation.cpp
[ 58%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Common/Utf8StringValue.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/Common/Utf8StringValue.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV3.cpp:30:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 59%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLDatabase.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] amework/MySQL/MySQLDatabase.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLDatabase.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 60%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV4.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ns/DatabaseBackendAdapterV4.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV4.cpp:32:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 62%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLParameters.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ework/MySQL/MySQLParameters.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLParameters.cpp:27:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 63%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLResult.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] Framework/MySQL/MySQLResult.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLResult.cpp:25:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 64%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLStatement.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] mework/MySQL/MySQLStatement.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLStatement.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 65%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Plugins/IndexBackend.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] mework/Plugins/IndexBackend.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Plugins/IndexBackend.cpp:34:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 67%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/MySQL/MySQLTransaction.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/MySQL/MySQLTransaction.cpp
In file included from /<<PKGBUILDDIR>>/Framework/MySQL/MySQLTransaction.cpp:28:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 68%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV2.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ns/DatabaseBackendAdapterV2.cpp
[ 69%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Plugins/IndexConnectionsPool.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] lugins/IndexConnectionsPool.cpp
[ 70%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV3.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ns/DatabaseBackendAdapterV3.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV3.cpp:30:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 72%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/Plugins/StorageBackend.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
/<<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:3631:56: note: declared here
 3631 |   ORTHANC_PLUGIN_DEPRECATED ORTHANC_PLUGIN_INLINE void 
OrthancPluginRegisterStorageArea(
      |                                                        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 73%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV4.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ns/DatabaseBackendAdapterV4.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Plugins/DatabaseBackendAdapterV4.cpp:32:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 74%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/DatabaseConstraint.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] atabases/DatabaseConstraint.cpp
[ 75%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] tabases/ISqlLookupFormatter.cpp
[ 77%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/IndexBackend.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] mework/Plugins/IndexBackend.cpp
[ 78%] Building CXX object 
CMakeFiles/UnitTests.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ins/OrthancPluginCppWrapper.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Plugins/IndexBackend.cpp:34:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 79%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/IndexConnectionsPool.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] lugins/IndexConnectionsPool.cpp
[ 81%] Building CXX object 
CMakeFiles/UnitTests.dir/usr/src/gtest/src/gtest-all.cc.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] /usr/src/gtest/src/gtest-all.cc
[ 82%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] work/Plugins/StorageBackend.cpp
In file included from /<<PKGBUILDDIR>>/Framework/Plugins/StorageBackend.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
/<<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:3631:56: note: declared here
 3631 |   ORTHANC_PLUGIN_DEPRECATED ORTHANC_PLUGIN_INLINE void 
OrthancPluginRegisterStorageArea(
      |                                                        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 83%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/DatabaseConstraint.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] atabases/DatabaseConstraint.cpp
[ 84%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] tabases/ISqlLookupFormatter.cpp
[ 86%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] ins/OrthancPluginCppWrapper.cpp
[ 87%] Building CXX object 
CMakeFiles/UnitTests.dir/AUTOGENERATED/EmbeddedResources.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] GENERATED/EmbeddedResources.cpp
[ 88%] Building CXX object 
CMakeFiles/UnitTests.dir/AUTOGENERATED/OrthancDatabasePlugin.pb.cc.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] TED/OrthancDatabasePlugin.pb.cc
[ 89%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/<<PKGBUILDDIR>>/Framework/Plugins/PluginInitialization.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] lugins/PluginInitialization.cpp
In file included from 
/<<PKGBUILDDIR>>/Framework/Plugins/PluginInitialization.cpp:28:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
/<<PKGBUILDDIR>>/Framework/Plugins/PluginInitialization.cpp: In function 
‘bool OrthancDatabases::InitializePlugin(OrthancPluginContext*, const 
std::string&, bool)’:
/<<PKGBUILDDIR>>/Framework/Plugins/PluginInitialization.cpp:153:32: warning: 
‘void OrthancPluginSetDescription(OrthancPluginContext*, const char*)’ is 
deprecated [-Wdeprecated-declarations]
  153 |     OrthancPluginSetDescription(context, description.c_str());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from 
/<<PKGBUILDDIR>>/Framework/Plugins/PluginInitialization.h:25,
                 from 
/<<PKGBUILDDIR>>/Framework/Plugins/PluginInitialization.cpp:23:
/usr/include/orthanc/OrthancCPlugin.h:3862:56: note: declared here
 3862 |   ORTHANC_PLUGIN_DEPRECATED ORTHANC_PLUGIN_INLINE void 
OrthancPluginSetDescription(
      |                                                        
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 91%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/Plugins/MySQLIndex.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] >>/MySQL/Plugins/MySQLIndex.cpp
In file included from /<<PKGBUILDDIR>>/MySQL/Plugins/MySQLIndex.cpp:33:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 92%] Building CXX object 
CMakeFiles/FrameworkForPlugins.dir/Plugins/MySQLStorageArea.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] QL/Plugins/MySQLStorageArea.cpp
In file included from /<<PKGBUILDDIR>>/MySQL/Plugins/MySQLStorageArea.cpp:31:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 93%] Linking CXX static library libFrameworkForPlugins.a
/usr/bin/cmake -P CMakeFiles/FrameworkForPlugins.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/FrameworkForPlugins.dir/link.txt 
--verbose=1
/usr/bin/ar qc libFrameworkForPlugins.a CMakeFiles/Framework 
[too-long-redacted] /Plugins/MySQLStorageArea.cpp.o
/usr/bin/ranlib libFrameworkForPlugins.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
[ 93%] Built target FrameworkForPlugins
make  -f CMakeFiles/OrthancMySQLIndex.dir/build.make 
CMakeFiles/OrthancMySQLIndex.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
cd /<<PKGBUILDDIR>>/Build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" 
/<<PKGBUILDDIR>>/MySQL /<<PKGBUILDDIR>>/MySQL /<<PKGBUILDDIR>>/Build 
/<<PKGBUILDDIR>>/Build 
/<<PKGBUILDDIR>>/Build/CMakeFiles/OrthancMySQLIndex.dir/DependInfo.cmake 
"--color=" OrthancMySQLIndex
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make  -f CMakeFiles/OrthancMySQLIndex.dir/build.make 
CMakeFiles/OrthancMySQLIndex.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
[ 94%] Building CXX object 
CMakeFiles/OrthancMySQLIndex.dir/Plugins/IndexPlugin.cpp.o
/usr/bin/c++ -DHAS_ORTHANC_EXCEPTION=1 -DORTHANC_BUILDING_SE 
[too-long-redacted] >/MySQL/Plugins/IndexPlugin.cpp
In file included from /<<PKGBUILDDIR>>/MySQL/Plugins/IndexPlugin.cpp:28:
/usr/include/orthanc-framework/Logging.h:179:6: warning: #warning Warning: 
Macro __ORTHANC_FILE__ is not defined, this will leak the full path of the 
source files in the binaries [-Wcpp]
  179 | #    warning Warning: Macro __ORTHANC_FILE__ is not defined, this will 
leak the full path of the source files in the binaries
      |      ^~~~~~~
[ 96%] Linking CXX shared library libOrthancMySQLIndex.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/OrthancMySQLIndex.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] pto.so -lprotobuf -lmysqlclient
make[3]: *** [CMakeFiles/OrthancMySQLIndex.dir/build.make:109: 
libOrthancMySQLIndex.so.5.0] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:199: CMakeFiles/OrthancMySQLIndex.dir/all] 
Error 2
make[2]: *** Waiting for unfinished jobs....
[ 97%] Linking CXX executable UnitTests
/usr/bin/cmake -E cmake_link_script CMakeFiles/UnitTests.dir/link.txt 
--verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fs 
[too-long-redacted] oolbox::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
test/src/gtest-all.cc.o" 
CMakeFiles/UnitTests.dir/AUTOGENERATED/EmbeddedResources.cpp.o 
CMakeFiles/UnitTests.dir/AUTOGENERATED/OrthancDatabasePlugin.pb.cc.o -o 
UnitTests  -lpthread -lrt -ldl -Wl,-Bstatic -lOrthancFramework -Wl,-Bdynamic 
-lboost_filesystem -lboost_iostreams -lboost_locale -lboost_regex 
-lboost_thread -ljsoncpp -lpugixml -luuid -lcurl -ldcmdata -ldcmjpls -ldcmjpeg 
-ldcmimage -lofstd /usr/lib/x86_64-linux-gnu/libssl.so 
/usr/lib/x86_64-linux-gnu/libcrypto.so -lprotobuf -lmysqlclient
make[3]: *** [CMakeFiles/UnitTests.dir/build.make:666: UnitTests] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:264: 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 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to