From unknown Tue Jun 17 01:50:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76418: distrobox: incomplete dependencies Resent-From: 45mg <45mg.writes@gmail.com> Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Feb 2025 17:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76418 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 76418@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17399877195451 (code B ref -1); Wed, 19 Feb 2025 17:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2025 17:55:19 +0000 Received: from localhost ([127.0.0.1]:50963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkoI2-0001PV-1a for submit@debbugs.gnu.org; Wed, 19 Feb 2025 12:55:18 -0500 Received: from lists.gnu.org ([2001:470:142::17]:50410) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <45mg.writes@gmail.com>) id 1tkoHz-0001JS-8E for submit@debbugs.gnu.org; Wed, 19 Feb 2025 12:55:16 -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 <45mg.writes@gmail.com>) id 1tkoHm-00070B-RN for bug-guix@gnu.org; Wed, 19 Feb 2025 12:55:04 -0500 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <45mg.writes@gmail.com>) id 1tkoHj-0000xr-Dp for bug-guix@gnu.org; Wed, 19 Feb 2025 12:55:00 -0500 Received: by mail-pl1-x641.google.com with SMTP id d9443c01a7336-220ec47991aso78912705ad.1 for ; Wed, 19 Feb 2025 09:54:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739987695; x=1740592495; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=3XrxfuISNYOpmGCE5B6GZ1qz5fBkfY2n+0VJu21osMQ=; b=XdHvpZEDl4mu01HyKTzmP/qE1upQltfFg5cLYN96tq/d96WXp9YJ6ygcfauFCxfHMl faqid3bA76fsKQacpK8XVQ3JMIspPjZ5Qr2UiZjX5dYjUAEnFAze8ZmawO2h1qx/hdp+ gx/LNCqV51ZG8MV8Cqr27a2OaZFael5+7aWKI9SfccMvxwRCNAlNMYudtjXW4qKPUx+i RusrexUWxWfC7WY+TFoCJM7Rc/ymoojy1Dj04PIIVf2C208d8CR/KN14TMtblw1+rSAX q90CoGKgez0WK9qGPgnF1XKZg4EvM7SZK+ge83f5IQsN60OwJgzSBQTiojGnaSOuKHKC 2Icw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739987695; x=1740592495; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3XrxfuISNYOpmGCE5B6GZ1qz5fBkfY2n+0VJu21osMQ=; b=MT8t9mokH56X9MKboB1wrSdfdJYd+Q/tqZGRbHwm31OwrHLfzwarw8VL7gSLVtq3bX BtxT+A+SPwPA3tWrlua5vqJTps6HkP28O6jDjwXLNZaUbTtR0Hj7rsQjaW+ccNX3wyPD icPx5ViSHWhq6LT6lp3IS2i8XdZlyBc3pjHTW//az4NduFUZjf2TBSOnP/u84gYajLTu KK7PEOU3LHE1MDY8UBoX5c2rw8bV6DFSF/2ym8TRRKYkcihJHqoQN7SN4+B4fyaMmI1b Xz84QCksBkoIRJHWJkmu8elSLAY2/JxT9j/aYs0UMVsw8rsnlI9fj75YwBYOJD93PZVy 4Wpg== X-Gm-Message-State: AOJu0YxYVYh2tpXsNqajIohOqndUSFo3E3xb6CS42IG2DX82lOkjse+L Q3yl5+h/dAQ6AYfIweHuIYs5/HkmoFef7v9gvwGv9QC0eCJwkWA+SEO4NuX1 X-Gm-Gg: ASbGncvHrxheWqSrXjB33Oqla42w7Zg8ctOMpSq6JmrE+7jCD8COZzpYDKj1dTmoDy+ iXfFns6r1Pmf6A6OGj/Cj1j5pZ0JOG8LcedEWiu9CGAFU7sQTEOZw5DBBsrvUqHL2QrTVyi/ztk BJeFfA4XNHh9hTAnmFFK78UnQ+6VOLdO9dsNHmGaiScRiLkSv6yNzUKywHeVMf/liZ6fJ6+Emrc Pb202BIoJyCuzrthi1iNoDemglMaV1sV5yhtOdR4O7ika5DuxW/4TUoduzpVfZoTF+8zSOZqmJY UWeXHdM6Eq9Uye10 X-Google-Smtp-Source: AGHT+IHJiD9T6vnrrxwrxnTE05FJyugzIXtF0HD8zkmiTRXAiIdVVB5e5OW5SaYDsjK93xqj1wdyhg== X-Received: by 2002:a17:902:d2c6:b0:220:c095:901e with SMTP id d9443c01a7336-2217119ecedmr77355285ad.35.1739987695513; Wed, 19 Feb 2025 09:54:55 -0800 (PST) Received: from guix1 (utm3.nitt.edu. [14.139.162.2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-220d5591e97sm107110885ad.244.2025.02.19.09.54.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2025 09:54:55 -0800 (PST) From: 45mg <45mg.writes@gmail.com> Date: Wed, 19 Feb 2025 17:55:00 +0000 Message-ID: <87ecztes5n.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::641; envelope-from=45mg.writes@gmail.com; helo=mail-pl1-x641.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) Consider: --8<---------------cut here---------------start------------->8--- $ guix shell --pure distrobox -- distrobox enter container-name /gnu/store/rmqfnbqa517s5y4acx6fbmgfr148vj83-profile/bin/distrobox: line 61: dirname: command not found ...(trial and error) $ guix shell --pure distrobox coreutils sed gawk grep -- distrobox enter container-name /gnu/store/fhyzghpyr1ql4x7a1iz8bkv9lkprqc73-profile/bin/distrobox-enter: line 728: rev: command not found /gnu/store/fhyzghpyr1ql4x7a1iz8bkv9lkprqc73-profile/bin/distrobox-enter: line 733: exec: exec: not found $ guix shell --pure distrobox coreutils sed gawk grep util-linux -- distrobox enter container-name (success) --8<---------------cut here---------------end--------------->8--- Distrobox is a collecton of shell scripts, of which `distrobox-enter` is just one. I'd be willing to guess that the remaining scripts also require various other utils, which need to be added as dependencies [1]. To figure out what these are, one could attempt to use each of the distrobox subcommands in a `guix shell`, as shown above. Normally I'd get to work on a patch, but I ended up deciding against using distrobox, so I won't be working on this. Just thought I should point it out, anyway. Good luck, 45mg P.S Maybe we should ask contributors to test that their package works in `guix shell`? Along with the other instructions in "(guix) Submitting Patches". [1] Notably, distrobox-host-exec requires flatpak to be installed on the host. AFAICT this is not documented /anywhere/: https://github.com/89luca89/distrobox/issues/1692