Report forwarded
to Vagrant Cascadian <[email protected]>: Bug#1096790; Package src:guix.
(Mon, 17 Feb 2025 17:19:24 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Vagrant Cascadian <[email protected]>.
(Mon, 17 Feb 2025 17:19:24 GMT) (full text, mbox, link).
Package: src:guix
Version: 1.4.0-8
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/guix_1.4.0-8_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/bash '/build/reproducible-path/guix-1.4.0/build-aux/missing' makeinfo -I doc -I ./doc \
-o doc/guix-cookbook.sk.info ./doc/guix-cookbook.sk.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./doc/guix-cookbook.sk.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
g++ -DHAVE_CONFIG_H -I. -I./nix -DLOCALEDIR=\"/usr/share/locale\" -I./nix -I./nix/libutil -I./nix -I./nix/libstore -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++11 -g -O2 -ffile-prefix-map=/build/reproducible-path/guix-1.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o nix/nix-daemon/guix_daemon-nix-daemon.o `test -f 'nix/nix-daemon/nix-daemon.cc' || echo './'`nix/nix-daemon/nix-daemon.cc
In file included from ./nix/libstore/local-store.hh:8,
from nix/nix-daemon/nix-daemon.cc:3:
./nix/libstore/store-api.hh:92:5: error: ‘uint64_t’ does not name a type
92 | uint64_t narSize = 0; // 0 = unknown
| ^~~~~~~~
./nix/libstore/store-api.hh:9:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
8 | #include <memory>
+++ |+#include <cstdint>
9 |
./nix/libstore/store-api.hh:93:5: error: ‘uint64_t’ does not name a type
93 | uint64_t id; // internal use only
| ^~~~~~~~
./nix/libstore/store-api.hh:93:5: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./nix/libstore/local-store.hh:217:5: error: ‘uint64_t’ does not name a type
217 | uint64_t queryValidPathId(const Path & path);
| ^~~~~~~~
./nix/libstore/local-store.hh:10:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
9 | #include "util.hh"
+++ |+#include <cstdint>
10 |
./nix/libstore/local-store.hh:219:5: error: ‘uint64_t’ does not name a type
219 | uint64_t addValidPath(const ValidPathInfo & info, bool checkOutputs = true);
| ^~~~~~~~
./nix/libstore/local-store.hh:219:5: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./nix/libstore/local-store.hh:221:23: error: ‘uint64_t’ has not been declared
221 | void addReference(uint64_t referrer, uint64_t reference);
| ^~~~~~~~
./nix/libstore/local-store.hh:221:23: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./nix/libstore/local-store.hh:221:42: error: ‘uint64_t’ has not been declared
221 | void addReference(uint64_t referrer, uint64_t reference);
| ^~~~~~~~
./nix/libstore/local-store.hh:221:42: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
nix/nix-daemon/nix-daemon.cc: In function ‘void performOp(bool, unsigned int, nix::Source&, nix::Sink&, unsigned int)’:
nix/nix-daemon/nix-daemon.cc:708:28: error: ‘struct nix::ValidPathInfo’ has no member named ‘narSize’
708 | writeLongLong(info.narSize, to);
| ^~~~~~~
nix/nix-daemon/nix-daemon.cc: In function ‘void sigPollHandler(int)’:
nix/nix-daemon/nix-daemon.cc:140:22: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
140 | write(STDERR_FILENO, s, strlen(s));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nix/nix-daemon/nix-daemon.cc:144:18: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
144 | write(STDERR_FILENO, s, strlen(s));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nix/nix-daemon/nix-daemon.cc:150:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
150 | write(STDERR_FILENO, s.data(), s.size());
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:4730: nix/nix-daemon/guix_daemon-nix-daemon.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/guix-1.4.0'
make[2]: *** [Makefile:5922: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/guix-1.4.0'
make[1]: *** [Makefile:4055: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/guix-1.4.0'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Acknowledgement sent
to Vagrant Cascadian <[email protected]>:
Extra info received and forwarded to list.
(Wed, 16 Apr 2025 18:54:08 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.