GNU bug report logs - #76343
shepherd 1.0.2 --help: warning: call to environ while multiple threads are running; further behavior unspecified.

Previous Next

Package: guix;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Sun, 16 Feb 2025 17:31:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 76343 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Josefsson <simon <at> josefsson.org>
Cc: 76343 <at> debbugs.gnu.org
Subject: Re: bug#76343: shepherd 1.0.2 --help: warning: call to environ
 while multiple threads are running; further behavior unspecified.
Date: Thu, 27 Feb 2025 17:26:57 +0100
Hi Simon,

Simon Josefsson <simon <at> josefsson.org> skribis:

> Thank you! Does this make shepherd Debian packages useless, or can we suggest people to ignore the warning? Any simple way to patch it out from within shepherd? The Debian freeze is in two weeks and it would be nice to give a good first impression to people try it shepherd from Debian… i could try to get guile patched, but it is getting late.

A simple way would be to patch out the ‘environ’ warning in Guile: it
didn’t exist before 3.0.10, it’s bogus (it fires even when you’re not
mutating the environment and even with just a single user thread, as is
the case here), and the comment itself doesn’t change program behavior.

If that’s not adequate, we could try and come up with a quick hack for
shepherd to avoid the ‘environ’ call at the top-level (though that’s
probably not something I would consider for inclusion in the Shepherd
proper.)

WDYT?

Ludo’.




This bug report was last modified 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.