• Bug#1096790: guix: ftbfs with GCC-15

    From Vagrant Cascadian@21:1/5 to Matthias Klose on Wed Apr 16 21:00:03 2025
    Control: forwarded 1096790 https://issues.guix.gnu.org/77847

    On 2025-02-17, Matthias Klose wrote:
    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 |

    Reported upstream.

    live well,
    vagrant

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ//6MAAKCRDcUY/If5cW qjqRAQCBU7LD486CLK9flY6au5ix8C/okWDePTb/Y+2Z5pQKJwD7B4hST3OtwuFK L7vuOwgpFfI220opDnpOVa3gG7wnvg8=yX1N
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)