Re: sbuild on hurd-amd64...

Stéphane Glondu <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
Le 16/08/2025 à 00:10, Samuel Thibault a écrit :
> No, they use schroot with type=plain, built directly with debootstrap.

I tried many things, but could not make debootstrap to work.

In the last attempt, I did:

> sudo su -
> truncate -s 2G storage
> mke2fs storage
> settrans -c chroot /hurd/ext2fs $PWD/storage
> 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

debootstrap fails with:

> [...]
> 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
> 
> Type dpkg --help for help about installing and deinstalling packages [*];
> Use 'apt' or 'aptitude' for user-friendly package management;
> Type dpkg -Dhelp for a list of dpkg debug flag values;
> Type dpkg --force-help for a list of forcing options;
> Type dpkg-deb --help for help about manipulating *.deb files;
> 
> Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !


Cheers,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.