Hi, I've tried to reproduce this more and I have a few questions:
1) what is the version of debootstrap ? 2) do any config files divert as to which debootstrap's `functions` file is used ? 3) what settings do you have in /tmp/configfile ? I'm trying to eliminate a case where new scripts/impish is used that sets AR extractor, and yet old functions file is used which doesn't know how to zstdcat in the AR extractor. ie. ``` $ grep zstdcat /usr/share/debootstrap/functions control.tar.zst) cat_cmd=zstdcat ;; data.tar.zst) cat_cmd=zstdcat ;; ``` I'm not sure what in your case is listed in /tmp/configfile. I assume that one thing is pointer to the custom mirror. I launched Debian sid, enabled experimental, installed debootstrap from experimental, install cowbuilder and all the jenkins-debian-glue stuff. I did echo custom mirror of http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive into /tmp/configfile. Cause that looked like the only custom thing. Not sure if there are anything else set there. and Things mostly progressed fine for me: # DIST=$d ARCH=$a cowbuilder --create --basepath /var/cache/pbuilder/base-$d-$a.cow --distribution $d --debootstrap debootstrap --architecture $a --debootstrapopts --arch --debootstrapopts amd64 --debootstrapopts --variant=buildd --configfile=/tmp/configfile --hookdir /usr/share/jenkins-debian-glue/pbuilder-hookdir/ I: Invoking pbuilder I: forking: pbuilder create --debootstrap debootstrap --debootstrapopts --arch --debootstrapopts amd64 --debootstrapopts --variant=buildd --configfile /tmp/configfile --hookdir /usr/share/jenkins-debian-glue/pbuilder-hookdir/ --buildplace /var/cache/pbuilder/base-impish-amd64.cow --mirror http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/ --architecture amd64 --distribution impish --no-targz --extrapackages cowdancer W: /root/.pbuilderrc does not exist I: Running in no-targz mode I: Distribution is impish. I: Current time: Wed Oct 20 15:07:00 UTC 2021 I: pbuilder-time-stamp: 1634742420 I: Building the build environment I: running debootstrap /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. /usr/sbin/debootstrap I: Target architecture can be executed I: impish uses zstd compression, setting --extractor=ar option I: Retrieving InRelease I: Checking Release signature I: Valid Release signature (key id F6ECB3762474EDA9D21B7022871920D1991BC93C) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Checking component main on http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive... ... I: Retrieving zlib1g 1:1.2.11.dfsg-2ubuntu7 I: Validating zlib1g 1:1.2.11.dfsg-2ubuntu7 I: Chosen extractor for .deb packages: ar I: Extracting base-files... I: Extracting base-passwd... .... I: Installing core packages... I: Unpacking required packages... I: Unpacking base-files... I: Unpacking base-passwd... ... I: Configuring required packages... I: Configuring gcc-11-base:amd64... I: Configuring lsb-base... I: Configuring libtirpc-common.. ... Eventually it failed for me with: Package cowdancer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'cowdancer' has no installation candidate E: Package 'aptitude' has no installation candidate I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem E: pbuilder create failed I: forking: rm -rf /var/cache/pbuilder/base-impish-amd64.cow But that seems like further along than what you have. It is possible that I didn't enable universe, cause aptitude is available in Ubuntu. On Sat, 16 Oct 2021 at 10:05, Sylvestre Ledru <sylves...@debian.org> wrote: > > Hello Dimitri, > > Any idea how to fix that? I cannot generate packages for > https://apt.llvm.org/ for impish from a Debian. > > thanks > Sylvestre > > Le 11/10/2021 à 18:08, Sylvestre Ledru a écrit : > > Hello > > > > > > Le 10/10/2021 à 12:41, Sylvestre Ledru a écrit : > >> Package: debootstrap > >> Version: 1.0.124 > >> Severity: normal > >> > >> Dear Maintainer, > >> > >> $ sudo debootstrap impish impish > >> https://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/ > >> I: impish uses zstd compression, setting --extractor=ar option > >> I: Retrieving InRelease > >> I: Retrieving Packages > >> I: Validating Packages > >> [...] > >> I: Validating zlib1g 1:1.2.11.dfsg-2ubuntu7 > >> I: Chosen extractor for .deb packages: ar > >> I: Extracting base-files... > >> I: Extracting base-passwd... > >> E: Extracting .//var/cache/apt/archives/base-passwd_3.5.51_amd64.deb > >> requires the zstdcat command, which is not available > > > >> One needs to install zstd on the host, including zstd in the > > debootstrap,set will not help.,,Does $ sudo apt install zstd => fix the > > issue for you? > > > > Yeah, it fixed my test case but my actual problem was: > > > > $ export d=impish > > $ export a=amd64 > > $ sudo DIST=$d ARCH=$a cowbuilder --create --basepath > > /var/cache/pbuilder/base-$d-$a.cow --distribution $d --debootstrap > > debootstrap --architecture $a --debootstrapopts --arch --debootstrapopts > > amd64 --debootstrapopts --variant=buildd --configfile=/tmp/configfile > > --hookdir /usr/share/jenkins-debian-glue/pbuilder-hookdir/ > > I: Invoking pbuilder > > I: forking: pbuilder create --debootstrap debootstrap --debootstrapopts > > --arch --debootstrapopts amd64 --debootstrapopts --variant=buildd > > --configfile /tmp/configfile --hookdir > > /usr/share/jenkins-debian-glue/pbuilder-hookdir/ --buildplace > > /var/cache/pbuilder/base-impish-amd64.cow --mirror > > http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/ > > --architecture amd64 --distribution impish --no-targz --extrapackages ' > > ccache zstd cowdancer' > > I: Running in no-targz mode > > I: Distribution is impish. > > I: Current time: Mon Oct 11 16:01:34 UTC 2021 > > I: pbuilder-time-stamp: 1633968094 > > I: Building the build environment > > I: running debootstrap > > /usr/sbin/debootstrap > > I: impish uses zstd compression, setting --extractor=ar option > > I: Retrieving InRelease > > I: Retrieving Packages > > I: Validating Packages > > I: Resolving dependencies of required packages... > > I: Resolving dependencies of base packages... > > I: Checking component main on > > http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive... > > I: Validating adduser 3.118ubuntu5 > > [...] > > I: Validating util-linux 2.36.1-8ubuntu1 > > I: Validating xz-utils 5.2.5-2 > > I: Validating zlib1g 1:1.2.11.dfsg-2ubuntu7 > > I: Chosen extractor for .deb packages: ar > > I: Extracting base-files... > > E: Unknown compression type for data.tar.zst in > > .//var/cache/apt/archives/base-files_11.1ubuntu5_amd64.deb > > E: debootstrap failed > > E: Tail of debootstrap.log: > > 2021-10-11 16:01:35 > > URL:http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/dists/impish/InRelease > > [270090/270090] -> > > "/var/cache/pbuilder/base-impish-amd64.cow/var/lib/apt/lists/partial/www-ftp.lip6.fr_pub_linux_distributions__Ubuntu_archive_dists_impish_InRelease" > > [1] > > 2021-10-11 16:01:36 > > URL:http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/dists/impish/main/binary-amd64/by-hash/SHA256/5f55112843e1755f687849f2f61645c3428d00cc103b646b696cd5ed4ae7d3cc > > [1417328/1417328] -> > > "/var/cache/pbuilder/base-impish-amd64.cow/var/lib/apt/lists/partial/www-ftp.lip6.fr_pub_linux_distributions__Ubuntu_archive_dists_impish_main_binary-amd64_Packages.xz" > > [1] > > E: End of debootstrap.log > > W: Aborting with an error > > E: pbuilder create failed > > I: forking: rm -rf /var/cache/pbuilder/base-impish-amd64.cow > > > > And the system has zstd: > > > > $ dpkg -l|grep zstd > > ii libzstd1:amd64 1.4.8+dfsg-2.1 > > amd64 fast lossless compression algorithm > > ii zstd 1.4.8+dfsg-2.1 > > amd64 fast lossless compression algorithm -- CLI tool > > -- Regards, Dimitri.