From unknown Sat Jun 14 19:27:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58858: Installation script fails on distributions that use busybox Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 29 Oct 2022 04:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58858 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58858@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166701674719521 (code B ref -1); Sat, 29 Oct 2022 04:13:03 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 04:12:27 +0000 Received: from localhost ([127.0.0.1]:34722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oodCs-00054g-Lp for submit@debbugs.gnu.org; Sat, 29 Oct 2022 00:12:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:46482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooW0P-0008A5-Pn for submit@debbugs.gnu.org; Fri, 28 Oct 2022 16:31:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooW0P-0004NO-J7 for bug-guix@gnu.org; Fri, 28 Oct 2022 16:31:05 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooW0L-0006dc-Rr for bug-guix@gnu.org; Fri, 28 Oct 2022 16:31:05 -0400 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id 3E6A9C0005 for ; Fri, 28 Oct 2022 20:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1666989058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=j8rn/wI3NdcsoF11z0DJHbF77n22Cph65lgGh//33Lo=; b=mawotFauHZSbGsZvlAzRgyAiOvFDKvwznNjeHsKRvHmYOdlBA0CWDgxGpqbuN9UwyfB6Wc g4C6vH1qyYI05bUwxp0/lZwHSWOCNthL2uCKsuLK7BUSgMLN24tWsNIBYR8JhmZ2Fq9TCH YW0Apos56rgnkYU6FC5CgTtujIvZIF6e0NI9UWGz8y0JuP3EEUCbd7EzlceBNpdNGLmvK8 3f8oCRYIpIzfsCKX9YqNo9EohMIyxY2SmqbHQG3bjA1W2ENKleuTkg58X5mTIpRqDXlz9d FHf0G0qGirrHKLwT8MGivneQi4R51yhJmQm2/Z2W7FOqNMmNcYFtuQQacCCrHQ== From: conses Date: Fri, 28 Oct 2022 22:30:57 +0200 Message-ID: <86k04jsnb2.fsf@conses.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.198; envelope-from=contact@conses.eu; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Mailman-Approved-At: Sat, 29 Oct 2022 00:12:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 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 From unknown Sat Jun 14 19:27:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: conses Subject: bug#58858: closed (Re: bug#58858: Installation script fails on distributions that use busybox) Message-ID: References: <87fseiio3d.fsf@gmail.com> <86k04jsnb2.fsf@conses.eu> X-Gnu-PR-Message: they-closed 58858 X-Gnu-PR-Package: guix Reply-To: 58858@debbugs.gnu.org Date: Wed, 16 Nov 2022 21:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1668634262-9815-1" This is a multi-part message in MIME format... ------------=_1668634262-9815-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58858: Installation script fails on distributions that use busybox which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58858@debbugs.gnu.org. --=20 58858: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58858 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1668634262-9815-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58858-done) by debbugs.gnu.org; 16 Nov 2022 21:30:56 +0000 Received: from localhost ([127.0.0.1]:58319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovPzj-0002Y0-Uq for submit@debbugs.gnu.org; Wed, 16 Nov 2022 16:30:56 -0500 Received: from mail-qv1-f53.google.com ([209.85.219.53]:38806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovPzi-0002Xo-4B for 58858-done@debbugs.gnu.org; Wed, 16 Nov 2022 16:30:55 -0500 Received: by mail-qv1-f53.google.com with SMTP id o8so12816334qvw.5 for <58858-done@debbugs.gnu.org>; Wed, 16 Nov 2022 13:30:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nQ3pfYht0GWsSmGxmd2YOjotX++Hh8bNSuIqoeiPdWs=; b=HnHpSWRh1CsU8L63Zgnfe3EKDd5TLCyLgCToE8tg8GIU0C9klE1CX22qXGPDAMB+yj LHqzMx16IvmWNK5S940+OVXthJWQ5z3zweC4dUqKGfeRUlaJwGvWN4BKNlPXhXxvCEFf +rMLBt+QbSYvs75o7Ws0oSHATmwFZlC6WusjMnyQHsdMrFm/gORdnssyg2f6KXcTYU4n n+Ly1X4ADoABOIm4ERqgiS4fxlCxuXrbQq5K4YXFXKcTm3DUlus+jEGpsL2DkjLfjgqX zilNuZI68rOOv0t7xoHNBiB0jerOp+JVa//VxmIHBfmiXnrrs3wFCYcecIpi7KaYL7rL KieQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nQ3pfYht0GWsSmGxmd2YOjotX++Hh8bNSuIqoeiPdWs=; b=QknfjK84JQDcwVzJQOx6jCFw9G8REI0hmb41v2ulMeKswK4Gt+WtNnQh/nlAXupYxT rjI2ivDKa5x5zz6O01iS6SJQf5LyHxqQdkjTf15HIhieLbNCelUwAEoTPIbI4r9FGIt3 62zfrfHHxI01Kiim4Ohe0n2Pn0y9byrB0HoLeERYlBh/774Naey3MYcg0O4GoT7Vq4mK IBcNfG7ydncoGqeTtf5G3O0uDUiq8hX/ExaHD/6j77IPHQqQrUp9ArH59emcLGAOoZwa CdBsJy5xEzg7LP0I+p0P4sZvM3UAQjmkW8K8FK29Wxk/n1ZmSZvDcJb7iSUy+13sDbna Y6jg== X-Gm-Message-State: ANoB5pnV4f/nAGkNCoT/mVwYISF/hOg+IJsZhqRLoajhELRI8WvDeA4L 49s1t/dI7CNyonK5djkYRDaBWcPuk1iCAQ== X-Google-Smtp-Source: AA0mqf5fBxt/RhqJab3kcojQQyVViqyMnqByDs9SP+x2Kfhux8Qj3n9eDTpfk9Aa0Cw2Vds39NeAFw== X-Received: by 2002:a05:6214:2c1a:b0:4af:9543:2eee with SMTP id lc26-20020a0562142c1a00b004af95432eeemr43521qvb.2.1668634248284; Wed, 16 Nov 2022 13:30:48 -0800 (PST) Received: from hurd (dsl-10-133-21.b2b2c.ca. [72.10.133.21]) by smtp.gmail.com with ESMTPSA id bl12-20020a05620a1a8c00b006fae7e6204bsm10698331qkb.108.2022.11.16.13.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 13:30:47 -0800 (PST) From: Maxim Cournoyer To: conses Subject: Re: bug#58858: Installation script fails on distributions that use busybox References: <86k04jsnb2.fsf@conses.eu> Date: Wed, 16 Nov 2022 16:30:46 -0500 In-Reply-To: <86k04jsnb2.fsf@conses.eu> (conses's message of "Fri, 28 Oct 2022 22:30:57 +0200") Message-ID: <87fseiio3d.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58858-done Cc: 58858-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, conses 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 ------------=_1668634262-9815-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 04:12:27 +0000 Received: from localhost ([127.0.0.1]:34722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oodCs-00054g-Lp for submit@debbugs.gnu.org; Sat, 29 Oct 2022 00:12:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:46482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooW0P-0008A5-Pn for submit@debbugs.gnu.org; Fri, 28 Oct 2022 16:31:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooW0P-0004NO-J7 for bug-guix@gnu.org; Fri, 28 Oct 2022 16:31:05 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooW0L-0006dc-Rr for bug-guix@gnu.org; Fri, 28 Oct 2022 16:31:05 -0400 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id 3E6A9C0005 for ; Fri, 28 Oct 2022 20:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1666989058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=j8rn/wI3NdcsoF11z0DJHbF77n22Cph65lgGh//33Lo=; b=mawotFauHZSbGsZvlAzRgyAiOvFDKvwznNjeHsKRvHmYOdlBA0CWDgxGpqbuN9UwyfB6Wc g4C6vH1qyYI05bUwxp0/lZwHSWOCNthL2uCKsuLK7BUSgMLN24tWsNIBYR8JhmZ2Fq9TCH YW0Apos56rgnkYU6FC5CgTtujIvZIF6e0NI9UWGz8y0JuP3EEUCbd7EzlceBNpdNGLmvK8 3f8oCRYIpIzfsCKX9YqNo9EohMIyxY2SmqbHQG3bjA1W2ENKleuTkg58X5mTIpRqDXlz9d FHf0G0qGirrHKLwT8MGivneQi4R51yhJmQm2/Z2W7FOqNMmNcYFtuQQacCCrHQ== From: conses To: bug-guix@gnu.org Subject: Installation script fails on distributions that use busybox Date: Fri, 28 Oct 2022 22:30:57 +0200 Message-ID: <86k04jsnb2.fsf@conses.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.198; envelope-from=contact@conses.eu; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 29 Oct 2022 00:12:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 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 ------------=_1668634262-9815-1--