GNU bug report logs - #41411
gnu: gnurl: Update to 7.70.0

Previous Next

Package: guix-patches;

Reported by: Nikita Gillmann <nikita <at> n0.is>

Date: Tue, 19 May 2020 22:18:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Nikita Gillmann <nikita <at> n0.is>
Cc: 41411 <at> debbugs.gnu.org
Subject: [bug#41411] gnu: gnurl: Update to 7.70.0
Date: Wed, 20 May 2020 02:54:22 +0200
> runtests.pl:
> In the environment of guix, $USER is unset.
>
> # get the name of the current user
> my $USER = $ENV{USER};          # Linux
> if (!$USER) {
>     $USER = $ENV{USERNAME};     # Windows
>     if (!$USER) {
>         $USER = $ENV{LOGNAME};  # Some Unix (I think)
>     }
> }
>
>
> leads to $USER being uninitialized at some point (around line 3600 or
> something further below, grep for it). The tests loudly complain to the
> log but it's not fatal.

What is the USER variable used for?  If it’s not needed why set it at all?

-- 
Ricardo




This bug report was last modified 4 years and 341 days ago.

Previous Next


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