#1097662 pspp: ftbfs with GCC-15

#1097662#5
Date:
2025-02-17 17:46:16 UTC
From:
To:
[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/pspp_2.0.1-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

[...]
            purpose <identifier_node 0x7ff228509280 FMT_COMMA> value <const_decl 0x7ff228760ac8 FMT_COMMA>
            chain <tree_list 0x7ff2284ffd70
                purpose <identifier_node 0x7ff228509370 FMT_DOT> value <const_decl 0x7ff228760b40 FMT_DOT>
                chain <tree_list 0x7ff2284ffd98
                    purpose <identifier_node 0x7ff228509460 FMT_DOLLAR> value <const_decl 0x7ff228760bb8 FMT_DOLLAR>
                    chain <tree_list 0x7ff2284ffdc0
                        purpose <identifier_node 0x7ff228509550 FMT_PCT> value <const_decl 0x7ff228760c30 FMT_PCT>
                        chain <tree_list 0x7ff2284ffde8 purpose <identifier_node 0x7ff2285095f0 FMT_E> value <const_decl 0x7ff228760ca8 FMT_E> chain <tree_list 0x7ff2284ffe10>>>>>>>
    pointer_to_this <pointer_type 0x7ff228516738> chain <type_decl 0x7ff22893f8c0 D.2832>>
 <enumeral_type 0x7ff228accb28 fmt_type
    type <integer_type 0x7ff228930348 unsigned char sizes-gimplified asm_written public unsigned QI
        size <integer_cst 0x7ff228932060 constant 8>
        unit-size <integer_cst 0x7ff228932078 constant 1>
        align:8 warn_if_not_align:0 symtab:678589616 alias-set -1 canonical-type 0x7ff228930348 precision:8 min <integer_cst 0x7ff228932090 0> max <integer_cst 0x7ff228932030 255>
        pointer_to_this <pointer_type 0x7ff2287d3bd0>>
    readonly sizes-gimplified unsigned QI size <integer_cst 0x7ff228932060 8> unit-size <integer_cst 0x7ff228932078 1>
    align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7ff228500888
    attributes <tree_list 0x7ff22850c320
        purpose <identifier_node 0x7ff228704eb0 packed>> precision:8 min <integer_cst 0x7ff228932090 0> max <integer_cst 0x7ff228932030 255>
    values <tree_list 0x7ff2284ffd20
        purpose <identifier_node 0x7ff228509190 FMT_F>
        value <const_decl 0x7ff228760a50 FMT_F type <enumeral_type 0x7ff228acc888 fmt_type>
            VOID ./src/data/format.def:18:1
            align:1 warn_if_not_align:0 context <translation_unit_decl 0x7ff228058100 src/language/lexer/value-parser.c> initial <integer_cst 0x7ff228932300 0> chain <const_decl 0x7ff228760ac8 FMT_COMMA>>
        chain <tree_list 0x7ff2284ffd48
            purpose <identifier_node 0x7ff228509280 FMT_COMMA> value <const_decl 0x7ff228760ac8 FMT_COMMA>
            chain <tree_list 0x7ff2284ffd70
                purpose <identifier_node 0x7ff228509370 FMT_DOT> value <const_decl 0x7ff228760b40 FMT_DOT>
                chain <tree_list 0x7ff2284ffd98
                    purpose <identifier_node 0x7ff228509460 FMT_DOLLAR> value <const_decl 0x7ff228760bb8 FMT_DOLLAR>
                    chain <tree_list 0x7ff2284ffdc0
                        purpose <identifier_node 0x7ff228509550 FMT_PCT> value <const_decl 0x7ff228760c30 FMT_PCT>
                        chain <tree_list 0x7ff2284ffde8 purpose <identifier_node 0x7ff2285095f0 FMT_E> value <const_decl 0x7ff228760ca8 FMT_E> chain <tree_list 0x7ff2284ffe10>>>>>>>
    pointer_to_this <pointer_type 0x7ff228accbd0>>
src/language/lexer/value-parser.c:177:1: internal compiler error: 'verify_type' failed
0x2da864f diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
	???:0
0x2dbdacf internal_error(char const*, ...)
	???:0
0x1a0788e verify_type(tree_node const*)
	???:0
0xffdcc4 c_common_finalize_early_debug()
	???:0
0x110ad42 symbol_table::finalize_compilation_unit()
	???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/lexer/token.c -o src/language/lexer/token.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I.  -I"./gl" -I"./gl" -DINSTALLDIR=\"/usr/bin\" -I"./src" -I"./lib" -Isrc -I"./src/language/commands" -I"/build/reproducible-path/pspp-2.0.1/src/language/expressions" -I"./src/language/expressions" -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread  -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c -o src/language/commands/apply-dictionary.lo src/language/commands/apply-dictionary.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/commands/apply-dictionary.c  -fPIC -DPIC -o src/language/commands/.libs/apply-dictionary.o
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/commands/apply-dictionary.c -o src/language/commands/apply-dictionary.o >/dev/null 2>&1
The bug is not reproducible, so it is likely a hardware or OS problem.
make[4]: *** [Makefile:11897: src/language/lexer/value-parser.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/lexer/segment.c -o src/language/lexer/segment.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/lexer/variable-parser.c -o src/language/lexer/variable-parser.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/lexer/macro.c -o src/language/lexer/macro.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/commands/aggregate.c -o src/language/commands/aggregate.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/bin\" -I./src -I./lib -Isrc -I./src/language/commands -I/build/reproducible-path/pspp-2.0.1/src/language/expressions -I./src/language/expressions -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -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/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -pthread -Wall -Wextra -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pspp-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGCC_LINT -c src/language/lexer/lexer.c -o src/language/lexer/lexer.o >/dev/null 2>&1
make[4]: Leaving directory '/build/reproducible-path/pspp-2.0.1'
make[3]: *** [Makefile:17680: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/pspp-2.0.1'
make[2]: *** [Makefile:8471: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/pspp-2.0.1'
dh_auto_build: error: make -j8 all returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/pspp-2.0.1'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2