GNU bug report logs - #39834
make check fails

Previous Next

Package: guix;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Sat, 29 Feb 2020 15:01:01 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39834 in the body.
You can then email your comments to 39834 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Sat, 29 Feb 2020 15:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Damien Cassou <damien <at> cassou.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 29 Feb 2020 15:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien <at> cassou.me>
To: bug-guix <at> gnu.org
Subject: make check fails
Date: Sat, 29 Feb 2020 15:59:38 +0100
[Message part 1 (text/plain, inline)]
OS: Fedora 31

$ guix describe
Generation 13   Feb 29 2020 15:00:51    (current)
  guix f76c16d
    repository URL: file:///home/cassou/Documents/projects/guix/guix
    branch: master
    commit: f76c16d220e6c349441c08bf25a5197037490fa5

$ cd /home/cassou/Documents/projects/guix/guix

$ guix environment --pure guix -- ./bootstrap

$ guix environment --pure guix -- ./configure --localstatedir=/var

$ guix environment --pure guix -- make check -j4
[…]
FAIL: tests/lint.scm
FAIL: tests/pack.scm
make[4]: *** [Makefile:5100: tests/store.log] Error 1
make[4]: *** Waiting for unfinished jobs....
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


-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
[make-check.log (text/plain, attachment)]
[pack.log (text/plain, attachment)]
[lint.log (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Mon, 02 Mar 2020 09:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 39834 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Damien Cassou <damien <at> cassou.me>
Cc: 39834 <at> debbugs.gnu.org
Subject: Re: bug#39834: make check fails
Date: Mon, 2 Mar 2020 10:57:07 +0100
Hi Damien,

On Sat, 29 Feb 2020 at 16:01, Damien Cassou <damien <at> cassou.me> wrote:

> $ guix describe
> Generation 13   Feb 29 2020 15:00:51    (current)
>   guix f76c16d
>     repository URL: file:///home/cassou/Documents/projects/guix/guix
>     branch: master
>     commit: f76c16d220e6c349441c08bf25a5197037490fa5
>
> $ cd /home/cassou/Documents/projects/guix/guix

I suppose that the Git repo is at the commit f76c16d, right?


> $ guix environment --pure guix -- ./bootstrap
>
> $ guix environment --pure guix -- ./configure --localstatedir=/var
>
> $ guix environment --pure guix -- make check -j4
> […]
> FAIL: tests/lint.scm
> FAIL: tests/pack.scm

The first test to fail is 'tests/lint.scm', right?
And is there only 2 failing tests?


All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Mon, 02 Mar 2020 13:21:01 GMT) Full text and rfc822 format available.

Message #11 received at 39834 <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien <at> cassou.me>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 39834 <at> debbugs.gnu.org
Subject: Re: bug#39834: make check fails
Date: Mon, 02 Mar 2020 14:20:40 +0100
zimoun <zimon.toutoune <at> gmail.com> writes:
> I suppose that the Git repo is at the commit f76c16d, right?

yes

> The first test to fail is 'tests/lint.scm', right?
> And is there only 2 failing tests?


yes. And the log files for those are attached to my initial email.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Information forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Mon, 02 Mar 2020 16:55:02 GMT) Full text and rfc822 format available.

Message #14 received at 39834 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Damien Cassou <damien <at> cassou.me>
Cc: 39834 <at> debbugs.gnu.org
Subject: Re: 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




Information forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Wed, 04 Mar 2020 14:33:02 GMT) Full text and rfc822 format available.

Message #17 received at 39834 <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien <at> cassou.me>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 39834 <at> debbugs.gnu.org
Subject: Re: bug#39834: make check fails
Date: Wed, 04 Mar 2020 15:32:28 +0100
[Message part 1 (text/plain, inline)]
zimoun <zimon.toutoune <at> gmail.com> writes:
> To ease the debugging processing, you should not run '-j4'.


ok


> Well, first about your "last" error: […]  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'.


I don't know (yet) how to do that so I have tried without --pure.


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


This one passes now. I've upgraded guix (but don't know if it is
related):

$ guix describe
Generation 20   Mar 04 2020 07:49:12    (current)
  guix 4b759d3
    repository URL: file:///home/cassou/Documents/projects/guix/guix
    branch: master
    commit: 4b759d3c548270eba348521669bae15c9e5b72bc


> About the pack.log error, I am not able to reproduce your error:
> which is about 'mksquashfs'. You should simply try:
>
>   make check TESTS="tests/pack.scm"


