[pkg-go] Bug#898651: fakemachine: missing dependencies

Simon McVittie smcv at collabora.com
Mon May 14 18:34:23 BST 2018


Package: fakemachine
Version: 0.0~git20180126.e307c2f-1
Severity: grave
Justification: renders package unusable

In a relatively minimal (buildd) chroot:

smcv at archetype(sid-amd64):~$ sudo apt install fakemachine hello
...
smcv at archetype(sid-amd64):~$ fakemachine hello
2018/05/14 16:31:15 open failed: /bin/busybox - open /bin/busybox: no such file or directory
panic: open failed: /bin/busybox - open /bin/busybox: no such file or directory
smcv at archetype(sid-amd64):~$ sudo apt install busybox
...
smcv at archetype(sid-amd64):~$ fakemachine hello; echo $?
255
smcv at archetype(sid-amd64):~$ sudo apt install --no-install-recommends linux-image-amd64 qemu-system-x86
...
smcv at archetype(sid-amd64):~$ fakemachine hello; echo $?
...
Running hello
Hello, world!
Powering off.
[    4.471990] reboot: Power down
0

fakemachine should have dependencies (or at least Recommends) on:

* busybox | busybox-static
* systemd
* linux-image-amd64                     [1]
* qemu-system-x86                       [2]

[1] Perhaps with linux-image-generic (Ubuntu), etc., as alternatives.
    Upstream only supports x86_64 hosts, for which I've opened separate
    bugs.
[2] Use of qemu-system-x86_64 is currently hard-coded.

By inspection of its source code, it should also have at least a Suggests
(probably a Recommends) on e2fsprogs, for mkfs.ext4.

Please consider the attached patch.

Thanks,
    smcv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-missing-dependencies.patch
Type: text/x-diff
Size: 962 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180514/00a44703/attachment.patch>


More information about the Pkg-go-maintainers mailing list