Compiling with gcc 15

Sébastien Jodogne <[email protected]> Mon, 11 Aug 2025 12:03:56 +0200
Newsgroups gmane.linux.debian.devel.medical
Message-ID <CA+Rg+Vy6asKZR5Xmdof7Pmh7kd+1fHdEXrJhzvn0EhXZAtcdUQ@mail.gmail.com>
Dear all,

I have received a bug report seemingly related to the compatibility of
orthanc-mysql with gcc 15 in Debian trixie/sid [1].

However, I am unable to reproduce this error on Debian unstable by
manualling compiling the package from source using the following
invocation of CMake (same invocation as in the "debian/rules" file):

$ CC=gcc-15 CXX=g++-15 cmake ../MySQL/ [...]

Please could someone explain me how to reproduce this issue?

I guess this results from different versions of the dependencies
installed on my system, so I should provide the gcc/g++ version to
"pbuilder" or "gbp buildpackage", but I cannot find how to do this.

Thanks in advance!
Sébastien-

PS: The same bug was introduced against orthanc-postgresql [2].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110761
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110760