Bug#1075073: hugs98: ftbfs with GCC-14
Package: src:hugs98
Version: 98.200609.21-7
Severity: important
Tags: sid trixie
User: debian-gcc@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/hugs98_98.200609.21-7_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
[...]
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:326:(.text+0x617): undefined reference to `__hscore_s_ischr'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_s_isreg_54':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:341:(.text+0x676): undefined reference to `__hscore_s_isreg'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_binary_53':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:354:(.text+0x6c0): undefined reference to `__hscore_o_binary'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_nonblock_52':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:366:(.text+0x6eb): undefined reference to `__hscore_o_nonblock'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_noctty_51':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:378:(.text+0x716): undefined reference to `__hscore_o_noctty'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_trunc_50':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:390:(.text+0x741): undefined reference to `__hscore_o_trunc'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_excl_49':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:402:(.text+0x76c): undefined reference to `__hscore_o_excl'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_creat_48':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:414:(.text+0x797): undefined reference to `__hscore_o_creat'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_append_47':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:426:(.text+0x7c2): undefined reference to `__hscore_o_append'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_rdwr_46':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:438:(.text+0x7ed): undefined reference to `__hscore_o_rdwr'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_wronly_45':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:450:(.text+0x818): undefined reference to `__hscore_o_wronly'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_o_rdonly_44':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:462:(.text+0x848): undefined reference to `__hscore_o_rdonly'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_d_name_43':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:476:(.text+0x88e): undefined reference to `__hscore_d_name'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_end_of_dir_42':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:489:(.text+0x8d6): undefined reference to `__hscore_end_of_dir'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_free_dirent_41':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:502:(.text+0x91c): undefined reference to `__hscore_free_dirent'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_readdir_40':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:520:(.text+0x97f): undefined reference to `__hscore_readdir'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_sigaddset_34':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:628:(.text+0xc80): undefined reference to `__hscore_sigaddset'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_sigemptyset_33':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:643:(.text+0xce0): undefined reference to `__hscore_sigemptyset'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_ftruncate_23':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:805:(.text+0x1113): undefined reference to `__hscore_ftruncate'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_stat_20':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:856:(.text+0x1278): undefined reference to `__hscore_stat'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_renameFile_17':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:902:(.text+0x139b): undefined reference to `__hscore_renameFile'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_mkdir_15':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:938:(.text+0x14a0): undefined reference to `__hscore_mkdir'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_open_13':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:972:(.text+0x158b): undefined reference to `__hscore_open'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_lstat_12':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:989:(.text+0x1606): undefined reference to `__hscore_lstat'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_lseek_11':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:1008:(.text+0x168b): undefined reference to `__hscore_lseek'
/usr/bin/ld: /tmp/ccOtP5UE.o: in function `hugsprim___hscore_fstat_8':
/<<PKGBUILDDIR>>/libraries/bootlib/System/Posix/Internals.c:1057:(.text+0x17d9): undefined reference to `__hscore_fstat'
collect2: error: ld returned 1 exit status
runhugs: Error occurred
ERROR "libraries/bootlib/System/Posix/Internals.hs" - Error while running compilation command 'gcc -g -Wall -fPIC -std=gnu89 -D__HUGS__ "-Ihugsdir/include" -o "libraries/bootlib/System/Posix/Internals.so" "libraries/bootlib/System/Posix/Internals.c" -Ipackages/base/include -Ighc/includes'
echo timestamp for bootlib >bootlib/.stamp
cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir ../src/runhugs -98 ../packages/Cabal/examples/hapax.hs configure --verbose --hugs --prefix='/usr' --scratchdir='../hugsdir/packages/cpphs' --with-compiler=../src/ffihugs
runhugs: Error occurred
ERROR "../libraries/bootlib/Hugs/Storable.hs" - Error while importing DLL "../libraries/bootlib/Hugs/Storable.so":
../libraries/bootlib/Hugs/Storable.so: cannot open shared object file: No such file or directory
make[2]: *** [Makefile:117: ../hugsdir/programs/cpphs/Main.hs] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libraries'
make[1]: *** [Makefile:48: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:51: debian/build.stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: