[pkg-go] Bug#946467: nmu: debos_1.0.0+git20190123.d6e16be-1 (in buster)

Simon McVittie smcv at collabora.com
Mon Dec 9 15:01:47 GMT 2019


Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org at packages.debian.org
Usertags: binnmu
X-Debbugs-Cc: debos at packages.debian.org

Please consider:

nmu debos_1.0.0+git20190123.d6e16be-1 . ANY . buster . -m "rebuild with fakemachine 0.0~git20181105.9316584-2 (#924392)"

debos is an executable written in Go, which statically links
golang-github-go-debos-fakemachine. It fails to run in a pure buster
system where busybox (as opposed to busybox-static) is installed, because
busybox in buster has gained a dependency on libresolv.so.2, which
debos does not include when generating an initramfs. This was fixed in
g-g-g-d-fakemachine version 0.0~git20181105.9316584-2 (#924392), but the
version of debos in buster was built against 0.0~git20181105.9316584-1
and so does not have that fix.

Minimal steps to reproduce bug and verify fix, in a buster chroot:

(you must be in a directory that is not /tmp; /root is suitable)
# apt install --no-install-recommends debos
# apt build-dep --no-install-recommends debos
# apt install linux-image-amd64
# cat > debos.yaml <<EOF
architecture: amd64
actions:
 - action: debootstrap
EOF
# debos debos.yaml
open /tmp/fakemachine-850881205/result: no such file or directory
# (install locally-rebuilt debos)
# debos debos.yaml
Running /debos --artifactdir /root /root/debos.yaml
2019/12/09 14:56:37 ==== debootstrap ====
2019/12/09 14:56:37 Debootstrap | W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
2019/12/09 14:56:37 Debootstrap | I: usage: [OPTION]... <suite> <target> [<mirror> [<script>]]
...

Until this rebuild has been done, the workaround is to install
busybox-static instead of busybox.

Thanks,
    smcv



More information about the Pkg-go-maintainers mailing list