GNU bug report logs -
#58858
Installation script fails on distributions that use busybox
Previous Next
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.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 16 Nov 2022 16:30:46 -0500
with message-id <87fseiio3d.fsf <at> gmail.com>
and subject line Re: bug#58858: Installation script fails on distributions that use busybox
has caused the debbugs.gnu.org bug report #58858,
regarding Installation script fails on distributions that use busybox
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
58858: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58858
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 2 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.