Your message dated Fri, 24 Nov 2023 13:49:58 +0000
with message-id <[email protected]>
and subject line Bug#1056592: fixed in debos 1.1.3-1
has caused the Debian Bug report #1056592,
regarding debos: yaml: line X: did not find expected key
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1056592: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debos
Version: 1.1.2-2
Severity: normal
User: [email protected]
Usertags: origin-kali

Hi Christopher,

Here's a surprising bug report. The version of debos currently in Debian
unstable is a bit broken, in an odd way.

Consider the following recipe:

```
$ cat main.yaml
{{ $ospack := or .ospack "debian" }}
architecture: amd64
actions:
  - action: debootstrap
    suite: sid
  - action: pack
    file: {{ $ospack }}.tar.gz
```

If I run with `-t ospack:debian` it fails:

```
$ debos --print-recipe -t ospack:debian main.yaml
2023/11/23 23:05:27 Recipe '/home/user/debos/main.yaml':
2023/11/23 23:05:27
architecture: amd64
actions:
  - action: debootstrap
    suite: sid
  - action: pack
    file: debian.tar.gz
Running /debos --artifactdir /home/user/debos --template-var 'ospack:"debian"' 
/home/user/debos/main.yaml using kvm backend
2023/11/23 16:05:31 yaml: line 6: did not find expected key
```

However if I run without `-t`, it succeeds:

```
$ debos --print-recipe main.yaml
2023/11/23 23:10:55 Recipe '/home/user/debos/main.yaml':
2023/11/23 23:10:55
architecture: amd64
actions:
  - action: debootstrap
    suite: sid
  - action: pack
    file: debian.tar.gz
Running /debos --artifactdir /home/user/debos /home/user/debos/main.yaml using 
kvm backend
2023/11/23 16:10:59 ==== debootstrap ====
2023/11/23 16:10:59 Debootstrap | I: Target architecture can be executed
2023/11/23 16:10:59 Debootstrap | I: Retrieving InRelease
[...]
```

Another surprise: this is a regression introduced by package 1.1.2-2. If
I downgrade to version 1.1.2-1, everything works fine.

```
sudo apt install --allow-downgrades ./debos_1.1.2-1_amd64.deb
```

I compared the Built-Using fields between both packages:

```
-golang-1.21 (= 1.21.1-1)
+golang-1.21 (= 1.21.4-1)
+golang-github-alessio-shellescape (= 1.4.1-3)
 golang-github-cespare-xxhash (= 2.1.1-2)
 golang-github-docker-go-units (= 0.4.0-4)
-golang-github-go-debos-fakemachine (= 0.0.6-1)
+golang-github-go-debos-fakemachine (= 0.0.7-1)
 golang-github-google-uuid (= 1.3.0-1)
-golang-github-klauspost-compress (= 1.15.12+ds1-3)
+golang-github-klauspost-compress (= 1.17.2+ds1-1)
 golang-github-sjoerdsimons-ostree-go (= 0.0~git20201014.8fae757-2)
 golang-github-surma-gocpio (= 1.1.0+git20160926.fcb6877-1.1)
 golang-github-ulikunitz-xz (= 0.5.6-2)
 golang-go-flags (= 1.4.0-6)
-golang-golang-x-sys (= 0.9.0-1)
+golang-golang-x-sys (= 0.13.0-1)
 golang-gopkg-freddierice-go-losetup.v1 (= 0.0~git20170407.fc9adea-1.1)
 golang-yaml.v2 (= 2.4.0-4)
```

I suppose the regression was introduced by one of the dependencies that
changed. I have no idea how to troubleshot that... Tomorrow I'll try to
rebuild a package to see if that magically fixes it.

Can you try to reproduce this issue on your side, just to confirm?

Thanks in advance,

Arnaud


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debos depends on:
ii  busybox            1:1.36.1-4
ii  debootstrap        1.0.133
ii  libc6              2.37-12
ii  libglib2.0-0       2.78.1-4
ii  libostree-1-1      2023.7-3
ii  qemu-system-x86    1:8.1.2+ds-1
ii  qemu-user-static   1:8.1.2+ds-1
ii  systemd-container  255~rc2-1

Versions of packages debos recommends:
ii  bmap-tools         3.7-1
ii  bzip2              1.0.8-5+b1
ii  dosfstools         4.2-1
ii  e2fsprogs          1.47.0-2+b1
ii  fdisk              2.39.2-6
ii  linux-image-amd64  6.5.10-1
ii  mount              2.39.2-6
ii  ovmf               2023.05-2
ii  parted             3.6-3
ii  systemd-resolved   255~rc2-1
ii  udev               255~rc2-1
ii  xz-utils           5.4.4-0.1
ii  zip                3.0-13

