WIP: guix: update time-machine

bitcoin/bitcoin: PR #35855

2 suggestions

Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · PR description names a different Guix revision from the pin

prelude.bash pins ab6a9f84e783, while the description names 5fe25a5142e7, directing package-version review to a different Guix tree; no actual package-version mismatch has been established.

Location: contrib/guix/libexec/prelude.bash:74 (head).

Details and suggested fix

The build selects ab6a9f84e783710335a29f6591f570e5e2df143c, but the description links to 5fe25a5142e744b134ccaa6d18e6d056e22b0c15 alongside the version list. This matters because check_MACHO_lld requires exactly [22, 1, 8], and ci/lint/requirements.txt requires lief==1.0.0 to match Guix. Confirm the intended revision and align the description and pin, then verify the listed lld-22, libcxx, python-lief, and cmake-minimal-4 versions against that revision. The upstream definitions were not inspected, so the description may simply be stale.


Link

[suggestion] · riscv64 builds pass an empty argument to cmake

The normal riscv64-linux-gnu invocation passes an empty positional argument instead of explicitly selecting the linker-warning exception; no configure failure has been established.

Location: contrib/guix/libexec/build_linux.sh:65 (head).

Details and suggested fix

CMAKE_FLAGS is assigned only in the non-riscv64 branch, but the configure command always expands it as "${CMAKE_FLAGS}". The normal --pure container invocation does not supply the variable, and setup.sh does not initialize it, so Bash retains an empty argument on riscv64. Set a value such as LINK_WAE=OFF for riscv64 and ON otherwise, then pass -DCMAKE_LINK_WARNING_AS_ERROR="${LINK_WAE}" unconditionally. This removes the empty argument and makes both policy choices explicit while preserving the exception for boostorg/test#345. CMake's empty-argument handling was not verified.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.

Background

Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.

Documented decisions

Earlier aarch64-on-aarch64 Guix builds encountered bootstrap header processing that expected /usr/include even though the sans-libc build environment lacked it. A historical explanation identified confusion between native and cross-compilation detection; it also rejected simply moving to a much newer glibc as an appropriate fix.

This establishes that bootstrap header handling and same-architecture cross-build detection are real historical constraints. It does not establish that the present --disable-fixincludes change has the same cause or that it preserves every supported build-host configuration.

Source 1 · Source 2