GNU bug report logs - #58858
Installation script fails on distributions that use busybox

Previous Next

Package: guix;

Reported by: conses <contact <at> conses.eu>

Date: Sat, 29 Oct 2022 04:13:03 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58858 in the body.
You can then email your comments to 58858 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#58858; Package guix. (Sat, 29 Oct 2022 04:13:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to conses <contact <at> conses.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 29 Oct 2022 04:13:03 GMT) Full text and rfc822 format available.

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

From: conses <contact <at> conses.eu>
To: bug-guix <at> gnu.org
Subject: Installation script fails on distributions that use busybox
Date: Fri, 28 Oct 2022 22:30:57 +0200
Hi,

Following the instructions in the manual, I attempted to install the
package manager in Alpine Linux via the official installation
script. However, after completing the first prompts I got the error
"mktemp: (null): Invalid argument". Upon closer inspection of the script
and busybox's `mktemp' help page, which states the following:

TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX)

It's clear that the script should be modified to account for this with
at least 6 "X" characters in the template, and this wouldn't pose a
problem with GNU's `mktemp' because it takes "at least" 3 of them.

-- 
Best regards,
conses




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 16 Nov 2022 21:31:01 GMT) Full text and rfc822 format available.

Notification sent to conses <contact <at> conses.eu>:
bug acknowledged by developer. (Wed, 16 Nov 2022 21:31:02 GMT) Full text and rfc822 format available.

Message #10 received at 58858-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: conses <contact <at> conses.eu>
Cc: 58858-done <at> debbugs.gnu.org
Subject: Re: bug#58858: Installation script fails on distributions that use
 busybox
Date: Wed, 16 Nov 2022 16:30:46 -0500
Hi,

conses <contact <at> conses.eu> writes:

> Hi,
>
> Following the instructions in the manual, I attempted to install the
> package manager in Alpine Linux via the official installation
> script. However, after completing the first prompts I got the error
> "mktemp: (null): Invalid argument". Upon closer inspection of the script
> and busybox's `mktemp' help page, which states the following:
>
> TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX)
>
> It's clear that the script should be modified to account for this with
> at least 6 "X" characters in the template, and this wouldn't pose a
> problem with GNU's `mktemp' because it takes "at least" 3 of them.

Thanks for the investigation and solution.  Applied in 6aa5d1dc24, which
should now be live at https://guix.gnu.org/install.sh.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 15 Dec 2022 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 130 days ago.

Previous Next


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