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

Re: sbuild on hurd-amd64...



Le 16/08/2025 à 10:58, Stéphane Glondu a écrit :
I did:

sed -i 's/for s in \$SUITE \$EXTRA_SUITES; do/for s in $EXTRA_SUITES $SUITE; do/g' /usr/share/debootstrap/functions 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

It failed with a different error this time:

I: Extracting apt...
I: Extracting base-files...
E: Tried to extract package, but tar failed. Exit...

Tail of debootstrap.log:

2025-08-16 09:48:49 URL:http://deb.debian.org/debian-ports/pool/main/ x/xkeyboard-config/xkb-data_2.42-1_all.deb [789736/789736] -> "/root/ chroot//var/cache/apt/archives/partial/xkb-data_2.42-1_all.deb" [1] 2025-08-16 09:48:49 URL:http://deb.debian.org/debian-ports/pool-hurd- amd64/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_hurd-amd64.deb [88776/88776] -> "/root/chroot//var/cache/apt/archives/partial/ zlib1g_1%3a1.3.dfsg+really1.3.1-1+b1_hurd-amd64.deb" [1]
tar: ./bin: Cannot create symlink to 'usr/bin': File exists
tar: Exiting with failure status due to previous errors

I managed to:
- get a successful debootstrap run by adding --variant=minbase
- set up a plain schroot
- use sbuild to build a (simple) package

However, sbuild-ing hurd fails at installing dependencies...


Cheers,

--
Stéphane


Reply to: