GNU bug report logs -
#77847
guix-daemon fails to build with gcc-15 in Debian
Previous Next
To reply to this bug, email your comments to 77847 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#77847
; Package
guix
.
(Wed, 16 Apr 2025 18:32:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vagrant Cascadian <vagrant <at> debian.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 16 Apr 2025 18:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
As reported in Debian:
https://bugs.debian.org/1096790
> 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.
...
> 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
...
> 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 |
I have been able to reproduce the issue locally on Debian building guix
1.4.0 with some patches, mostly to disable various test suites and a few
guix-daemon security fixes).
I suspect this is not specific to how guix or gcc is packaged in Debian,
but it is possible!
I have not *yet* tested on a more recent guix based on a git snapshot.
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.