Bug#1020783: init-system-helpers 1.65.2 broke cdebootstrap

2022-09-27 Thread Luca Boccassi
Control: retitle -1 libdebian-installer: cannot parse dependencies with 
multiarch qualifier
Control: reassign -1 libdebian-installer4 0.123
Control: tags -1 patch

On Mon, 26 Sep 2022 18:05:39 +0200 Ansgar  wrote:
> On Mon, 2022-09-26 at 17:54 +0200, Holger Levsen wrote:
> > Sadly I've only enabled verbose bootstrapping today, but at least I
> > did that now
> > so you can look at
> >
https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/40/consoleFull
> > and maybe actually understand the problem:
> 
> There is this warning:
> 
> +---
> | W: resolver (perl:any): package doesn't exist
> +---
> 
> Which looks like cdebootstrap doesn't handle the multi-arch qualifier
> (in usrmerge's Depends field), then fails to install usrmerge (as
> dependency of init-system-helpers) and thus init-system-helpers.
> 
> I guess the last one missing causes this:
> 
> > (
> >
https://jenkins.debian.net/job/reproducible_cdebootstrap_bullseye/30/c
> > onsole
> > is a verbose build too.)
> > 
> > So I *guess* this is the place it breaks:
> > 
> > /var/lib/dpkg/info/dpkg.postinst: 115: deb-systemd-helper: not
found
> > /var/lib/dpkg/info/dpkg.postinst: 118: deb-systemd-helper: not
found
> > /var/lib/dpkg/info/dpkg.postinst: 125: deb-systemd-helper: not
found
> > P: Configuring package dpkg
> 
> We had a similar problem with base-installer (used as an
implementation
> detail of debootstrap in d-i):
> 
> https://bugs.debian.org/1020426
> 
> Which has a patch available:
> 
>
https://salsa.debian.org/installer-team/base-installer/-/merge_requests/9

Yeah it's the same problem, this time in libdebian-installer which
provides the di_packages_resolve_dependencies() API used by
cdebootstrap.

I've done a quick and superficial test of a similar change to ignore
the qualifier and it fixes the issue:

https://salsa.debian.org/installer-team/libdebian-installer/-/merge_requests/4

-- 
Kind regards,
Luca Boccassi


signature.asc
Description: This is a digitally signed message part


Bug#1020783: init-system-helpers 1.65.2 broke cdebootstrap

2022-09-26 Thread Michael Biebl


Am 26.09.22 um 17:54 schrieb Holger Levsen:

Package: init-system-helpers, cdebootstrap
Version: 1.65.2
Severity: important
Justification: completely breaks cdebootstrap

Dear Maintainers,

I've set up some daily jobs to test bootstrapping Debian bullseye, bookworm
and unstable using cdebootstrap (and debootstrap and mmdebstrap).

This worked nicely in early September. Then I noticed this failed for
cdebootstrap/unstable on September 18th, as you can see in the "Build history"
on the left side on
https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/
and then it failed for cdebootstrap/bookworm on September 23rd as seen on
https://jenkins.debian.net/job/reproducible_cdebootstrap_bookworm/

(Those dates match the init-system-helpers 1.65.2 upload date as well as it's
testing migration date.)

For cdebootstrap/bullseye and debootstrap/* and mmdebstrap/* this continued and
continues to work.

Sadly I've only enabled verbose bootstrapping today, but at least I did that now
so you can look at 
https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/40/consoleFull
and maybe actually understand the problem:

(https://jenkins.debian.net/job/reproducible_cdebootstrap_bullseye/30/console
is a verbose build too.)

So I *guess* this is the place it breaks:

/var/lib/dpkg/info/dpkg.postinst: 115: deb-systemd-helper: not found
/var/lib/dpkg/info/dpkg.postinst: 118: deb-systemd-helper: not found
/var/lib/dpkg/info/dpkg.postinst: 125: deb-systemd-helper: not found
P: Configuring package dpkg


Thanks for your work on init-system-helpers and cdebootstrap!



Hm...

W: resolver (perl:any): package doesn't exist

So i-s-h now depends on usrmerge which itself depends on perl:any.

Is  this maybe an issue with the dependency resolver in deboostrap if it 
doesn't understand multi-arch?

does


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1020783: init-system-helpers 1.65.2 broke cdebootstrap

2022-09-26 Thread Ansgar
On Mon, 2022-09-26 at 17:54 +0200, Holger Levsen wrote:
> Sadly I've only enabled verbose bootstrapping today, but at least I
> did that now
> so you can look at
> https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/40/consoleFull
> and maybe actually understand the problem:

There is this warning:

+---
| W: resolver (perl:any): package doesn't exist
+---

Which looks like cdebootstrap doesn't handle the multi-arch qualifier
(in usrmerge's Depends field), then fails to install usrmerge (as
dependency of init-system-helpers) and thus init-system-helpers.

I guess the last one missing causes this:

> (
> https://jenkins.debian.net/job/reproducible_cdebootstrap_bullseye/30/c
> onsole
> is a verbose build too.)
> 
> So I *guess* this is the place it breaks:
> 
> /var/lib/dpkg/info/dpkg.postinst: 115: deb-systemd-helper: not found
> /var/lib/dpkg/info/dpkg.postinst: 118: deb-systemd-helper: not found
> /var/lib/dpkg/info/dpkg.postinst: 125: deb-systemd-helper: not found
> P: Configuring package dpkg

We had a similar problem with base-installer (used as an implementation
detail of debootstrap in d-i):

https://bugs.debian.org/1020426

Which has a patch available:

https://salsa.debian.org/installer-team/base-installer/-/merge_requests/9

Ansgar



Bug#1020783: init-system-helpers 1.65.2 broke cdebootstrap

2022-09-26 Thread Holger Levsen
Package: init-system-helpers, cdebootstrap
Version: 1.65.2
Severity: important
Justification: completely breaks cdebootstrap

Dear Maintainers,

I've set up some daily jobs to test bootstrapping Debian bullseye, bookworm
and unstable using cdebootstrap (and debootstrap and mmdebstrap).

This worked nicely in early September. Then I noticed this failed for
cdebootstrap/unstable on September 18th, as you can see in the "Build history"
on the left side on 
https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/
and then it failed for cdebootstrap/bookworm on September 23rd as seen on
https://jenkins.debian.net/job/reproducible_cdebootstrap_bookworm/

(Those dates match the init-system-helpers 1.65.2 upload date as well as it's
testing migration date.)

For cdebootstrap/bullseye and debootstrap/* and mmdebstrap/* this continued and
continues to work.

Sadly I've only enabled verbose bootstrapping today, but at least I did that now
so you can look at 
https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/40/consoleFull
and maybe actually understand the problem:

(https://jenkins.debian.net/job/reproducible_cdebootstrap_bullseye/30/console
is a verbose build too.)

So I *guess* this is the place it breaks:

/var/lib/dpkg/info/dpkg.postinst: 115: deb-systemd-helper: not found
/var/lib/dpkg/info/dpkg.postinst: 118: deb-systemd-helper: not found
/var/lib/dpkg/info/dpkg.postinst: 125: deb-systemd-helper: not found
P: Configuring package dpkg


Thanks for your work on init-system-helpers and cdebootstrap!

-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

It's not about saving the climate or the planet, it's about saving us, the
children and grandchildren. The planet will survive anyway.


signature.asc
Description: PGP signature