[pkg-go] Bug#1007896: golang-github-ostreedev-ostree-go: flaky autopkgtest: mkdir /tmp/otbuiltin-*/something: file exists

2022-03-18 Thread Simon McVittie
Source: golang-github-ostreedev-ostree-go
Version: 0.0+git20190702.759a8c1-4
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: flaky

The autopkgtest for golang-github-ostreedev-ostree-go seems to be
intermittently failing on multiple architectures. When testing a proposed
update to a package it depends on (such as glib2.0 or ostree), the test
failure is assumed to be a regression in the updated package, which can
delay or prevent testing migration.

smcv

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers


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

2019-12-09 Thread Simon McVittie
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: binnmu
X-Debbugs-Cc: de...@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 <  
[ 

[pkg-go] Bug#905923: debos: autopkgtest regression: m.SetShowBoot undefined

2018-08-11 Thread Simon McVittie
Control: retitle -1 debos: autopkgtest regression: missing versioned B-D for 
m.SetShowBoot

On Sat, 11 Aug 2018 at 20:45:55 +0200, Paul Gevers wrote:
> src/github.com/go-debos/debos/cmd/debos/debos.go:159:4: m.SetShowBoot
> undefined (type *fakemachine.Machine has no field or method SetShowBoot)

I contributed this feature to debos upstream. It is going to need a
versioned build-dependency on the fakemachine version that added this
method.

smcv

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers

[pkg-go] Bug#900906: Recommends: xz, which is not a package

2018-06-06 Thread Simon McVittie
Package: debos
Version: 1.0.0+git20180328.8f2bc2a-1
Severity: normal
Tags: patch

debos Recommends xz, but that package doesn't exist. The package that
contains the xz(1) utility is xz-utils.

Patch: https://salsa.debian.org/go-team/packages/debos/merge_requests/1
(I'm filing a bug anyway because I don't know whether the maintainers
are notified about new merge requests.)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debos depends on:
ii  busybox1:1.27.2-2
ii  debootstrap1.0.101
ii  libc6  2.27-3
ii  libglib2.0-0   2.56.1-2
ii  libostree-1-1  2018.5-1
ii  qemu-system-x861:2.12+dfsg-3
ii  qemu-user-static   1:2.12+dfsg-3
ii  systemd-container  238-5

Versions of packages debos recommends:
ii  bmap-tools 3.4-2
ii  bzip2  1.0.6-8.1
ii  e2fsprogs  1.44.2-1
ii  linux-image-amd64  4.16+94
ii  mount  2.32-0.1
ii  ovmf   0~20180503.ebafede9-1
ii  parted 3.2-21+b1
ii  udev   238-5
pn  xz 
ii  zip3.0-11+b1

debos suggests no packages.

-- no debconf information

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers

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

2018-05-14 Thread Simon McVittie
Control: tags 898651 + patch

On Mon, 14 May 2018 at 18:34:23 +0100, Simon McVittie wrote:
> Please consider the attached patch.

Note that this doesn't do anything for dependent packages like
debos, which will probably need similar dependencies.

What I proposed adding to fakemachine, which debos should probably also
get, are:

Architecture: amd64
Depends: busybox | busybox-static, qemu-system-x86, systemd
Recommends: e2fsprogs, linux-image-amd64

Thanks,
smcv

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers

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

2018-05-14 Thread Simon McVittie
Package: fakemachine
Version: 0.0~git20180126.e307c2f-1
Severity: grave
Justification: renders package unusable

In a relatively minimal (buildd) chroot:

smcv@archetype(sid-amd64):~$ sudo apt install fakemachine hello
...
smcv@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@archetype(sid-amd64):~$ sudo apt install busybox
...
smcv@archetype(sid-amd64):~$ fakemachine hello; echo $?
255
smcv@archetype(sid-amd64):~$ sudo apt install --no-install-recommends 
linux-image-amd64 qemu-system-x86
...
smcv@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
>From 67763c9fa94d9088537a314dbf050f69ac9af760 Mon Sep 17 00:00:00 2001
From: Simon McVittie <s...@collabora.com>
Date: Mon, 14 May 2018 18:24:26 +0100
Subject: [PATCH 3/3] Add missing dependencies

Signed-off-by: Simon McVittie <s...@collabora.com>
---
 debian/control | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 53c7ded..93ee761 100644
--- a/debian/control
+++ b/debian/control
@@ -23,8 +23,13 @@ Testsuite: autopkgtest-pkg-go
 Package: fakemachine
 Architecture: amd64
 Built-Using: ${misc:Built-Using}
-Depends: ${shlibs:Depends},
+Depends: busybox | busybox-static,
+ qemu-system-x86,
+ systemd,
+ ${shlibs:Depends},
  ${misc:Depends}
+Recommends: e2fsprogs,
+linux-image-amd64
 Description: create and spawn virtual machines for building images with debos.
  Create and spawn virtual machines for building images with debos tool.
 
-- 
2.17.0

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers

[pkg-go] Bug#898650: golang-github-go-debos-fakemachine: non-amd64 binaries are unusable

2018-05-14 Thread Simon McVittie
Source: golang-github-go-debos-fakemachine
Version: 0.0~git20180126.e307c2f-1
Severity: grave
Tags: patch
Justification: renders package unusable

fakemachine currently assumes that the linker is
/lib64/ld-linux-x86-64.so.2, the standard C library is
/lib/x86_64-linux-gnu/libc.so.6, and qemu-system-x86_64 is an
appropriate way to run a virtual machine. None of these are true on
non-amd64 architectures.

Ideally fakemachine should be taught to cope with other architectures
(I've opened a wishlist bug and marked it as forwarded to
<https://github.com/go-debos/fakemachine/issues/18>).

Until that happens, it should only be built on architectures where it
can work (see attached). This will require uploading a version marked
to be built on amd64 only, then asking the ftp team to remove the old
binaries on other architectures.

Thanks,
smcv
>From 03287930ceae69dff620c11ece2151f46331cd88 Mon Sep 17 00:00:00 2001
From: Simon McVittie <s...@collabora.com>
Date: Mon, 14 May 2018 18:24:09 +0100
Subject: [PATCH 2/3] Only build on amd64

fakemachine currently assumes that the linker is
/lib64/ld-linux-x86-64.so.2, the standard C library is
/lib/x86_64-linux-gnu/libc.so.6, and qemu-system-x86_64 is an
appropriate way to run a virtual machine. None of these are true on
other architectures.

Signed-off-by: Simon McVittie <s...@collabora.com>
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 9d746bf..53c7ded 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,7 @@ XS-Go-Import-Path: github.com/go-debos/fakemachine
 Testsuite: autopkgtest-pkg-go
 
 Package: fakemachine
-Architecture: any
+Architecture: amd64
 Built-Using: ${misc:Built-Using}
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -29,7 +29,7 @@ Description: create and spawn virtual machines for building images with debos.
  Create and spawn virtual machines for building images with debos tool.
 
 Package: golang-github-go-debos-fakemachine-dev
-Architecture: any
+Architecture: amd64
 Built-Using: ${misc:Built-Using}
 Depends: ${shlibs:Depends},
  ${misc:Depends}
-- 
2.17.0

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers