emacs-bug-tracker
[Top][All Lists]
Advanced

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

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


From: GNU bug Tracking System
Subject: bug#62501: closed ([3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH)
Date: Sun, 02 Apr 2023 13:45:03 +0000

Your message dated Sun, 02 Apr 2023 15:44:24 +0200
with message-id <87v8ietn47.fsf@gnu.org>
and subject line Re: bug#62501: [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to 
$LD_ORIGIN_PATH
has caused the debbugs.gnu.org bug report #62501,
regarding [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH
to be marked as done.

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


-- 
62501: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62501
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH Date: Tue, 28 Mar 2023 11:11:56 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
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’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#62501: [3.0.9] ‘spawn’ test fails on GNU/Hurd, due to $LD_ORIGIN_PATH Date: Sun, 02 Apr 2023 15:44:24 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Ludovic Courtès <ludo@gnu.org> 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'.


--- End Message ---

reply via email to

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