Versions of packages debos suggests:
pn  libslirp-helper  <none>
pn  user-mode-linux  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debos
Source-Version: 1.1.3-1
Done: Christopher Obbard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
debos, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher Obbard <[email protected]> (supplier of updated debos package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 24 Nov 2023 13:31:56 +0000
Source: debos
Architecture: source
Version: 1.1.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team 
<[email protected]>
Changed-By: Christopher Obbard <[email protected]>
Closes: 1056592
Changes:
 debos (1.1.3-1) unstable; urgency=medium
 .
   * New upstream version 1.1.3 (Closes: #1056592)
   * Bump fakemachine B-d
Checksums-Sha1:
 f2fd6e9f924e341fe30e93e4a732def13c3cd9b5 2540 debos_1.1.3-1.dsc
 d287ef8981f43754bbc0c80fdbf4cd01d83f206e 56610 debos_1.1.3.orig.tar.gz
 d72ac72eaa08f68b29b6e999bc52d4bb76b06be8 5148 debos_1.1.3-1.debian.tar.xz
 776acf947c54de6d88a4be8d94c0a60e6b6ba69b 9688 debos_1.1.3-1_amd64.buildinfo
Checksums-Sha256:
 116c2ed0a82feb12251decd5e71d4d5f9dd0699daa10850fcc90a5c343e63e9f 2540 
debos_1.1.3-1.dsc
 fa90cf142ed68b0f00876552fd908240393d91fbf6df99cd79045f62481184fb 56610 
debos_1.1.3.orig.tar.gz
 cd61caebaec12fb890839df531a1db578556d4fee34ead0560a400fdee778ae5 5148 
debos_1.1.3-1.debian.tar.xz
 193026131dc2cf598f1d2963f96f74950e1059fad9dd841ef3c191940f49d5a3 9688 
debos_1.1.3-1_amd64.buildinfo
Files:
 4cc611bfb579b6d281488fd3cdc7c512 2540 devel optional debos_1.1.3-1.dsc
 271f70de8d5e5b98899ce5caff243d1c 56610 devel optional debos_1.1.3.orig.tar.gz
 66020223f5fe1849e5cb13fa6ec73bda 5148 devel optional 
debos_1.1.3-1.debian.tar.xz
 187c975eca0026739e84273afd73c97c 9688 devel optional 
debos_1.1.3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE8Yvci2wl+QqiPVF0Y03E8GhwRvgFAmVgp2UTHG9iYmFyZGNA
ZGViaWFuLm9yZwAKCRBjTcTwaHBG+A8uD/9v/9nX0QYjkaodc44P5r8ozaLiQkwo
gxbSIW6+Ve7Nw8kXocprsHCvuU2gNRALqRXYVg/OXXkB2V86kcw1WmP8RGoG29z4
UvrfwzbS9PKTMWFqdOpFv5aFddLKDsKyvMrtLfWFU1JAhT1P8sWNEpzuyWxSlV5Q
PMSLtm/FTXnaGIAYtjtWjtcpGxMqdbaCZ+yZ42FyQUFUysAesaj2ARjvSvrOwXjS
w5CDem+bnGCuOlpy1rjXPboWqs9w+QbYK41kEMVcJkhrvSeZIsgOitaE9BiXoaKs
kHAERfOCJbUOTqk9cj4nFBZdWDCzseRJmhisZVHGh4HOgbd5IevKMHoq5rEZ7Vda
z1m/k0w4eGUs7hteHusThwi26psTxLrKR0G2WkDoxrUbhnj3w+39H1sOOJzk49RZ
CkoWw7dtKKXiITfDfsyiG+K+scyVQNBEFdx9xMIOo2lbTDEnDlqghbeqQkidep0Y
2c/sMJ/jUfF3rXBwgB5rAWcHSprP5UE+OPqtW0Qtw0Qus3KG8boRFiAGQdslqrWD
JKKNurkP2QIOAE1F7a9F5tfb2pPbvsdEDmMV31UhOaEjtQKn3nk8ISL/Fg1ESCql
rR8WhQPOE004Ivv3qeEHACEs/1xae4UaV+//lwI7jFt73fuYNrFiPiSYrLd416qG
ZnKliCfB3iRbJA==
=cNkI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to