Package: pseudo
Version: 1.9.0+git20211111+300d7570720b-1
Severity: critical
Justification: unrelated packages are broken by pseudo
Control: affects -1 + tar

I was faced with a very strange python2.7 build failure:

| (cd debian/tmp && tar cf - .) | (cd debian/python2.7 && tar xpf -)
| abort()ing pseudo client by server request. See 
https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
| Check logfile: /tmp/pseudo.1000/2734893/pseudo.log
| /bin/bash: line 1: 2753698 Aborted                 (core dumped) tar xpf -
| make: *** [debian/rules:908: stamps/stamp-install] Error 134
| dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess 
returned exit status 2

It took me a while to figure that pseudo provides fakeroot and fakeroot
was selected for installation instead of fakeroot. No clue why, but this
happens.

So the actual issue is that pseudo makes tar segfault. I have not figure
why that happens, but I crafted a reproducer:

| mmdebstrap --verbose --variant=apt --format=null --include=pseudo 
--customize-hook='chroot $1 sh -c "fakeroot tar -C lib -c -f - . | fakeroot tar 
-C /tmp/ -xv"' unstable /dev/null

Running this ends with:

| I: running --customize-hook in shell: sh -c 'chroot $1 sh -c "fakeroot tar -C 
lib -c -f - . | fakeroot tar -C /tmp/ -xv"' exec /tmp/mmdebstrap.0uWKm7mGmi
| ./
| ./lsb/
| ./lsb/init-functions
| ./lsb/init-functions.d/
| ./lsb/init-functions.d/00-verbose
| ./init/
| abort()ing pseudo client by server request. See 
https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
| Check logfile: /tmp/pseudo.0/1728/pseudo.log
| Aborted (core dumped)
| umount: /tmp/mmdebstrap.0uWKm7mGmi/dev/null: target is busy.
| umount ./dev/null failed: 8192 at /usr/bin/mmdebstrap line 1067.
| cannot unlink ./dev/null: Device or resource busy at /usr/bin/mmdebstrap line 
1070.
| E: run_chroot failed: E: command failed: chroot $1 sh -c "fakeroot tar -C lib 
-c -f - . | fakeroot tar -C /tmp/ -xv"
| W: listening on child socket failed:
| I: removing tempdir /tmp/mmdebstrap.0uWKm7mGmi...

Any of the following actions resolve this bug:
 * Removing pseudo from the archive.
 * Having pseudo stop providing fakeroot.
 * Having pseudo stop making tar segfault.

Helmut

Reply via email to