guix: nsis (Windows installer creator) is broken upstream #32674

issue fanquake openend this issue on June 3, 2025
  1. fanquake commented at 1:52 pm on June 3, 2025: member

    This will become a issue when we want to bump the time-machine next, and it’d be nicer if this is fixed and shipped upstream, rather than us having to work around the issue:

     0# guix --version
     1guix (GNU Guix) 4b9d14378fcc3d8dd4eea36b541fe87e198fd7b8
     2
     3# guix build --no-substitutes nsis-x86_64
     4Source/Plugins.cpp:278:18:   required from ‘static void PrintPluginDirsHelper::print(const C&, const char*) [with C = std::map<std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t>, STL::string_nocasecmpless<std::__cxx11::basic_string<wchar_t>, wchar_t> >] 5Source/Plugins.cpp:287:31:   required from here
     6/gnu/store/mrgjxwdy1l7s9m23bsrshdg3cb2q7nn3-gcc-cross-x86_64-w64-mingw32-14.2.0/include/c++/bits/stl_tree.h:768:15: error: non-constant condition for static assertion
     7  768 |               is_invocable_v<const _Compare&, const _Key&, const _Key&>,
     8      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     9scons: *** [build/urelease/makensis/build.o] Error 1
    10scons: *** [build/urelease/makensis/Plugins.o] Error 1
    11scons: building terminated because of errors.
    12error: in phase 'build': uncaught exception:
    13%exception #<&invoke-error program: "scons" arguments: ("-j" "16" "UNICODE=yes" "SKIPUTILS=MakeLangId,Makensisw,NSIS Menu,SubStart,zip2exe" "SKIPDOC=COPYING" "STRIP_CP=no" "PREFIX=/gnu/store/z5ng740nbqh0s1n9i69c8wls96drdqy7-nsis-x86_64-3.10" "TARGET_ARCH=amd64" "XGCC_W32_PREFIX=x86_64-w64-mingw32-" "PREFIX_PLUGINAPI_INC=/gnu/store/gwcmzcwbdfcqxiv99xmr2cv9s9nz79bf-mingw-w64-x86_64-winpthreads-12.0.0/include/" "PREFIX_PLUGINAPI_LIB=/gnu/store/gwcmzcwbdfcqxiv99xmr2cv9s9nz79bf-mingw-w64-x86_64-winpthreads-12.0.0/lib/" "makensis" "stubs" "plugins" "utils") exit-status: 2 term-signal: #f stop-signal: #f> 
    14phase `build' failed after 6.9 seconds
    15command "scons" "-j" "16" "UNICODE=yes" "SKIPUTILS=MakeLangId,Makensisw,NSIS Menu,SubStart,zip2exe" "SKIPDOC=COPYING" "STRIP_CP=no" "PREFIX=/gnu/store/z5ng740nbqh0s1n9i69c8wls96drdqy7-nsis-x86_64-3.10" "TARGET_ARCH=amd64" "XGCC_W32_PREFIX=x86_64-w64-mingw32-" "PREFIX_PLUGINAPI_INC=/gnu/store/gwcmzcwbdfcqxiv99xmr2cv9s9nz79bf-mingw-w64-x86_64-winpthreads-12.0.0/include/" "PREFIX_PLUGINAPI_LIB=/gnu/store/gwcmzcwbdfcqxiv99xmr2cv9s9nz79bf-mingw-w64-x86_64-winpthreads-12.0.0/lib/" "makensis" "stubs" "plugins" "utils" failed with status 2
    16build process 18 exited with status 256
    17builder for `/gnu/store/slxnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv' failed with exit code 1
    18build of /gnu/store/slxnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv failed
    19View build log at '/var/log/guix/drvs/sl/xnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv.gz'.
    20guix build: error: build of `/gnu/store/slxnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv' failed
    

    See also: https://issues.guix.gnu.org/71548. Looks like this is still broken, but differently.

  2. fanquake added the label Windows on Jun 3, 2025
  3. fanquake added the label Build system on Jun 3, 2025
  4. fanquake added the label Upstream on Jun 3, 2025
  5. hebasto commented at 2:07 pm on June 3, 2025: member
    Does it depend on the build machine architecture?
  6. fanquake commented at 7:37 pm on June 3, 2025: member
    It fails building on x86_64, aarch64 and with --system=riscv64-linux.
  7. hebasto commented at 4:45 pm on June 11, 2025: member

    This will become a issue when we want to bump the time-machine next…

    We definitely want to bump it to resolve #30206.

  8. hebasto commented at 7:28 am on June 13, 2025: member

    This will become a issue when we want to bump the time-machine next, and it’d be nicer if this is fixed and shipped upstream, rather than us having to work around the issue…

    I’ve bisected the issue down to https://codeberg.org/guix/guix/commit/d6780d79d936832e1b2ea9103eefecd0a838fb16.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-06-15 06:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me