I tried with and without --pure, the result is the same. I also tried
without a guix environment:

$ make check TESTS="tests/pack.scm"
make  check-recursive
make[1]: Entering directory '/home/cassou/Documents/projects/guix/guix'
Making check in po/guix
make[2]: Entering directory '/home/cassou/Documents/projects/guix/guix/po/guix'
make[2]: Leaving directory '/home/cassou/Documents/projects/guix/guix/po/guix'
Making check in po/packages
make[2]: Entering directory '/home/cassou/Documents/projects/guix/guix/po/packages'
make[2]: Leaving directory '/home/cassou/Documents/projects/guix/guix/po/packages'
make[2]: Entering directory '/home/cassou/Documents/projects/guix/guix'
Compiling Scheme modules...
make  check-TESTS check-local
make[3]: Entering directory '/home/cassou/Documents/projects/guix/guix'
make[4]: Entering directory '/home/cassou/Documents/projects/guix/guix'
make[4]: *** [Makefile:5102: tests/pack.log] Error 1
make[4]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make[3]: *** [Makefile:5084: check-TESTS] Error 2
make[3]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make[2]: *** [Makefile:5327: check-am] Error 2
make[2]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make[1]: *** [Makefile:4861: check-recursive] Error 1
make[1]: Leaving directory '/home/cassou/Documents/projects/guix/guix'
make: *** [Makefile:5329: check] Error 2


Log is attached.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
[pack.log (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Wed, 07 Oct 2020 15:41:02 GMT) Full text and rfc822 format available.

Message #20 received at 39834 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Damien Cassou <damien <at> cassou.me>
Cc: 39834 <at> debbugs.gnu.org
Subject: Re: bug#39834: make check fails
Date: Wed, 07 Oct 2020 17:40:21 +0200
Dear,

On Wed, 04 Mar 2020 at 15:32, Damien Cassou <damien <at> cassou.me> wrote:

>> Well, first about your "last" error: […]  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'.
>
> I don't know (yet) how to do that so I have tried without --pure.

Well, I guess with the option ’-E SHELL’ or something like that.

--8<---------------cut here---------------start------------->8---
 -E, --preserve=REGEXP  preserve environment variables that match REGEXP
--8<---------------cut here---------------end--------------->8---


>> About the pack.log error, I am not able to reproduce your error:
>> which is about 'mksquashfs'. You should simply try:
>>
>>   make check TESTS="tests/pack.scm"
>
> I tried with and without --pure, the result is the same. I also tried
> without a guix environment:
>
> $ make check TESTS="tests/pack.scm"

[...]

> Log is attached.

--8<---------------cut here---------------start------------->8---
Backtrace:
In ice-9/threads.scm:
    390:8 19 (_ _)

[...]

In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for module" (gcrypt hash)) #f)

ERROR: In procedure scm-error:
no code for module (gcrypt hash)
--8<---------------cut here---------------end--------------->8---

It seems that you have not installed the package ’guile-gcrypt’.


Have you succeed to pass ’make check’ at the end?  What is the status?


All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#39834; Package guix. (Wed, 07 Oct 2020 15:48:01 GMT) Full text and rfc822 format available.

Message #23 received at 39834 <at> debbugs.gnu.org (full text, mbox):

From: Damien Cassou <damien <at> cassou.me>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 39834 <at> debbugs.gnu.org
Subject: Re: bug#39834: make check fails
Date: Wed, 07 Oct 2020 17:47:37 +0200
zimoun <zimon.toutoune <at> gmail.com> writes:
> Have you succeed to pass ’make check’ at the end?  What is the status?

I gave up on Guix and moved back to Nix.

Best

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Wed, 07 Oct 2020 15:56:02 GMT) Full text and rfc822 format available.

Notification sent to Damien Cassou <damien <at> cassou.me>:
bug acknowledged by developer. (Wed, 07 Oct 2020 15:56:02 GMT) Full text and rfc822 format available.

Message #28 received at 39834-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Damien Cassou <damien <at> cassou.me>
Cc: 39834-done <at> debbugs.gnu.org
Subject: Re: bug#39834: make check fails
Date: Wed, 7 Oct 2020 17:55:41 +0200
On Wed, 7 Oct 2020 at 17:47, Damien Cassou <damien <at> cassou.me> wrote:

> I gave up on Guix and moved back to Nix.

Sad to read.  Thank you for your feedback and bug report when you had used Guix.


Since information is missing to debug, let's close.

All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Nov 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.