#1090081#5
Date:
2024-12-16 11:42:46 UTC
From:
To:
gccrs ftbfs on hurd-amd64:

[...]
make[5]: Entering directory
'/build/reproducible-path/gcc-snapshot-20241216/build/libgrust'
Making all in libformat_parser
make[6]: Entering directory
'/build/reproducible-path/gcc-snapshot-20241216/build/libgrust/libformat_parser'
cargo \
   --config ../../../src/libgrust/libformat_parser/.cargo/config \
   build \
     --offline \
     --target-dir . \
     --manifest-path ../../../src/libgrust/libformat_parser/Cargo.toml \
     # FIXME: Not always '--release', right?
warning:
/build/reproducible-path/gcc-snapshot-20241216/src/libgrust/libformat_parser/Cargo.toml:
`crate_type` is deprecated in favor of `crate-type` and will not work in
the 2024 edition
(in the `libformat_parser` library target)
    Compiling libc v0.2.152
    Compiling unicode-xid v0.2.4
    Compiling generic_format_parser v0.1.0
(/build/reproducible-path/gcc-snapshot-20241216/src/libgrust/libformat_parser/generic_format_parser)
warning: trait `IsSomeAnd` is never used
   --> generic_format_parser/src/lib.rs:28:7
    |
28 | trait IsSomeAnd<T> {
    |       ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

warning: `generic_format_parser` (lib) generated 1 warning
error[E0412]: cannot find type `__timeval` in this scope
     --> 
/build/reproducible-path/gcc-snapshot-20241216/build/libgrust/libformat_parser/../../../src/libgrust/libformat_parser/vendor/libc/src/unix/hurd/mod.rs:1061:20
      |
53   | pub type __time_t = __slongword_type;
      | ------------------------------------- similarly named type alias
`__time_t` defined here
...
1061 |         pub ut_tv: __timeval,
      |                    ^^^^^^^^^ help: a type alias with a similar
name exists: `__time_t`

For more information about this error, try `rustc --explain E0412`.
error: could not compile `libc` (lib) due to 1 previous error
make[6]: *** [Makefile:431: debug/liblibformat_parser.a] Error 101
make[6]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20241216/build/libgrust/libformat_parser'
make[5]: *** [Makefile:422: all-recursive] Error 1
make[5]: Leaving directory
'/build/reproducible-path/gcc-snapshot-20241216/build/libgrust'
make[4]: *** [Makefile:17235: all-stage1-libgrust] Error 2

#1090081#10
Date:
2024-12-16 11:49:51 UTC
From:
To:
Hello,

Matthias Klose, le lun. 16 déc. 2024 12:42:46 +0100, a ecrit:

Yes, this is already fixed upstream, gccrs just needs to catch up with
rust-libc version ≥ 0.2.159.

Samuel