Bug#1075061: haskell-libxml-sax: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:29:56 BST 2024
Package: src:haskell-libxml-sax
Version: 0.7.5-13
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/haskell-libxml-sax_0.7.5-13_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
[...]
+++ |+#include <stdlib.h>
9 |
|
9 |
| ^
cbits/hslibxml-shim.c:44:21: error:
warning: incompatible implicit declaration of built-in function ‘calloc’ [-Wbuiltin-declaration-mismatch]
44 | user_data = calloc(1, sizeof(UserData));
| ^~~~~~
|
44 | user_data = calloc(1, sizeof(UserData));
| ^
cbits/hslibxml-shim.c:44:21: error:
note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
|
44 | user_data = calloc(1, sizeof(UserData));
| ^
cbits/hslibxml-shim.c: In function ‘hslibxml_on_warning’:
cbits/hslibxml-shim.c:395:9: error:
error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
395 | free(msg);
| ^~~~
|
395 | free(msg);
| ^
cbits/hslibxml-shim.c:395:9: error:
note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
|
395 | free(msg);
| ^
cbits/hslibxml-shim.c:395:9: error:
warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
|
395 | free(msg);
| ^
cbits/hslibxml-shim.c:395:9: error:
note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
|
395 | free(msg);
| ^
cbits/hslibxml-shim.c: In function ‘hslibxml_on_error’:
cbits/hslibxml-shim.c:420:9: error:
warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
420 | free(msg);
| ^~~~
|
420 | free(msg);
| ^
cbits/hslibxml-shim.c:420:9: error:
note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
|
420 | free(msg);
| ^
`x86_64-linux-gnu-gcc' failed in phase `C Compiler'. (Exit code: 1)
-e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 877.
Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 616
Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 479
Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 656
Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-haskell-maintainers
mailing list