[Debian-med-packaging] Bug#1097286: libvistaio: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:34:18 GMT 2025


Package: src:libvistaio
Version: 1.2.19-3
Severity: important
Tags: sid forky
User: debian-gcc at 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/libvistaio_1.2.19-3_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

[...]
    CMAKE_FIND_USE_PACKAGE_REGISTRY
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu
   dh_auto_build
	cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/build/reproducible-path/libvistaio-1.2.19 -B/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/CMakeFiles /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
make  -f vistaio/CMakeFiles/vistaio.dir/build.make vistaio/CMakeFiles/vistaio.dir/depend
make[3]: Entering directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/libvistaio-1.2.19 /build/reproducible-path/libvistaio-1.2.19/vistaio /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio/CMakeFiles/vistaio.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
make  -f vistaio/CMakeFiles/vistaio.dir/build.make vistaio/CMakeFiles/vistaio.dir/build
make[3]: Entering directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
[  6%] Building C object vistaio/CMakeFiles/vistaio.dir/alloc.c.o
[  6%] Building C object vistaio/CMakeFiles/vistaio.dir/attr.c.o
[  9%] Building C object vistaio/CMakeFiles/vistaio.dir/dictionary.c.o
[ 15%] Building C object vistaio/CMakeFiles/vistaio.dir/edgesType.c.o
[ 15%] Building C object vistaio/CMakeFiles/vistaio.dir/edges.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/edges.c.o -MF CMakeFiles/vistaio.dir/edges.c.o.d -o CMakeFiles/vistaio.dir/edges.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/edges.c
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/alloc.c.o -MF CMakeFiles/vistaio.dir/alloc.c.o.d -o CMakeFiles/vistaio.dir/alloc.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/alloc.c
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/attr.c.o -MF CMakeFiles/vistaio.dir/attr.c.o.d -o CMakeFiles/vistaio.dir/attr.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/attr.c
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/dictionary.c.o -MF CMakeFiles/vistaio.dir/dictionary.c.o.d -o CMakeFiles/vistaio.dir/dictionary.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/dictionary.c
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/edgesType.c.o -MF CMakeFiles/vistaio.dir/edgesType.c.o.d -o CMakeFiles/vistaio.dir/edgesType.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/edgesType.c
[ 18%] Building C object vistaio/CMakeFiles/vistaio.dir/fileio.c.o
[ 21%] Building C object vistaio/CMakeFiles/vistaio.dir/graphType.c.o
[ 25%] Building C object vistaio/CMakeFiles/vistaio.dir/error.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/fileio.c.o -MF CMakeFiles/vistaio.dir/fileio.c.o.d -o CMakeFiles/vistaio.dir/fileio.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/fileio.c
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/graphType.c.o -MF CMakeFiles/vistaio.dir/graphType.c.o.d -o CMakeFiles/vistaio.dir/graphType.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/graphType.c
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/error.c.o -MF CMakeFiles/vistaio.dir/error.c.o.d -o CMakeFiles/vistaio.dir/error.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/error.c
[ 28%] Building C object vistaio/CMakeFiles/vistaio.dir/image.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/image.c.o -MF CMakeFiles/vistaio.dir/image.c.o.d -o CMakeFiles/vistaio.dir/image.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/image.c
[ 31%] Building C object vistaio/CMakeFiles/vistaio.dir/imageType.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/imageType.c.o -MF CMakeFiles/vistaio.dir/imageType.c.o.d -o CMakeFiles/vistaio.dir/imageType.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/imageType.c
[ 34%] Building C object vistaio/CMakeFiles/vistaio.dir/list.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/list.c.o -MF CMakeFiles/vistaio.dir/list.c.o.d -o CMakeFiles/vistaio.dir/list.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/list.c
[ 37%] Building C object vistaio/CMakeFiles/vistaio.dir/option.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/option.c.o -MF CMakeFiles/vistaio.dir/option.c.o.d -o CMakeFiles/vistaio.dir/option.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/option.c
[ 40%] Building C object vistaio/CMakeFiles/vistaio.dir/packData.c.o
cd /build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu/vistaio && /usr/bin/cc -D_DEFAULT_SOURCE=2 -Dvistaio_EXPORTS -I/build/reproducible-path/libvistaio-1.2.19 -I/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libvistaio-1.2.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT vistaio/CMakeFiles/vistaio.dir/packData.c.o -MF CMakeFiles/vistaio.dir/packData.c.o.d -o CMakeFiles/vistaio.dir/packData.c.o -c /build/reproducible-path/libvistaio-1.2.19/vistaio/packData.c
/build/reproducible-path/libvistaio-1.2.19/vistaio/list.c:311:6: error: conflicting types for ‘VistaIOListDestroy’; have ‘void(struct VistaIO_List *, void (*)(void))’
  311 | void VistaIOListDestroy (VistaIOList vlist, void (*item_free) ())
      |      ^~~~~~~~~~~~~~~~~~
In file included from /build/reproducible-path/libvistaio-1.2.19/vistaio/vistaio.h:24,
                 from /build/reproducible-path/libvistaio-1.2.19/vistaio/list.c:20:
/build/reproducible-path/libvistaio-1.2.19/vistaio/vista.h:1290:14: note: previous declaration of ‘VistaIOListDestroy’ with type ‘void(struct VistaIO_List *, void (*)(void *))’
 1290 |         void VistaIOListDestroy (VistaIOList vlist, void (*item_free)(VistaIOPointer));
      |              ^~~~~~~~~~~~~~~~~~
/build/reproducible-path/libvistaio-1.2.19/vistaio/list.c: In function ‘VistaIOListDestroy’:
/build/reproducible-path/libvistaio-1.2.19/vistaio/list.c:318:18: error: too many arguments to function ‘item_free’; expected 0, have 1
  318 |                 (*item_free) (free_me);
      |                 ~^~~~~~~~~~~  ~~~~~~~
/build/reproducible-path/libvistaio-1.2.19/vistaio/list.c: In function ‘VistaIOListSearch’:
/build/reproducible-path/libvistaio-1.2.19/vistaio/list.c:363:22: error: too many arguments to function ‘comp’; expected 0, have 2
  363 |                 if ((*comp) (vlist->current->item, comp_arg))
      |                     ~^~~~~~  ~~~~~~~~~~~~~~~~~~~~
make[3]: *** [vistaio/CMakeFiles/vistaio.dir/build.make:222: vistaio/CMakeFiles/vistaio.dir/list.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:180: vistaio/CMakeFiles/vistaio.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/libvistaio-1.2.19/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libvistaio-1.2.19/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:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list