mmdebstrap creates the chroot with the -amd64 suffix hardcoded in the path
My package uses instructions here to add a private repo (aptly job of another package on salsa).
variables:
SALSA_CI_EXTRA_REPOSITORY_SOURCES: debian/salsa-ci.extra_repository.sources
# Extra variable for https urls
SALSA_CI_MMDEBSTRAP_EXTRA_ARGS: --include=ca-certificates
It works fine for the amd64 build, but not for the i386
It seems like SALSA_CI_MMDEBSTRAP_EXTRA_ARGS: --include=ca-certificates is only honored for the mmdebstrap amd64 image, not for the i386 image.
I have this error because ca-certificates is not installed in the i386 image.
Err:3 https://salsa.debian.org/bastif/salvation/-/jobs/8433992/artifacts/raw/aptly unstable InRelease
SSL connection failed: error:0A000086:SSL routines::certificate verify failed / Success [IP: 209.87.16.44 443]
Err:2 https://salsa.debian.org/bastif/css-validator/-/jobs/8433981/artifacts/raw/aptly unstable InRelease
SSL connection failed: error:0A000086:SSL routines::certificate verify failed / Success [IP: 209.87.16.44 443]
See: https://salsa.debian.org/bastif/vnu/-/jobs/8434907
Also note that the log says that there is no chroot found for i386, thus it creates it from scratch.
Distribution: unstable
Machine Architecture: i386
Host Architecture: i386
Build Architecture: i386
Build Type: full
E: Chroot for distribution unstable, architecture i386 not found
I: Creating chroot on-demand by running:
mmdebstrap --variant=buildd --arch=i386 --skip=output/mknod --format=tar unstable -
I: Unpacking tarball from STDIN to /tmp/tmp.sbuild.3GVoD5pNsi...
I: automatically chosen mode: unshare