Bon dia!
Mathieu Othacehe skribis:
>> As for the detection, this appears to work:
>>
>> (define (binfmt-misc?)
>> (let ((pid (getpid))
>> (cmdline (call-with-input-file "/proc/self/cmdline"
>> get-string-all)))
>> (match (primitive-fork)
>> (0 (dynamic-wind
>>
Hola!
> As for the detection, this appears to work:
>
> (define (binfmt-misc?)
> (let ((pid (getpid))
> (cmdline (call-with-input-file "/proc/self/cmdline"
> get-string-all)))
> (match (primitive-fork)
> (0 (dynamic-wind
> (const #t)
>
> Mmmh, I get what's going on in tests/processes.scm. It's an issue in
> (guix scripts processes) where argv0 is checked for "guix-daemon".
>
> When using --system my-system, argv0 is "qemu-my-system". So we need to
> check both argv0 and argv1 for "guix-daemon".
>
> I'll propose a patch.
Here
About the failing test below, lzip is not found on armhf and all tests
are skipped but the last one, that fails.
The patch attached, makes sure that this test is also skipped if lzip is
not found.
Now I'm not sure why it is not found but that's another matter.
WDYT?
Mathieu
>
Mmmh, I get what's going on in tests/processes.scm. It's an issue in
(guix scripts processes) where argv0 is checked for "guix-daemon".
When using --system my-system, argv0 is "qemu-my-system". So we need to
check both argv0 and argv1 for "guix-daemon".
I'll propose a patch.
Mathieu
Hello,
I have 3 failing tests when building guix 1.0.1-10.41b4b71 on armhf. I
didn't build with -K argument and as it takes ~10 hours, so I'll just paste
my terminal output for now.
It seems to fail on ci.guix.info but the log is partial?