owner 1072146 !
thanks

El 29/5/24 a las 8:35, Jochen Sprickerhof escribió:
libexplain fails to build in sbuild+unshare now used on some of the
buildd:

PATH=`pwd`/bin:$PATH /bin/sh test/04/t0462a.sh
1c1
< kill(pid = 42, sig = SIGTERM) failed, Operation not permitted (EPERM)
---
kill(pid = 42 "sh", sig = SIGTERM) failed, Operation not permitted (EPERM)
FAILED test of kill EPERM
make[2]: *** [Makefile:42004: t0462a] Error 1

I assume this is due to the test is skipped in the schroot backend.
Tagging patch as it is easy to fix from the diff above.

The diff above is what happens when you try this:

dpkg-buildpackage -uc -us -b

If, instead, you try this:

sbuild -d sid-unshare --chroot-mode=unshare libexplain_1.4.D001-13.dsc

then you get a diff like this:

< kill(pid = 42, sig = SIGTERM) failed, Operation not permitted (EPERM)
< because the process does not have permission to send the signal to any
< of the target processes, and the process is not privileged
---
kill(pid = 42 "perl", sig = SIGTERM) failed, Operation not permitted
(EPERM) because the process does not have permission to send the signal
to any of the target processes, and the process is not privileged

Since we want the package to be buildable in all allowed ways, I'm
going to make sure that the test is always skipped (not just when using
root or fakeroot), as there is no diff which will work for everybody.

Thanks.

Reply via email to