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

Lucas Nussbaum lucas at debian.org
Sat Jan 25 16:53:49 GMT 2025


Hi Gregor,

On 25/01/25 at 01:01 +0100, gregor herrmann wrote:
> Control: tag -1 + unreproducible
> 
> On Fri, 24 Jan 2025 21:30:26 +0100, Lucas Nussbaum wrote:
> 
> > Source: libsgml-parser-opensp-perl
> > Version: 0.994-7
> > Severity: serious
> > Justification: FTBFS
> > Tags: trixie sid ftbfs
> > User: lucas at debian.org
> > Usertags: ftbfs-20250124 ftbfs-trixie
> > 
> > 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 tried it again and reproduced it... But I can also confirm that it
builds fine on another machine... (so it's OK to downgrade)

Lucas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250125/09e67ecd/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list