Guix build fails on M4 macOS host with Ubuntu in UTM #32759

issue Sjors openend this issue on June 16, 2025
  1. Sjors commented at 9:25 am on June 16, 2025: member

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Since #32431 my macOS (M4 using UTM) Guix builds no longer work:

    0HOSTS="x86_64-linux-gnu" contrib/guix/guix-build
    1...
    2guix shell: error: while setting up the build environment: cannot set armhf-linux personality: Invalid argument
    

    This seems to be something else than what I encountered on my native AMD Ubuntu machine: #32431 (comment)

    But perhaps a common factor is that this PR pulled in a lot of new guix packages.

    Expected behaviour

    Guix build should work, it does on c8abd972818f83d90bf50b250131f338034460ef.

    Steps to reproduce

    See below

    Relevant log output

     0$ HOSTS="x86_64-linux-gnu" contrib/guix/guix-build
     1Checking that we can connect to the guix-daemon...
     2
     3Hint: If this hangs, you may want to try turning your guix-daemon off and on
     4      again.
     5
     6make: Entering directory '/home/sjors/bitcoin/depends'
     7make[1]: Entering directory '/home/sjors/bitcoin/depends'
     8make[1]: Leaving directory '/home/sjors/bitcoin/depends'
     9make: Leaving directory '/home/sjors/bitcoin/depends'
    10INFO: Building fed41b75fbfa for platform triple x86_64-linux-gnu:
    11      ...using reference timestamp: 1749642062
    12      ...running at most 10 jobs
    13      ...from worktree directory: '/home/sjors/bitcoin'
    14          ...bind-mounted in container to: '/bitcoin'
    15      ...in build directory: '/home/sjors/bitcoin/guix-build-fed41b75fbfa/distsrc-fed41b75fbfa-x86_64-linux-gnu'
    16          ...bind-mounted in container to: '/distsrc-base/distsrc-fed41b75fbfa-x86_64-linux-gnu'
    17      ...outputting in: '/home/sjors/bitcoin/guix-build-fed41b75fbfa/output/x86_64-linux-gnu'
    18          ...bind-mounted in container to: '/outdir-base/x86_64-linux-gnu'
    19      ADDITIONAL FLAGS (if set)
    20          ADDITIONAL_GUIX_COMMON_FLAGS: --max-jobs=4 --no-substitutes
    21          ADDITIONAL_GUIX_ENVIRONMENT_FLAGS:
    22          ADDITIONAL_GUIX_TIMEMACHINE_FLAGS:
    23The following derivations will be built:
    24  /gnu/store/5kpjfn7qg25c4w1q3cczl565x0yi8mpb-python-lief-0.16.6.drv
    25  /gnu/store/04dcmhmlhgj2pgnyspb88lm5j9rwbd60-python-typing-extensions-4.9.0.drv
    26  /gnu/store/nd7dcikf5dnq113cxmb1r4w0q8ijs1qq-typing_extensions-4.9.0.tar.gz.drv
    27  /gnu/store/25adw1ck5fvbgvrx405c0l6kjag49j9z-python-importlib-metadata-5.2.0.drv
    28...
    29  /gnu/store/c985sj9mqmk3qvsd55b0g11hlv26krbk-msgpack-1.0.4.tar.gz.drv
    30  /gnu/store/x8vm49yz0k8wm3w2hgishy5q1svkcfaw-python-pymongo-4.1.1.drv
    31  /gnu/store/6dv3fazv5hnhwvgfnnykm0f2lwnajgsq-pymongo-4.1.1.tar.gz.drv
    32
    33building /gnu/store/ck789yrq1xslycd986zdh5fq8dknl3r3-rust-actix-derive-0.5.0.tar.gz.drv...
    34building /gnu/store/2xasv0pcv8gw6lafag6bkjfqkmlbj02f-rust-actix-http-1.0.1.tar.gz.drv...
    35building /gnu/store/qifi4hb8hjm6bk6nv4664fyw7cb25fgp-rust-actix-http-2.2.0.tar.gz.drv...
    36building /gnu/store/gm8l3rn479p9hf3zs1vj9pzchvcj42f8-rust-actix-macros-0.1.3.tar.gz.drv...
    37The following builds are still in progress:
    38  /gnu/store/qifi4hb8hjm6bk6nv4664fyw7cb25fgp-rust-actix-http-2.2.0.tar.gz.drv
    39  /gnu/store/ck789yrq1xslycd986zdh5fq8dknl3r3-rust-actix-derive-0.5.0.tar.gz.drv
    40
    41building /gnu/store/grpq0sq301rwsz6h4vbdx9sgvi64wai4-Python-2.7.18.tar.xz.drv...
    42The following builds are still in progress:
    43  /gnu/store/grpq0sq301rwsz6h4vbdx9sgvi64wai4-Python-2.7.18.tar.xz.drv
    44  /gnu/store/qifi4hb8hjm6bk6nv4664fyw7cb25fgp-rust-actix-http-2.2.0.tar.gz.drv
    45
    46The following builds are still in progress:
    47  /gnu/store/grpq0sq301rwsz6h4vbdx9sgvi64wai4-Python-2.7.18.tar.xz.drv
    48  /gnu/store/qifi4hb8hjm6bk6nv4664fyw7cb25fgp-rust-actix-http-2.2.0.tar.gz.drv
    49
    50building /gnu/store/sf5wwnpy8mr9l8iic2xz5bmg3bppjrj9-asynctest-0.13.0.tar.gz.drv...
    51building /gnu/store/hiqwnz4mhiad1zcqyf250b1ws0s36djc-attrs-21.2.0.tar.gz.drv...
    52The following builds are still in progress:
    53  /gnu/store/hiqwnz4mhiad1zcqyf250b1ws0s36djc-attrs-21.2.0.tar.gz.drv
    54  /gnu/store/sf5wwnpy8mr9l8iic2xz5bmg3bppjrj9-asynctest-0.13.0.tar.gz.drv
    55  /gnu/store/grpq0sq301rwsz6h4vbdx9sgvi64wai4-Python-2.7.18.tar.xz.drv
    56
    57note: keeping build directory `/tmp/guix-build-Python-2.7.18.tar.xz.drv-2'
    58note: keeping build directory `/tmp/guix-build-bash.drv-2'
    59note: keeping build directory `/tmp/guix-build-asynctest-0.13.0.tar.gz.drv-2'
    60note: keeping build directory `/tmp/guix-build-attrs-21.2.0.tar.gz.drv-2'
    61guix shell: error: while setting up the build environment: cannot set armhf-linux personality: Invalid argument
    

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master@fed41b75fbfa6d14cce852863271b1fb0206eef0

    Operating system and version

    MacOS 15.5 with UTM, guest (virtualized) Ubuntu 24.10 (aarch64

    Machine specifications

    M4

  2. maflcko added the label Build system on Jun 16, 2025


Sjors

Labels
Build system


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-17 12:13 UTC

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