Subject: bug#62501: closed (Re: bug#62501: [3.0.9] ‘spawn’test fails on GNU/Hurd, due to $LD_ORIGIN_PATH)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 02 Apr 2023 13:45:03 +0000

Your bug report

#62501: [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62501: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62501
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#62501: [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Sun, 02 Apr 2023 15:44:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> On GNU/Hurd, the ‘exec’ server always sets ‘LD_ORIGIN_PATH’ in the
> environment of programs it executes—see ‘do_exec’ in ‘exec/exec.c’.
> Consequently, the ‘spawn’ test that checks environment variables fails:
>
> Running posix.test
> UNRESOLVED: posix.test: affinity: getaffinity
> UNRESOLVED: posix.test: affinity: setaffinity
> FAIL: posix.test: spawn: env with #:environment and #:output - arguments: (expected-value "GNU=guile\n" actual-value "LD_ORIGIN_PATH=/gnu/store/9ln4hd7c1p7vn31wi0cf4pp8r9sy6pvw-coreutils-8.32/bin\nGNU=guile\n")
> UNRESOLVED: posix.test: spawn: ls /proc/self/fd

Fixed in e93525e549ba4d5ec52ec90aaf051f546d854cea.

Ludo'.

Subject: [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Tue, 28 Mar 2023 11:11:56 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On GNU/Hurd, the ‘exec’ server always sets ‘LD_ORIGIN_PATH’ in the
environment of programs it executes—see ‘do_exec’ in ‘exec/exec.c’.
Consequently, the ‘spawn’ test that checks environment variables fails:

--8<---------------cut here---------------start------------->8---
Running posix.test
UNRESOLVED: posix.test: affinity: getaffinity
UNRESOLVED: posix.test: affinity: setaffinity
FAIL: posix.test: spawn: env with #:environment and #:output - arguments: (expected-value "GNU=guile\n" actual-value "LD_ORIGIN_PATH=/gnu/store/9ln4hd7c1p7vn31wi0cf4pp8r9sy6pvw-coreutils-8.32/bin\nGNU=guile\n")
UNRESOLVED: posix.test: spawn: ls /proc/self/fd
--8<---------------cut here---------------end--------------->8---

(This is after applying a fix for <https://issues.guix.gnu.org/61095>.)

Ludo’.