GNU bug report logs - #46772
make check FAILs: publish.scm store.scm

Previous Next

Package: guix;

Reported by: "Sanne Wouda" <yt <at> dutchman.dev>

Date: Thu, 25 Feb 2021 15:25:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

To reply to this bug, email your comments to 46772 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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#46772; Package guix. (Thu, 25 Feb 2021 15:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Sanne Wouda" <yt <at> dutchman.dev>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 25 Feb 2021 15:25:02 GMT) Full text and rfc822 format available.

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

From: "Sanne Wouda" <yt <at> dutchman.dev>
To: bug-guix <at> gnu.org
Subject: make check FAILs: publish.scm store.scm
Date: Thu, 25 Feb 2021 14:51:29 +0000
I'm seeing two failures when running the guix test suite on HEAD (c1da9829f8b6)

publish.scm "with cache" fails on line 456:

(= #o644 (stat:perms (lstat nar)))

which seems to be due to umask:

$ umask
0002

If I set umask to 022, the test passes.

The second failure is a crash in store.scm, which appears to be due to %shell being initialized to #f. I run make check inside guix environment guix --pure . Before running make check, SHELL=/bin/bash , so I'm not sure how (getenv "SHELL") would return #f.




Information forwarded to bug-guix <at> gnu.org:
bug#46772; Package guix. (Tue, 02 Mar 2021 21:52:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Sanne Wouda <yt <at> dutchman.dev>
Cc: 46772 <at> debbugs.gnu.org
Subject: Re: bug#46772: make check FAILs: publish.scm store.scm
Date: Tue, 2 Mar 2021 16:51:40 -0500
On Thu, Feb 25, 2021 at 02:51:29PM +0000, Sanne Wouda wrote:
> I'm seeing two failures when running the guix test suite on HEAD (c1da9829f8b6)
> 
> publish.scm "with cache" fails on line 456:
> 
> (= #o644 (stat:perms (lstat nar)))
> 
> which seems to be due to umask:
> 
> $ umask
> 0002
> 
> If I set umask to 022, the test passes.

I wonder if this is the same as <https://bugs.gnu.org/46413>

> The second failure is a crash in store.scm, which appears to be due to %shell being initialized to #f. I run make check inside guix environment guix --pure . Before running make check, SHELL=/bin/bash , so I'm not sure how (getenv "SHELL") would return #f.

I submitted a patch for this:

https://bugs.gnu.org/46445




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 17 Nov 2024 12:28:02 GMT) Full text and rfc822 format available.

Notification sent to "Sanne Wouda" <yt <at> dutchman.dev>:
bug acknowledged by developer. (Sun, 17 Nov 2024 12:28:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 46772-done <at> debbugs.gnu.org, Sanne Wouda <yt <at> dutchman.dev>
Subject: Re: bug#46772: make check FAILs: publish.scm store.scm
Date: Sun, 17 Nov 2024 21:26:07 +0900
Hello,

Leo Famulari <leo <at> famulari.name> writes:

> On Thu, Feb 25, 2021 at 02:51:29PM +0000, Sanne Wouda wrote:
>> I'm seeing two failures when running the guix test suite on HEAD (c1da9829f8b6)
>> 
>> publish.scm "with cache" fails on line 456:
>> 
>> (= #o644 (stat:perms (lstat nar)))
>> 
>> which seems to be due to umask:
>> 
>> $ umask
>> 0002
>> 
>> If I set umask to 022, the test passes.
>
> I wonder if this is the same as <https://bugs.gnu.org/46413>
>
>> The second failure is a crash in store.scm, which appears to be due
>> to %shell being initialized to #f. I run make check inside guix
>> environment guix --pure . Before running make check, SHELL=/bin/bash
>> , so I'm not sure how (getenv "SHELL") would return #f.
>
> I submitted a patch for this:
>
> https://bugs.gnu.org/46445

This was merged and tests/publish.scm passes on master.  Closing.

-- 
Thanks,
Maxim




This bug report was last modified 9 days ago.

Previous Next


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