Package: src:zfs-fuse
Version: 0.7.0-27
Severity: important
Tags: sid trixie
User: debian-...@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/zfs-fuse_0.7.0-27_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

[...]
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-efa423ad-7261-406b-a401-17c3ba319b6e
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 zfs-fuse
dpkg-buildpackage: info: source version 0.7.0-27
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Beckmann <a...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
scons --no-cache -C src debug=1 optim=-O2 -ccc
scons: Entering directory `/<<PKGBUILDDIR>>/src'
scons: Reading SConscript files ...
/<<PKGBUILDDIR>>/src/SConstruct:76: SyntaxWarning: invalid escape sequence '\d'
  if re.compile('i\d86').match(arch):
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
rm -f src/.sconsign.dblite
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
cp: warning: behavior of -n is non-portable and may change in future; use 
--update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use 
--update=none instead
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
scons --no-cache -C src debug=1 optim=-O2
scons: Entering directory `/<<PKGBUILDDIR>>/src'
scons: Reading SConscript files ...
/<<PKGBUILDDIR>>/src/SConstruct:76: SyntaxWarning: invalid escape sequence '\d'
  if re.compile('i\d86').match(arch):
scons: done reading SConscript files.
scons: Building targets ...
gcc -o cmd/stat/common/timestamp.o -c -pipe -Wall -std=c99 -Wno-switch 
-Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized 
-fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
-DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DNDEBUG -O2 -DLINUX_AIO 
-Ilib/libuutil/include -Ilib/libnvpair/include -Ilib/libumem/include 
-Ilib/libzfscommon/include -Ilib/libzfs/include -Ilib/libsolcompat/include 
-Ilib/libavl/include -Icmd/stat/common cmd/stat/common/timestamp.c
gcc -o cmd/zdb/ptrace.o -c -pipe -Wall -std=c99 -Wno-switch -Wno-unused 
-Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" 
-ggdb -DNDEBUG -O2 -DLINUX_AIO -Ilib/libavl/include -Ilib/libnvpair/include 
-Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include 
-Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/ptrace.c
In file included from lib/libsolcompat/include/sys/types.h:89,
                 from /usr/include/stdlib.h:514,
                 from cmd/zdb/ptrace.c:47:
lib/libsolcompat/include/sys/time.h: In function 'gethrtime':
lib/libsolcompat/include/sys/time.h:62:17: error: implicit declaration of 
function 'abort' [-Wimplicit-function-declaration]
   62 |                 abort();
      |                 ^~~~~
lib/libsolcompat/include/sys/time.h:37:1: note: include '<stdlib.h>' or provide 
a declaration of 'abort'
   36 | #include <time.h>
  +++ |+#include <stdlib.h>
   37 | 
scons: *** [cmd/zdb/ptrace.o] Error 1
scons: building terminated because of errors.
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:31: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to