bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39834: make check fails


From: zimoun
Subject: bug#39834: make check fails
Date: Mon, 2 Mar 2020 17:54:17 +0100

Hi Damien,

To ease the debugging processing, you should not run '-j4'.


I have tried:

--8<---------------cut here---------------start------------->8---
cd /tmp/
git clone https://git.savannah.gnu.org/git/guix.git
git checkout -b test f76c16d
guix time-machine --commit=f76c16d -- environment --pure guix
./bootstrap
./configure --localstatedir=/var/
make
make check
--8<---------------cut here---------------end--------------->8---

And I do not get the error. Everything passes as expected. Even with '-j4'.

--8<---------------cut here---------------start------------->8---
============================================================================
Testsuite summary for GNU Guix UNKNOWN
============================================================================
# TOTAL: 996
# PASS:  983
# SKIP:  11
# XFAIL: 2
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
--8<---------------cut here---------------end--------------->8---



Well, first about your "last" error:

--8<---------------cut here---------------start------------->8---
make[4]: *** [Makefile:5100: tests/store.log] Error 1
make[4]: *** Waiting for unfinished jobs....
PASS: tests/guix-build-branch.sh
PASS: tests/packages.scm
PASS: tests/guix-build.sh
make[4]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make[3]: *** [Makefile:5082: check-TESTS] Error 2
make[3]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make[2]: *** [Makefile:5325: check-am] Error 2
make[2]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make[1]: *** [Makefile:4859: check-recursive] Error 1
make[1]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make: *** [Makefile:5327: check] Error 2
--8<---------------cut here---------------end--------------->8---

it comes from the environment variable SHELL which is not defined
because of '--pure'. So you need somehow to export SHELL or
CONFIG_SHELL otherwise, you will get an error from '(string-append
"#!" %shell "\nexit 42")' because Guile will not know '%shell'.


About the lint.log error, I do not know. You should get something
instead of '#f'.


About the pack.log error, I am not able to reproduce your error:

--8<---------------cut here---------------start------------->8---
[...]
guix/build/utils.scm:652:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"mksquashfs" arguments: (".empty"
"/gnu/store/ncj3mfzqdjji32nsgd8k54zp916rm90n-squashfs-pack.gz.squashfs"
"-root-becomes" "store") exit-status: 1 term-signal: #f stop-signal:
#f] 7ffff4da8fc0>)'.
builder for 
`/gnu/store/ziq7rj7dq8d6azmzvabrlnps6kxv76mb-squashfs-pack.gz.squashfs.drv'
failed with exit code 1
cannot build derivation
`/gnu/store/dhxqv3z0axpvsgf5fwv6wm9c2rnfw0x5-check-tarball.drv': 1
dependencies couldn't be built
[...]
--8<---------------cut here---------------end--------------->8---

which is about 'mksquashfs'. You should simply try:

  make check TESTS="tests/pack.scm"

and report if it breaks too.


All the best,
simon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]