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

issue fanquake opened 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:

    # guix --version
    guix (GNU Guix) 4b9d14378fcc3d8dd4eea36b541fe87e198fd7b8
    
    # guix build --no-substitutes nsis-x86_64
    Source/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> >]’
    Source/Plugins.cpp:287:31:   required from here
    /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
      768 |               is_invocable_v<const _Compare&, const _Key&, const _Key&>,
          |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    scons: *** [build/urelease/makensis/build.o] Error 1
    scons: *** [build/urelease/makensis/Plugins.o] Error 1
    scons: building terminated because of errors.
    error: in phase 'build': uncaught exception:
    %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> 
    phase `build' failed after 6.9 seconds
    command "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
    build process 18 exited with status 256
    builder for `/gnu/store/slxnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv' failed with exit code 1
    build of /gnu/store/slxnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv failed
    View build log at '/var/log/guix/drvs/sl/xnpxq0d350mbdb0iikgdqxdvr0c6c7-nsis-x86_64-3.10.drv.gz'.
    guix 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.

  9. hebasto closed this on Jun 15, 2025


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: 2026-04-17 00:12 UTC

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