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>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46772: closed (make check FAILs: publish.scm store.scm)
Date: Sun, 17 Nov 2024 12:28:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 17 Nov 2024 21:26:07 +0900
with message-id <87wmh2dp28.fsf <at> gmail.com>
and subject line Re: bug#46772: make check FAILs: publish.scm store.scm
has caused the debbugs.gnu.org bug report #46772,
regarding make check FAILs: publish.scm store.scm
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46772: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46772
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (message/rfc822, inline)]
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 244 days ago.

Previous Next


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