Bug#1094100: libsgml-parser-opensp-perl: FTBFS: dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2

gregor herrmann gregoa at debian.org
Sun Jan 26 00:16:58 GMT 2025


Control: severity -1 important

On Sat, 25 Jan 2025 17:53:49 +0100, Lucas Nussbaum wrote:

> Hi Gregor,

Salut !
 
> > > During a rebuild of all packages in sid, your package failed to build
> > > on amd64.
> > That's an interesting one :)
> Indeed :)

:)
 
> > > > uid=65534 topuid=10 euid=104 path='/tmp' at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 686.
> > > > 	File::Temp::_is_safe() called at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 785
> > > > 	File::Temp::_is_verysafe() called at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 478
> > > > 	File::Temp::_gettemp() called at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 1482
> > > > 	File::Temp::tempfile() called at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 1083
> > > > 	File::Temp::new() called at /build/reproducible-path/libsgml-parser-opensp-perl-0.994/blib/lib/SGML/Parser/OpenSP.pm line 65
> > > > 	SGML::Parser::OpenSP::parse_string() called at t/20passfd.t line 31
> > > > 	Test::Exception::lives_ok() called at t/20passfd.t line 31
> > > > 
> > > > #   Failed test 'parse_string with temp file name'
> > > > #   at t/20passfd.t line 31.
> > > > # died: Error in tempfile() using template /tmp/XXXXXXXXXX: Parent directory (/tmp/) is not safe (Directory owned neither by root nor the current user) at /build/reproducible-path/libsgml-parser-opensp-perl-0.994/blib/lib/SGML/Parser/OpenSP.pm line 65.
> > 
> > I can't reproduce this in my cowbuilder chroot, and I wonder what
> > happened tp /tmp in the build environment …
> Maybe related to me using sbuild from backports and the unshare backend?
> But at the same time, it did not fail on 2025-01-07 when I was already
> using the same setup.

I'm totally ignorant wrt this unshare thingy … Does it affect
ownership of /tmp in any way? Or might there be some other cause for
"Parent directory (/tmp/) is not safe (Directory owned neither by
root nor the current user)"?

In any case: Ownership of /tmp seems out of scope for a specific
package.
 
> I tried it again and reproduced it... But I can also confirm that it
> builds fine on another machine... (so it's OK to downgrade)

Ok, downgrading to important …


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250126/f08a266f/attachment.sig>


More information about the pkg-perl-maintainers mailing list