Bug#1075059: haskell-hsopenssl: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:29:54 BST 2024
Package: src:haskell-hsopenssl
Version: 0.11.7.6-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/haskell-hsopenssl_0.11.7.6-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
[...]
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();}
| ^~~~~~~~~~~
|
15 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();}
| ^
/tmp/ghc2838709_0/ghc_227.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzufzubuffer’:
/tmp/ghc2838709_0/ghc_227.c:21:122: error:
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();}
| ^~~~~~~~~~~~~~
|
21 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();}
| ^
/tmp/ghc2838709_0/ghc_227.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzufzubase64’:
/tmp/ghc2838709_0/ghc_227.c:26:122: error:
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();}
| ^~~~~~~~~~~~~~
|
26 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();}
| ^
[25 of 33] Compiling OpenSSL.ASN1 ( dist-ghc/build/OpenSSL/ASN1.hs, dist-ghc/build/OpenSSL/ASN1.o, dist-ghc/build/OpenSSL/ASN1.dyn_o )
/tmp/ghc2838709_0/ghc_234.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2ln’:
/tmp/ghc2838709_0/ghc_234.c:35:120: error:
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
| ^~~~~~~~~~~~~~
|
35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
| ^
/tmp/ghc2838709_0/ghc_234.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2sn’:
/tmp/ghc2838709_0/ghc_234.c:37:120: error:
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
| ^~~~~~~~~~~~~~
|
37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
| ^
/tmp/ghc2838709_0/ghc_241.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2ln’:
/tmp/ghc2838709_0/ghc_241.c:35:120: error:
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
| ^~~~~~~~~~~~~~
|
35 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);}
| ^
/tmp/ghc2838709_0/ghc_241.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2sn’:
/tmp/ghc2838709_0/ghc_241.c:37:120: error:
warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
| ^~~~~~~~~~~~~~
|
37 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi6zmFdDC6rxnqkzz68J4WQpPUVOZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);}
| ^
[26 of 33] Compiling OpenSSL.X509.Name ( dist-ghc/build/OpenSSL/X509/Name.hs, dist-ghc/build/OpenSSL/X509/Name.o, dist-ghc/build/OpenSSL/X509/Name.dyn_o )
-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