bug-guix
[Top][All Lists]
Advanced

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

bug#64760: make check fails on 182be30fb1a8b847c30492462ec22c08ec7a9849


From: Janneke Nieuwenhuizen
Subject: bug#64760: make check fails on 182be30fb1a8b847c30492462ec22c08ec7a9849
Date: Fri, 11 Aug 2023 14:31:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Ludovic Courtès writes:

Hey!

> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> test-name: gc-roots, initial
>> location: /home/janneke/src/guix/master/tests/store-roots.scm:33
>> source:
>> + (test-equal
>> +   "gc-roots, initial"
>> +   (list (string-append %state-directory "/profiles"))
>> +   (begin
>> +     (delete-file-recursively
>> +       (string-append %state-directory "/profiles"))
>> +     (gc-roots)))
>> expected-value: ("/home/janneke/src/guix/master/test-tmp/var/9734/profiles")
>> actual-value: #f
>> actual-error:
>> + (system-error
>> +   "lstat"
>> +   "~A: ~S"
>> +   ("No such file or directory"
>> +    "/home/janneke/src/guix/master/test-tmp/var/9734/profiles")
>> +   (2))
>> result: FAIL
>
> Hmm, this test passes for me.

Well, what would you know, it passes for me too...

> Could you get a backtrace so we see where the ‘lstat’ exception comes
> from?  (To get the backtrace, you can raise (begin …) out of
> ‘test-equal’ and then “make check TESTS=tests/store-root.scm”.)

...as I found out after trying this.  I had my source tree configured
using --disable-daemon --disable-nls (a nifty feature that I encountered
only recently)...and then this (patched) test fails.  After
reconfiguring, all is well.

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com





reply via email to

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