Hi Paride,

On Thu, Sep 18, 2025 at 06:02:20PM +0200, Paride Legovini wrote:
> Control: tags -1 + moreinfo
> 
> Hi,
> 
> Building i386 sid images is currently not expected to work: there is no
> i386 kernel anymore.
> 
> Earlier comments to this bug are rather old, and many things changed
> since then. Can affected people please share a (non-)working command
> line, and the autopkgtest version in use?
> 
For my part, I am not trying to build i386 images. I'm trying to build
same-arch (amd64) images.

I first tried on a bookworm system with these versions:

ii  autopkgtest                                   5.28                          
       all          automatic as-installed testing for Debian packages
ii  vmdb2                                         0.27+really.0.26-1+deb12u1    
       all          creator of disk images with Debian installed

Then on a trixie system with these versions:

ii  autopkgtest                                   5.49                          
       all          automatic as-installed testing for Debian packages
ii  vmdb2                                         0.40-2                        
       all          creator of disk images with Debian installed

My first attempts failed. However, with the newer versions of these
packages (and perhaps the dependencies), I was able to see that the
exit status 100 was being caused by this:

mktemp: failed to create file via template ‘/tmp/user/0/tmp.XXXXXXXXXX’: No 
such file or directory

I use pam_tmpdir on my systems, and this was apparently causing the
problem.

I changed my command from this:

sudo autopkgtest-build-qemu bookworm ./autopkgtest-bookworm.img

to this:

sudo sh -c 'TMP=/tmp TMPDIR=/tmp autopkgtest-build-qemu bookworm 
./autopkgtest-bookworm.img'

And now everything works. So, it appears that this was the root cause,
at least in my case.

Regards,

-Roberto

-- 
Roberto C. Sánchez

Reply via email to