[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44626: tests/build-utils, tests/guix-system: fail when build path co
From: |
Ludovic Courtès |
Subject: |
bug#44626: tests/build-utils, tests/guix-system: fail when build path contains "~" |
Date: |
Mon, 16 Nov 2020 12:57:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi!
Vagrant Cascadian <vagrant@debian.org> skribis:
> When building from a build path containing a "~", such as:
>
> /build/guix-1WL3Dl/guix-1.2.0~rc1/
>
> tests/build-utils.scm and tests/guix-system.sh both fail.
[...]
> FAIL: tests/build-utils
> =======================
> ...
> test-name: wrap-script, simple case
> location: /<<PKGBUILDDIR>>/tests/build-utils.scm:152
> source:
> + (test-equal
> + "wrap-script, simple case"
[…]
> + make_user_config users wheel
> + cat
> + guix system build t-guix-system-6249 -n
> accepted connection from pid 6454, user vagrant
> guix system: error: invalid character `~' in name
> `shepherd-file-system--build-guix-1WL3Dl-guix-1.2.0~rc1-test-tmp-store.scm-builder'
I believe both are fixed by 977eb5d023cfdf8e336f1896480eea9cef5c04e9.
Note that another solution to sidestep those issues would have been to
use a test store that doesn’t contain ‘~’, like so:
./configure ac_cv_guix_test_root=/tmp/build-guix…/store
Thanks!
Ludo’.