guix: failure on Kubuntu 24-10: error: mount: mount “none” on “/tmp/guix-directory.VEMlin”: Permission denied #31202

issue knst openend this issue on November 1, 2024
  1. knst commented at 1:42 pm on November 1, 2024: contributor

    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

    1. get guix environment by sudo apt install guix
    2. download Mac OS SDK and setup environment path for it
    3. 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.
    
  2. knst commented at 1:46 pm on November 1, 2024: contributor
    This issue happened first time after update from Kubuntu 23.10 to Kubuntu 24.04. After that I wiped guix by this instruction https://gist.github.com/dominiwe/0c8c760b53ea6bdca611dec38b40006f re-installed it again; updated from Kubuntu 24.04 to Kubuntu 24.10 but this issue still here and I can’t build Bitcoin Core with guix on this machine anymore.
  3. hebasto commented at 1:54 pm on November 1, 2024: member
  4. maflcko added the label Upstream on Nov 1, 2024
  5. maflcko added the label Build system on Nov 1, 2024
  6. knst commented at 2:36 pm on November 4, 2024: contributor

    Removing app-armor and re-installing guix + reboot helped, thanks for quick help! seems nothing to fix in bitcoin-core then.

    P.S. I guess I’m moving to Manjaro; a broken AppArmor package out of the box for 2 continuous releases is disappointing.

  7. knst closed this on Nov 4, 2024


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: 2024-11-21 09:12 UTC

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