1 minor finding · 2 suggestions
Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.
Findings
[minor] · RISC-V Guix builds pass an empty argument to CMake
Default riscv64 Guix builds produce a spurious configure warning; the quoted variable also cannot pass multiple flags as separate arguments.
Location: contrib/guix/libexec/build_linux.sh:65 (head).
Details and suggested fix
CMAKE_FLAGS is set only in the *) branch. For riscv64-linux-gnu, it remains unset, but the quoted "${CMAKE_FLAGS}" still expands to an empty argument to CMake. RISC-V is in the default HOSTS list, and guix-build runs this script under --pure, so no other setting supplies the variable. Recent CMake versions (3.23 and later) ignore the empty argument with a warning rather than failing, so the effect is a spurious configure warning in the release log. Also, the quoted variable expands to one word, so a second flag added later would reach CMake as a malformed argument. Set an explicit value for each host, such as LINK_WARNING_AS_ERROR=ON by default and OFF for riscv64, then pass -DCMAKE_LINK_WARNING_AS_ERROR="${LINK_WARNING_AS_ERROR}".
Optional improvements
[suggestion] · The Windows GUI build still uses the old fatal-link-warning flag
Both Windows builds still make link warnings fatal, but use different mechanisms for the same host.
Location: contrib/guix/libexec/build_win.sh:53 (head).
Details and suggested fix
This change replaces -Wl,--fatal-warnings in HOST_LDFLAGS with -DCMAKE_LINK_WARNING_AS_ERROR=ON in build_win.sh. However, build_win_gui.sh builds bitcoin-qt for the same x86_64-w64-mingw32 host and still sets HOST_LDFLAGS="-Wl,--no-insert-timestamp -Wl,--fatal-warnings". The two mechanisms are not equivalent: LDFLAGS also applies to configure-time link checks, while only the CMake setting can be disabled with --link-no-warning-as-error. Future host-specific changes would also need to be made in both forms. Apply the same change to build_win_gui.sh by removing the flag from HOST_LDFLAGS and adding -DCMAKE_LINK_WARNING_AS_ERROR=ON, or document why the GUI build retains the explicit flag.
[suggestion] · The pinned Guix commit differs from the revision described
Reviewers reproducing the build or checking the listed versions may use the wrong Guix revision.
Location: contrib/guix/libexec/prelude.bash:74 (head).
Details and suggested fix
The PR description says the time-machine moves to 5fe25a5142e744b134ccaa6d18e6d056e22b0c15, but this line pins 4929f42c456ca6b5e0b10929fb95491596e7acc6, which matches the commit title of a989b661. The description lists cmake 4.3.3, linux-libre-headers 6.1.187, and python-lief 1.0.0 without identifying the revision that provides them. The lief==1.0.0 lint pin is correct only if the pinned revision ships LIEF 1.0.0. Make the description and pin agree. The PR is WIP, so the description may simply be ahead of the branch.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Configure-time link probes may no longer fail on linker warnings
- [suggestion]: Explain why fixincludes is disabled for the sans-libc cross GCC (earlier report)