unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46772: make check FAILs: publish.scm store.scm
@ 2021-02-25 14:51 Sanne Wouda
  2021-03-02 21:51 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Sanne Wouda @ 2021-02-25 14:51 UTC (permalink / raw)
  To: 46772

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46772: make check FAILs: publish.scm store.scm
  2021-02-25 14:51 bug#46772: make check FAILs: publish.scm store.scm Sanne Wouda
@ 2021-03-02 21:51 ` Leo Famulari
  2024-11-17 12:26   ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2021-03-02 21:51 UTC (permalink / raw)
  To: Sanne Wouda; +Cc: 46772

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46772: make check FAILs: publish.scm store.scm
  2021-03-02 21:51 ` Leo Famulari
@ 2024-11-17 12:26   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-11-17 12:26 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 46772-done, Sanne Wouda

Hello,

Leo Famulari <leo@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-17 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25 14:51 bug#46772: make check FAILs: publish.scm store.scm Sanne Wouda
2021-03-02 21:51 ` Leo Famulari
2024-11-17 12:26   ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).