[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097986: texinfo: ftbfs with GCC-15



Package: src:texinfo
Version: 7.1.1-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/texinfo_7.1.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

[...]
make[3]: Leaving directory '/build/reproducible-path/texinfo-7.1.1/gnulib/lib'
Making all in info
make[3]: Entering directory '/build/reproducible-path/texinfo-7.1.1/info'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT makedoc.o -MD -MP -MF .deps/makedoc.Tpo -c -o makedoc.o makedoc.c
mv -f .deps/makedoc.Tpo .deps/makedoc.Po
x86_64-linux-gnu-gcc  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall  -Wl,-z,relro -o makedoc makedoc.o ../gnulib/lib/libgnu.a -ltinfo         
rm -f doc.c funs.h
..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c ./nodemenu.c ./footnotes.c ./variables.c
make  all-am
make[4]: Entering directory '/build/reproducible-path/texinfo-7.1.1/info'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT dir.o -MD -MP -MF .deps/dir.Tpo -c -o dir.o dir.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT dribble.o -MD -MP -MF .deps/dribble.Tpo -c -o dribble.o dribble.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT echo-area.o -MD -MP -MF .deps/echo-area.Tpo -c -o echo-area.o echo-area.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT footnotes.o -MD -MP -MF .deps/footnotes.Tpo -c -o footnotes.o footnotes.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT indices.o -MD -MP -MF .deps/indices.Tpo -c -o indices.o indices.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR=\"/usr/share/locale\" -DINFODIR=\"/usr/share/info\" -DINFODIR2=\"/usr/share/info\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/texinfo-7.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -Wall -MT info.o -MD -MP -MF .deps/info.Tpo -c -o info.o info.c
filesys.c: In function ‘info_find_fullpath’:
filesys.c:102:28: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  102 |       || partial[0] == '.' && IS_SLASH(partial[1]))
echo-area.c: In function ‘read_and_dispatch_in_echo_area’:
echo-area.c:176:12: error: too many arguments to function ‘cmd’; expected 0, have 2
  176 |           (*cmd) (the_echo_area, count);
      |           ~^~~~~  ~~~~~~~~~~~~~
echo-area.c:189:15: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  189 |       if (cmd == ea_newline || info_aborted_echo_area)
      |               ^~
make[4]: *** [Makefile:2325: echo-area.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/dribble.Tpo .deps/dribble.Po
mv -f .deps/dir.Tpo .deps/dir.Po
mv -f .deps/footnotes.Tpo .deps/footnotes.Po
mv -f .deps/filesys.Tpo .deps/filesys.Po
mv -f .deps/info.Tpo .deps/info.Po
In file included from ../system.h:53,
                 from info.h:24,
                 from display.c:20:
In function ‘mb_copy’,
    inlined from ‘mbiter_multi_copy’ at ../gnulib/lib/mbiter.h:231:3,
    inlined from ‘display_update_node_text’ at display.c:519:7:
../gnulib/lib/mbchar.h:283:27: warning: ‘iter.cur.bytes’ may be used uninitialized [-Wmaybe-uninitialized]
  283 |   new_mbc->bytes = old_mbc->bytes;
      |                    ~~~~~~~^~~~~~~
display.c: In function ‘display_update_node_text’:
display.c:492:18: note: ‘iter’ declared here
  492 |   mbi_iterator_t iter;  /* Used to iterate through part of node displayed.  */
      |                  ^~~~
In function ‘mb_copy’,
    inlined from ‘mbiter_multi_copy’ at ../gnulib/lib/mbiter.h:231:3,
    inlined from ‘display_update_node_text’ at display.c:519:7:
../gnulib/lib/mbchar.h:284:35: warning: ‘iter.cur.wc_valid’ may be used uninitialized [-Wmaybe-uninitialized]
  284 |   if ((new_mbc->wc_valid = old_mbc->wc_valid))
      |                            ~~~~~~~^~~~~~~~~~
display.c: In function ‘display_update_node_text’:
display.c:492:18: note: ‘iter’ declared here
  492 |   mbi_iterator_t iter;  /* Used to iterate through part of node displayed.  */
      |                  ^~~~
mv -f .deps/indices.Tpo .deps/indices.Po
mv -f .deps/display.Tpo .deps/display.Po
make[4]: Leaving directory '/build/reproducible-path/texinfo-7.1.1/info'
make[3]: *** [Makefile:2188: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/texinfo-7.1.1/info'
make[2]: *** [Makefile:1947: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/texinfo-7.1.1'
make[1]: *** [Makefile:1886: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/texinfo-7.1.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:29: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: