Report forwarded
to Tatsuya Kinoshita <[email protected]>: Bug#1096559; Package src:eb.
(Mon, 17 Feb 2025 17:12:43 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Tatsuya Kinoshita <[email protected]>.
(Mon, 17 Feb 2025 17:12:43 GMT) (full text, mbox, link).
Package: src:eb
Version: 4.4.3-14.3
Severity: important
Tags: sid forky
User: [email protected]
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/eb_4.4.3-14.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
[...]
libtool: link: x86_64-linux-gnu-ar cru .libs/libeb.a appendix.o appsub.o bcd.o binary.o bitmap.o book.o booklist.o copyright.o cross.o eb.o endword.o error.o exactword.o filename.o font.o hook.o jacode.o keyword.o lock.o log.o match.o menu.o multi.o narwalt.o narwfont.o readtext.o search.o setword.o stopcode.o strcasecmp.o subbook.o text.o widealt.o widefont.o word.o zio.o ebnet.o multiplex.o linebuf.o urlparts.o getaddrinfo.o dummyin6.o
x86_64-linux-gnu-ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: x86_64-linux-gnu-ranlib .libs/libeb.a
libtool: link: ( cd ".libs" && rm -f "libeb.la" && ln -s "../libeb.la" "libeb.la" )
make[4]: Leaving directory '/build/reproducible-path/eb-4.4.3/eb'
make[3]: Leaving directory '/build/reproducible-path/eb-4.4.3/eb'
Making all in libebutils
make[3]: Entering directory '/build/reproducible-path/eb-4.4.3/libebutils'
rm -f ebutils.h.tmp
echo '/* automatically generated from ebutils.h.in. */' \
> ebutils.h.tmp
sed -e 's;\@localedir\@;/usr/share/locale;' \
./ebutils.h.in >> ebutils.h.tmp
../move-if-change ebutils.h.tmp ebutils.h
/usr/bin/make all-am
make[4]: Entering directory '/build/reproducible-path/eb-4.4.3/libebutils'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eb-4.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MT ebutils.o -MD -MP -MF .deps/ebutils.Tpo -c -o ebutils.o ebutils.c
mv -f .deps/ebutils.Tpo .deps/ebutils.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eb-4.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
getopt.c:90:14: error: conflicting types for ‘getenv’; have ‘char *(void)’
90 | extern char *getenv();
| ^~~~~~
In file included from getopt.c:46:
/usr/include/stdlib.h:773:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’
773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur;
| ^~~~~~
getopt.c: In function ‘getopt_internal’:
getopt.c:77:29: error: too many arguments to function ‘getenv’; expected 0, have 1
77 | #define IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL)
| ^~~~~~ ~~~~~~~~~~~~~~~~~
getopt.c:80:27: note: in expansion of macro ‘IS_POSIXLY_CORRECT’
80 | #define IN_ORDER (!IS_POSIXLY_CORRECT && *options == '-')
| ^~~~~~~~~~~~~~~~~~
getopt.c:219:29: note: in expansion of macro ‘IN_ORDER’
219 | if (IN_ORDER) {
| ^~~~~~~~
getopt.c:90:14: note: declared here
90 | extern char *getenv();
| ^~~~~~
getopt.c:77:29: error: too many arguments to function ‘getenv’; expected 0, have 1
77 | #define IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL)
| ^~~~~~ ~~~~~~~~~~~~~~~~~
getopt.c:78:27: note: in expansion of macro ‘IS_POSIXLY_CORRECT’
78 | #define PERMUTE (!IS_POSIXLY_CORRECT && !IGNORE_FIRST)
| ^~~~~~~~~~~~~~~~~~
getopt.c:227:30: note: in expansion of macro ‘PERMUTE’
227 | if (!PERMUTE) {
| ^~~~~~~
getopt.c:90:14: note: declared here
90 | extern char *getenv();
| ^~~~~~
getopt.c:77:29: error: too many arguments to function ‘getenv’; expected 0, have 1
77 | #define IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL)
| ^~~~~~ ~~~~~~~~~~~~~~~~~
getopt.c:261:29: note: in expansion of macro ‘IS_POSIXLY_CORRECT’
261 | if (IS_POSIXLY_CORRECT)
| ^~~~~~~~~~~~~~~~~~
getopt.c:90:14: note: declared here
90 | extern char *getenv();
| ^~~~~~
make[4]: *** [Makefile:288: getopt.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/eb-4.4.3/libebutils'
make[3]: *** [Makefile:230: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/eb-4.4.3/libebutils'
make[2]: *** [Makefile:353: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/eb-4.4.3'
make[1]: *** [Makefile:245: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/eb-4.4.3'
make: *** [debian/rules:38: build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.