[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sbuild on hurd-amd64...



Stéphane Glondu, le sam. 16 août 2025 10:14:14 +0200, a ecrit:
> > debootstrap --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg --extra-suites=unreleased --include=debian-ports-archive-keyring sid chroot http://deb.debian.org/debian-ports

That looks like what we use on buildds.

> > [...]
> > I: Configuring hurd...
> > I: Configuring libpam-runtime...
> > I: Configuring login...
> > I: Configuring util-linux...
> > I: Configuring opensysusers...
> > I: Configuring libc-bin...
> > I: Unpacking the base system...
> > W: Failure trying to run: chroot "/root/chroot" dpkg --force-overwrite --force-confold --skip-same-version --install
> > W: See /root/chroot/debootstrap/debootstrap.log for details
> 
> and debootstrap.log ends with:
> 
> > [...]
> > Unpacking libext2fs2t64:hurd-amd64 (1.47.2-3+b3) ...
> > Setting up libext2fs2t64:hurd-amd64 (1.47.2-3+b3) ...
> > Processing triggers for libc-bin (2.41-12) ...
> > (Reading database ... 5852 files and directories currently installed.)
> > Preparing to unpack .../libss2_1.47.2-3+b3_hurd-amd64.deb ...
> > Unpacking libss2:hurd-amd64 (1.47.2-3+b3) ...
> > Setting up libss2:hurd-amd64 (1.47.2-3+b3) ...
> > Processing triggers for libc-bin (2.41-12) ...
> > dpkg: error: --install needs at least one package archive file argument

Maybe you need a brown-tape modification of

/usr/share/debootstrap/functions

that turns these loops

for s in $SUITE $EXTRA_SUITES; do

into

for s in $EXTRA_SUITES $SUITE; do

to take packages from unreleased in priority over from unstable.

Samuel


Reply to: