From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KH5eFKZWdWO1ZgEAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 22:31:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CINrE6ZWdWP76wAAG6o9tA (envelope-from ) for ; Wed, 16 Nov 2022 22:31:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E0D17276EA for ; Wed, 16 Nov 2022 22:31:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovPzu-00022v-LT; Wed, 16 Nov 2022 16:31:06 -0500 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 1ovPzq-00022X-Fh for bug-guix@gnu.org; Wed, 16 Nov 2022 16:31:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovPzq-0007ME-6V for bug-guix@gnu.org; Wed, 16 Nov 2022 16:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovPzq-0002YT-3A for bug-guix@gnu.org; Wed, 16 Nov 2022 16:31:02 -0500 Subject: bug#58858: Installation script fails on distributions that use busybox Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 16 Nov 2022 21:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58858 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: conses Cc: 58858-done@debbugs.gnu.org Mail-Followup-To: 58858@debbugs.gnu.org, maxim.cournoyer@gmail.com, contact@conses.eu Received: via spool by 58858-done@debbugs.gnu.org id=D58858.16686342569801 (code D ref 58858); Wed, 16 Nov 2022 21:31:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668634277; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=nQ3pfYht0GWsSmGxmd2YOjotX++Hh8bNSuIqoeiPdWs=; b=icGAuzl4/4AgMUePQz2O6leKploAOMjfk4nGEp7Y7IRtbo7mA7Uy09h9MYSnTy81079c4S 4wR/H6JOIO77vnsPas1cCGF6QxtyA7Nx4Rb/NQs91ZVswSgVl3H7ygX9SVALTC/ilOeNgc /Cw8anCnHYHeCVuVo/nfwrHaQ4OcqeykO9h3+WqyRC8ySvuDkbpP869xP0M24ARoJ5/jZE ewWJdUSQ1PFDzqA7JQRau/cluJ04MkseLVj8iYUs0/KxlrYWiQusbXuDeCG1M7+tmDL+cE QNVKvHTGrq4XxqZmyE1oH86EubOrSh12xnuCkipH7P9OnsvyyYzyJ3SsENPFRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668634277; a=rsa-sha256; cv=none; b=QjO8LHJD7eZm3hyQd59UOZyXksQUheUcPEJmOjgZpXwbu+cLiwkmwYhbE4AvmoLbKFfISg Tk6dXjDj1IWDx1O0EqY2unVwuJqm4hQmosESOgjmFAqBGKeN29SG9oYfIgMfdPGvv4nWT9 B7+JyJKf1Eco+w9MYSekT7qaZfHHnsm7a0MmCbVs7mHXkiUBndcbLCmZfe+46LPoD7XmRV pzi4rz4DvmFrD6i7iwaL1P6Od825arXOESb9dKkpCXM9fml1+NuyLRbjveFPmyBmNQ5K5T bW97p98m18uG9G4DFRDpUy0mstj/Uo187Zwr0NOlG0sd0QCsbzzz+sgNum0v3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=HnHpSWRh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=HnHpSWRh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E0D17276EA X-Spam-Score: 7.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9RtoWP1OYjZ0 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