distrobox: incomplete dependencies

  • Open
  • quality assurance status badge
Details
One participant
  • 45mg
Owner
unassigned
Submitted by
45mg
Severity
normal

Debbugs page

45mg wrote 4 weeks ago
(address . bug-guix@gnu.org)
87ecztes5n.fsf@gmail.com
Consider:

Toggle snippet (13 lines)
$ 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)

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/:
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 76418@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76418
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help