Bug#1098156: xmorph: ftbfs with GCC-15

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


Package: src:xmorph
Version: 1:20150712-5.1
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/xmorph_20150712-5.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

[...]
Making all in morph
make[3]: Entering directory '/build/reproducible-path/xmorph-20150712/morph'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -DREAL=double -DRGBA_MESH_WARP -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o morph-main.o `test -f 'main.c' || echo './'`main.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -DREAL=double -DRGBA_MESH_WARP -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -Wl,-z,relro -Wl,-z,now -lm -Wl,--as-needed  -o morph morph-main.o   ../libmorph/libmorph.la -lm 
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -DREAL=double -DRGBA_MESH_WARP -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/morph morph-main.o  ../libmorph/.libs/libmorph.so -lm
make[3]: Leaving directory '/build/reproducible-path/xmorph-20150712/morph'
Making all in xmorph
make[3]: Entering directory '/build/reproducible-path/xmorph-20150712/xmorph'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-help_menu.o `test -f 'help_menu.c' || echo './'`help_menu.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-diw_map.o `test -f 'diw_map.c' || echo './'`diw_map.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-mjg_dialog.o `test -f 'mjg_dialog.c' || echo './'`mjg_dialog.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-file_menu.o `test -f 'file_menu.c' || echo './'`file_menu.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-xmorph.o `test -f 'xmorph.c' || echo './'`xmorph.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-sequence.o `test -f 'sequence.c' || echo './'`sequence.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-warp_menu.o `test -f 'warp_menu.c' || echo './'`warp_menu.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmorph -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall  -DREAL=double -DRGBA_MESH_WARP  -DNDEBUG_LIBMORPH_REF_COUNT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmorph-20150712=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fgnu89-inline -Wall -c -o xmorph-mesh_menu.o `test -f 'mesh_menu.c' || echo './'`mesh_menu.c
diw_map.c: In function ‘mpt_scroll_cb’:
diw_map.c:1018:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1018 |   int pixels = (int)call_data;
      |                ^
diw_map.c: In function ‘image_scroll_cb’:
diw_map.c:1057:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1057 |   int pixels = (int)call_data;
      |                ^
diw_map.c: In function ‘dp_menu_cb’:
diw_map.c:1102:7: error: ‘bool’ cannot be used here
 1102 |   int bool;
      |       ^~~~
diw_map.c:1102:7: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
diw_map.c:1102:3: warning: useless type name in empty declaration
 1102 |   int bool;
      |   ^~~
diw_map.c:1109:10: error: expected identifier or ‘(’ before ‘=’ token
 1109 |     bool = dmP->meshpoints_src_draw = !dmP->meshpoints_src_draw;
      |          ^
diw_map.c:1111:10: error: expected identifier or ‘(’ before ‘=’ token
 1111 |     bool = dmP->meshlines_src_draw = !dmP->meshlines_src_draw;
      |          ^
diw_map.c:1113:10: error: expected identifier or ‘(’ before ‘=’ token
 1113 |     bool = dmP->meshpoints_dst_draw = !dmP->meshpoints_dst_draw;
      |          ^
diw_map.c:1115:10: error: expected identifier or ‘(’ before ‘=’ token
 1115 |     bool = dmP->meshlines_dst_draw = !dmP->meshlines_dst_draw;
      |          ^
diw_map.c:1117:10: error: expected identifier or ‘(’ before ‘=’ token
 1117 |     bool = dmP->meshpoints_t_draw = !dmP->meshpoints_t_draw;
      |          ^
diw_map.c:1119:10: error: expected identifier or ‘(’ before ‘=’ token
 1119 |     bool = dmP->meshlines_t_draw = !dmP->meshlines_t_draw;
      |          ^
diw_map.c:1126:10: error: expected identifier or ‘(’ before ‘)’ token
 1126 |   if(bool) {
      |          ^
diw_map.c:1126:6: error: declaration in the controlling expression must have an initializer
 1126 |   if(bool) {
      |      ^~~~
sequence.c: In function ‘warp_sequence_cb’:
sequence.c:298:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  298 |   int preview = (int)client_data;
      |                 ^
make[3]: *** [Makefile:635: xmorph-diw_map.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/xmorph-20150712/xmorph'
make[2]: *** [Makefile:569: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/xmorph-20150712'
make[1]: *** [Makefile:500: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/xmorph-20150712'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-phototools-devel mailing list