Subject: bug#51848: `make && make check` fails

From: Andrew Tropin <[email-masked]>
Date: Mon, 22 Nov 2021 13:13:33 +0300

On 2021-11-15 17:01, zimoun wrote:

> Hi,
>
> On dim., 14 nov. 2021 at 15:50, Rostislav Svoboda <[email-masked]> wrote:
>
>>   FAIL: tests/home-import.scm
>>   FAIL: tests/guix-home.sh
>
> I confirm the failures using Guix ce9b9e7cba.
>
>
> --8<---------------cut here---------------start------------->8---
> ;;; (fail (begin (use-modules (gnu home) (gnu packages) (gnu services) (guix gexp) (gnu home services shells)) (home-environment (packages (map specification->package (list))) (services (list (service home-bash-service-type (home-bash-configuration (aliases (quote ())) (bashrc (list (local-file "/tmp/guix-config/.bashrc" "bashrc"))))))))) #f)
> test-name: manifest->code: Bash service
> location: /home/sitour/src/guix/wk/remove-python2/tests/home-import.scm:181
> source:
> + (test-assert
> +   "manifest->code: Bash service"
> +   (eval-test-with-home-environment
> +     '((".bashrc" . "echo 'hello guix'"))
> +     (make-manifest '())
> +     match-home-environment-bash-service))
> actual-value: #f
> result: FAIL
> --8<---------------cut here---------------end--------------->8---
https://issues.guix.gnu.org/51918 may be related
>
> --8<---------------cut here---------------start------------->8---
> + set -e
> + guix home --version
> guix show (GNU Guix) 1.3.0.8404-ce9b9
> Copyright (C) 2021 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> ++ guile -c '(use-modules (guix config))(display %storedir)'
> + NIX_STORE_DIR=/gnu/store
> ++ guile -c '(use-modules (guix config))(display %localstatedir)'
> + localstatedir=/var
> + GUIX_DAEMON_SOCKET=/var/guix/daemon-socket/socket
> + export NIX_STORE_DIR GUIX_DAEMON_SOCKET
> + guile -c '(use-modules (guix)) (exit (false-if-exception (open-connection)))'
> ++ dirname /gnu/store
> + STORE_PARENT=/gnu
> + export STORE_PARENT
> + test /gnu = /
> ++ mktemp -d
> + test_directory=/tmp/tmp.ScA50H2Z6n
> + trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT
> + cd /tmp/tmp.ScA50H2Z6n
> + HOME=/tmp/tmp.ScA50H2Z6n
> + export HOME
> + printf '# dot-bashrc test file for guix home'
> + cat
> + guix home reconfigure /tmp/tmp.ScA50H2Z6n/home.scm
> guix home: error: reference to invalid output 'out' of derivation '/gnu/store/a6cwlz5yibi7w3pfm60j26inf434ard2-on-first-login.drv'
This one was fixed in e5d8302b2ce596a0518ea5bd79b338f68a3246eb.
https://issues.guix.gnu.org/51915
> + chmod -Rf +w /tmp/tmp.ScA50H2Z6n
> + rm -rf /tmp/tmp.ScA50H2Z6n
> FAIL tests/guix-home.sh (exit status: 1)
> --8<---------------cut here---------------end--------------->8---
>
>
> Cheers,
> simon

-- 
Best regards,
Andrew Tropin