[xml/sgml-pkgs] Bug#1075221: libxmltok: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:34:48 BST 2024
Package: src:libxmltok
Version: 1.2-4.1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/libxmltok_1.2-4.1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-5f9e587b-87d1-4f58-8948-6cb8d736d4a0
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package libxmltok
dpkg-buildpackage: info: source version 1.2-4.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Steve Langasek <vorlon at debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --no-parallel
dh_auto_clean -O--no-parallel
make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f xmlwf/unixfilemap.o xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/xmlwf gennmtab/gennmtab
make -Cxmltok clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/xmltok'
rm -f xmltok.o xmlrole.o libxmltok.a
rm -f libxmltok.so.1.2 libxmltok.so libxmltok.so.1
rm -rf shared/
make[2]: Leaving directory '/<<PKGBUILDDIR>>/xmltok'
make -Cxmlparse clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/xmlparse'
rm -f xmlparse.o libxmlparse.a
rm -f libxmlparse.so.1.2 libxmlparse.so libxmlparse.so.1
rm -rf shared/
make[2]: Leaving directory '/<<PKGBUILDDIR>>/xmlparse'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--no-parallel
dh_clean -O--no-parallel
debian/rules build
dh build --no-parallel
dh_update_autotools_config -O--no-parallel
dh_autoreconf -O--no-parallel
dh_auto_configure -O--no-parallel
dh_auto_build -O--no-parallel
make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -Wall -O2 --pipe -DXML_NS -DXML_DTD -Ixmltok -Ixmlparse -c -o xmlwf/unixfilemap.o xmlwf/unixfilemap.c
xmlwf/unixfilemap.c: In function ‘filemap’:
xmlwf/unixfilemap.c:36:5: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
36 | close(fd);
| ^~~~~
| pclose
make[1]: *** [Makefile:86: xmlwf/unixfilemap.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the debian-xml-sgml-pkgs
mailing list