[Debian-med-packaging] Bug#1098154: xmedcon: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 18:02:10 GMT 2025
Package: src:xmedcon
Version: 0.24.0-gtk3+dfsg-2
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/xmedcon_0.24.0-gtk3+dfsg-2_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
[...]
make[1]: Entering directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg'
make all-recursive
make[2]: Entering directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg'
Making all in libs
make[3]: Entering directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg/libs'
Making all in ljpg
make[4]: Entering directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg/libs/ljpg'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o decomp.lo decomp.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o huffd.lo huffd.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o jpegutil.lo jpegutil.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mcu.lo mcu.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o predict.lo predict.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o read.lo read.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c predict.c -fPIC -DPIC -o .libs/predict.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c huffd.c -fPIC -DPIC -o .libs/huffd.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c jpegutil.c -fPIC -DPIC -o .libs/jpegutil.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c decomp.c -fPIC -DPIC -o .libs/decomp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mcu.c -fPIC -DPIC -o .libs/mcu.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c read.c -fPIC -DPIC -o .libs/read.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c predict.c -o predict.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mcu.c -o mcu.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c decomp.c -o decomp.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c jpegutil.c -o jpegutil.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c read.c -o read.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c huffd.c -o huffd.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o libljpg.la decomp.lo huffd.lo jpegutil.lo mcu.lo predict.lo read.lo -lm
libtool: link: ar cr .libs/libljpg.a .libs/decomp.o .libs/huffd.o .libs/jpegutil.o .libs/mcu.o .libs/predict.o .libs/read.o
libtool: link: ranlib .libs/libljpg.a
libtool: link: ( cd ".libs" && rm -f "libljpg.la" && ln -s "../libljpg.la" "libljpg.la" )
make[4]: Leaving directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg/libs/ljpg'
Making all in dicom
make[4]: Entering directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg/libs/dicom'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parse.o parse.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o log.lo log.c
cat dict-dicom.dic dict-gemsi.dic dict-vision.dic dict-discovery.dic | grep -v "^#" > dicom.dic
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o single.lo single.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o bit.lo bit.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o transform.lo transform.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o image.lo image.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o zoom.lo zoom.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o process.lo process.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c log.c -fPIC -DPIC -o .libs/log.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c zoom.c -fPIC -DPIC -o .libs/zoom.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c single.c -fPIC -DPIC -o .libs/single.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c process.c -fPIC -DPIC -o .libs/process.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c transform.c -fPIC -DPIC -o .libs/transform.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c bit.c -fPIC -DPIC -o .libs/bit.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c image.c -fPIC -DPIC -o .libs/image.o
process.c: In function 'dicom_color':
process.c:222:3: error: too many arguments to function 'reduce'; expected 0, have 6
222 | reduce(image->data.rgb,dest,image->w,image->h*image->frames,palette,dither);
| ^~~~~~ ~~~~~~~~~~~~~~~
make[4]: *** [Makefile:502: process.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c log.c -o log.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c image.c -o image.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c bit.c -o bit.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c zoom.c -o zoom.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c single.c -o single.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../ljpg -Wdate-time -D_FORTIFY_SOURCE=2 -DMDC_SUPPORT_LJPG -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c transform.c -o transform.o >/dev/null 2>&1
make[4]: Leaving directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg/libs/dicom'
make[3]: *** [Makefile:421: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg/libs'
make[2]: *** [Makefile:540: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg'
make[1]: *** [Makefile:435: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/xmedcon-0.24.0-gtk3+dfsg'
dh_auto_build: error: make -j8 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