Bug#1097199: libinstpatch: ftbfs with GCC-15
Package: src:libinstpatch
Version: 1.1.6-1
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libinstpatch_1.1.6-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html
[...]
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchContainer_notify.c:870:24: note: in expansion of macro ‘G_STRLOC’
870 | g_critical(G_STRLOC ": Failed to find %s container handler with criteria %p:%p:%p:%p",
| ^~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:892:25: warning: format ‘%p’ expects argument of type ‘void *’, but argument 7 has type ‘IpatchContainerCallback’ {aka ‘void (*)(struct _IpatchContainer *, struct _IpatchItem *, void *)’} [-Wformat=]
892 | #define G_STRLOC __FILE__ ":" G_STRINGIFY (__LINE__)
| ^~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:361:32: note: in definition of macro ‘g_critical’
361 | __VA_ARGS__)
| ^~~~~~~~~~~
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchContainer_notify.c:870:24: note: in expansion of macro ‘G_STRLOC’
870 | g_critical(G_STRLOC ": Failed to find %s container handler with criteria %p:%p:%p:%p",
| ^~~~~~~~
[ 12%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchConvert_SLI.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchConvert_SLI.c.o -MF CMakeFiles/libinstpatch.dir/IpatchConvert_SLI.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchConvert_SLI.
c.o -c /build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchConvert_SLI.c
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchConvert_Gig.c:152:34: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
152 | CONVERTER_CLASS_INIT(file_to_gig);
| ^
[ 13%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLS2.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLS2.c.o -c /build/reprodu
cible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2.c
[ 15%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Info.c.o
[ 15%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Conn.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Conn.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLS2Conn.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLS2Conn.c.o -c /b
uild/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Conn.c
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Info.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLS2Info.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLS2Info.c.o -c /b
uild/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Info.c
[ 16%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Inst.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Inst.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLS2Inst.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLS2Inst.c.o -c /b
uild/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Inst.c
[ 17%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Region.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Region.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLS2Region.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLS2Region.c.o
-c /build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c
[ 18%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Sample.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Sample.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLS2Sample.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLS2Sample.c.o
-c /build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Sample.c
[ 19%] Building C object libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLSFile.c.o
cd /build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch && /usr/bin/cc -DGLIB_DISABLE_DEPRECATION_WARNINGS -DHAVE_CONFIG_H -DLOCALEDIR=\"share/locale\" -Dlibinstpatch_EXPORTS -I/build/reproducible-path/libinstpatch-1.1.6 -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu -I/build/reproducible-path/libinstpatch-1.1.6/libinstpatch -I/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu/libinstpatch -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/opus -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libinstpatch-1.1.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLSFile.c.o -MF CMakeFiles/libinstpatch.dir/IpatchDLSFile.c.o.d -o CMakeFiles/libinstpatch.dir/IpatchDLSFile.c.o -c /buil
d/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLSFile.c
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c: In function ‘ipatch_dls2_region_get_property’:
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:439:14: error: two or more data types in declaration specifiers
439 | gboolean bool, retval = 0;
| ^~~~
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:439:18: error: expected identifier or ‘(’ before ‘,’ token
439 | gboolean bool, retval = 0;
| ^
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:492:14: error: expected identifier or ‘(’ before ‘=’ token
492 | bool = (ipatch_item_get_flags(IPATCH_ITEM(object))
| ^
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:494:36: error: expected expression before ‘bool’
494 | g_value_set_boolean(value, bool);
| ^~~~
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:498:14: error: expected identifier or ‘(’ before ‘=’ token
498 | bool = (ipatch_item_get_flags(IPATCH_ITEM(object))
| ^
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:500:36: error: expected expression before ‘bool’
500 | g_value_set_boolean(value, bool);
| ^~~~
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:504:14: error: expected identifier or ‘(’ before ‘=’ token
504 | bool = (ipatch_item_get_flags(IPATCH_ITEM(object))
| ^
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:506:36: error: expected expression before ‘bool’
506 | g_value_set_boolean(value, bool);
| ^~~~
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:547:17: error: ‘retval’ undeclared (first use in this function)
547 | retval = ipatch_dls2_sample_info_get_property(region->sample_info,
| ^~~~~~
/build/reproducible-path/libinstpatch-1.1.6/libinstpatch/IpatchDLS2Region.c:547:17: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libinstpatch/CMakeFiles/libinstpatch.dir/build.make:301: libinstpatch/CMakeFiles/libinstpatch.dir/IpatchDLS2Region.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:208: libinstpatch/CMakeFiles/libinstpatch.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libinstpatch-1.1.6/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: