Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
contrib/guix/guix-build
fails with error:
0$ contrib/guix/guix-build
1Found macOS SDK at '/SDK_PATH/Xcode-15.0-15A240d-extracted-SDK-with-libcxx-headers', using...
2Checking that we can connect to the guix-daemon...
3
4Hint: If this hangs, you may want to try turning your guix-daemon off and on
5 again.
6
7WARNING: Use of `load' in declarative module (guix ui). Add #:declarative? #f to your define-module invocation.
8WARNING: (guix build python-build-system): imported module (guix build utils) overrides core binding `delete'
9make: Entering directory '/BITCOIN-GUIX/depends'
10make[1]: Entering directory '/BITCOIN-GUIX/depends'
11Fetching sqlite-autoconf-3460100.tar.gz from https://sqlite.org/2024/
12 % Total % Received % Xferd Average Speed Time Time Time Current
13 Dload Upload Total Spent Left Speed
14100 3189k 100 3189k 0 0 258k 0 0:00:12 0:00:12 --:--:-- 487k
15/BITCOIN-GUIX/depends/work/download/sqlite-3460100/sqlite-autoconf-3460100.tar.gz.temp: OK
16make[1]: Leaving directory '/BITCOIN-GUIX/depends'
17make: Leaving directory '/BITCOIN-GUIX/depends'
18make: Entering directory '/BITCOIN-GUIX/depends'
19make[1]: Entering directory '/BITCOIN-GUIX/depends'
20make[1]: Leaving directory '/BITCOIN-GUIX/depends'
21make: Leaving directory '/BITCOIN-GUIX/depends'
22make: Entering directory '/BITCOIN-GUIX/depends'
23make[1]: Entering directory '/BITCOIN-GUIX/depends'
24make[1]: Leaving directory '/BITCOIN-GUIX/depends'
25make: Leaving directory '/BITCOIN-GUIX/depends'
26make: Entering directory '/BITCOIN-GUIX/depends'
27make[1]: Entering directory '/BITCOIN-GUIX/depends'
28make[1]: Leaving directory '/BITCOIN-GUIX/depends'
29make: Leaving directory '/BITCOIN-GUIX/depends'
30make: Entering directory '/BITCOIN-GUIX/depends'
31make[1]: Entering directory '/BITCOIN-GUIX/depends'
32make[1]: Leaving directory '/BITCOIN-GUIX/depends'
33make: Leaving directory '/BITCOIN-GUIX/depends'
34make: Entering directory '/BITCOIN-GUIX/depends'
35make[1]: Entering directory '/BITCOIN-GUIX/depends'
36make[1]: Leaving directory '/BITCOIN-GUIX/depends'
37make: Leaving directory '/BITCOIN-GUIX/depends'
38make: Entering directory '/BITCOIN-GUIX/depends'
39make[1]: Entering directory '/BITCOIN-GUIX/depends'
40make[1]: Leaving directory '/BITCOIN-GUIX/depends'
41make: Leaving directory '/BITCOIN-GUIX/depends'
42make: Entering directory '/BITCOIN-GUIX/depends'
43make[1]: Entering directory '/BITCOIN-GUIX/depends'
44make[1]: Leaving directory '/BITCOIN-GUIX/depends'
45make: Leaving directory '/BITCOIN-GUIX/depends'
46INFO: Building f07a533dfcb1 for platform triple x86_64-linux-gnu:
47 ...using reference timestamp: 1730324259
48 ...running at most 32 jobs
49 ...from worktree directory: '/BITCOIN-GUIX'
50 ...bind-mounted in container to: '/bitcoin'
51 ...in build directory: '/BITCOIN-GUIX/guix-build-f07a533dfcb1/distsrc-f07a533dfcb1-x86_64-linux-gnu'
52 ...bind-mounted in container to: '/distsrc-base/distsrc-f07a533dfcb1-x86_64-linux-gnu'
53 ...outputting in: '/BITCOIN-GUIX/guix-build-f07a533dfcb1/output/x86_64-linux-gnu'
54 ...bind-mounted in container to: '/outdir-base/x86_64-linux-gnu'
55 ADDITIONAL FLAGS (if set)
56 ADDITIONAL_GUIX_COMMON_FLAGS:
57 ADDITIONAL_GUIX_ENVIRONMENT_FLAGS:
58 ADDITIONAL_GUIX_TIMEMACHINE_FLAGS:
59WARNING: Use of `load' in declarative module (guix ui). Add #:declarative? #f to your define-module invocation.
60WARNING: (guix build python-build-system): imported module (guix build utils) overrides core binding `delete'
61substitute: WARNING: Use of `load' in declarative module (guix ui). Add #:declarative? #f to your define-module invocation.
62substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
63substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
64The following derivations will be built:
65 /gnu/store/vf3g31fiv3f02b0waksjnc89f7idn4q0-gcc-cross-x86_64-linux-gnu-12.4.0.drv
66 /gnu/store/2v8vzhkglwbl2b3ixg7jxq980la85wn9-glibc-cross-x86_64-linux-gnu-2.31.drv
67 /gnu/store/7qazn4h80fjq8pjsg23qgfswhb15ydjj-x86_64-linux-gnu-toolchain-12.4.0.drv
68
69building /gnu/store/2v8vzhkglwbl2b3ixg7jxq980la85wn9-glibc-cross-x86_64-linux-gnu-2.31.drv...
70building /gnu/store/vf3g31fiv3f02b0waksjnc89f7idn4q0-gcc-cross-x86_64-linux-gnu-12.4.0.drv...
71building /gnu/store/7qazn4h80fjq8pjsg23qgfswhb15ydjj-x86_64-linux-gnu-toolchain-12.4.0.drv...
72The following derivation will be built:
73 /gnu/store/ra8ffnx4x3y29myr3agwp27pcjirixs6-profile.drv
74
75applying 10 grafts for gcc-cross-x86_64-linux-gnu-12.4.0 ...
76building CA certificate bundle...
77listing Emacs sub-directories...
78building fonts directory...
79building directory of Info manuals...
80building profile with 25 packages...
81guix shell: error: mount: mount "none" on "/tmp/guix-directory.VEMlin": Permission denied
Expected behaviour
Expected to produce a build
Steps to reproduce
- get
guix
environment bysudo apt install guix
- download Mac OS SDK and setup environment path for it
- call
contrib/guix/guix-build
Relevant log output
No response
How did you obtain Bitcoin Core
Other
What version of Bitcoin Core are you using?
master@f07a533dfcb172321972e5afb3b38a4bd24edb87
Operating system and version
Kubuntu 24.10
Machine specifications
0$ cat /proc/cpuinfo | grep 'model name' | head -n 1
1model name : AMD Ryzen 9 5950X 16-Core Processor
2
3$ cat /etc/mtab | grep /tmp
4tmpfs /tmp tmpfs rw,nosuid,nodev,size=32866460k,nr_inodes=1048576,inode64 0 0
5
6$ guix --version
7WARNING: Use of `load' in declarative module (guix ui). Add #:declarative? #f to your define-module invocation.
8guix (GNU Guix) 1.4.0
9Copyright (C) 2022 the Guix authors
10License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
11This is free software: you are free to change and redistribute it.
12There is NO WARRANTY, to the extent permitted by law.