Source: libsgml-parser-opensp-perl Version: 0.994-7 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20250124 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory > '/build/reproducible-path/libsgml-parser-opensp-perl-0.994' > "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- OpenSP.bs > blib/arch/auto/SGML/Parser/OpenSP/OpenSP.bs 644 > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" > "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', > 'blib/arch')" t/*.t > t/01basic.t ......... > 1..4 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - SGML::Parser::OpenSP->can(...) > ok > t/02integrity.t ..... > 1..5 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - pointer to C++ object > ok 5 - C++ object pointer not null-pointer > ok > t/03exceptions.t .... > 1..6 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - must die when calling get_location while not parsing > ok 5 - must die when no file name specified for parse > ok 6 - must die when no handler specified > ok > t/04basicparse.t .... > 1..6 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - accessor > ok 5 - must die when handler not an object > ok 6 - must not die when handler cannot handle a method > ok > t/05basichandler.t .. > 1..14 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - An object of class 'TestHandler1' isa 'TestHandler1' > ok 5 - basic parser test > ok 6 - self to handler > ok 7 - has name > ok 8 - proper name > ok 9 - has attrs > ok 10 - attrs hash ref > ok 11 - proper attrs > ok 12 - has included > ok 13 - included == 0 > ok 14 - has content type > ok > t/06parseliteral.t .. > 1..13 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - reading from a <literal> > ok 5 - self to handler > ok 6 - has name > ok 7 - proper name > ok 8 - has attrs > ok 9 - attrs hash ref > ok 10 - proper attrs > ok 11 - has included > ok 12 - included == 0 > ok 13 - has content type > ok > t/07defaults.t ...... > 1..6 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - An object of class 'TestHandler2' isa 'TestHandler2' > ok 5 - comments not reported by default > ok 6 - comments not default > ok > t/08comments.t ...... > 1..8 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - An object of class 'TestHandler3' isa 'TestHandler3' > ok 5 - comments turned on > ok 6 - comment reported at user option > ok 7 - comments ok > ok 8 - comments turned off > ok > t/09locations.t ..... > 1..8 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - implied dtd locations > ok 5 - implied col > ok 6 - implied line > ok 7 - implied offset > ok 8 - implied end_dtd > ok > t/10errors.t ........ > 1..5 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - does properly report erros > ok 5 - found right error message > ok > t/11parsers.t ....... > 1..85 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 5 - pointer to C++ object > ok 6 - C++ object pointer not null-pointer > ok 7 - reading from a <literal> > ok 8 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 9 - pointer to C++ object > ok 10 - C++ object pointer not null-pointer > ok 11 - reading from a <literal> > ok 12 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 13 - pointer to C++ object > ok 14 - C++ object pointer not null-pointer > ok 15 - reading from a <literal> > ok 16 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 17 - pointer to C++ object > ok 18 - C++ object pointer not null-pointer > ok 19 - reading from a <literal> > ok 20 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 21 - pointer to C++ object > ok 22 - C++ object pointer not null-pointer > ok 23 - reading from a <literal> > ok 24 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 25 - pointer to C++ object > ok 26 - C++ object pointer not null-pointer > ok 27 - reading from a <literal> > ok 28 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 29 - pointer to C++ object > ok 30 - C++ object pointer not null-pointer > ok 31 - reading from a <literal> > ok 32 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 33 - pointer to C++ object > ok 34 - C++ object pointer not null-pointer > ok 35 - reading from a <literal> > ok 36 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 37 - pointer to C++ object > ok 38 - C++ object pointer not null-pointer > ok 39 - reading from a <literal> > ok 40 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 41 - pointer to C++ object > ok 42 - C++ object pointer not null-pointer > ok 43 - reading from a <literal> > ok 44 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 45 - pointer to C++ object > ok 46 - C++ object pointer not null-pointer > ok 47 - reading from a <literal> > ok 48 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 49 - pointer to C++ object > ok 50 - C++ object pointer not null-pointer > ok 51 - reading from a <literal> > ok 52 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 53 - pointer to C++ object > ok 54 - C++ object pointer not null-pointer > ok 55 - reading from a <literal> > ok 56 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 57 - pointer to C++ object > ok 58 - C++ object pointer not null-pointer > ok 59 - reading from a <literal> > ok 60 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 61 - pointer to C++ object > ok 62 - C++ object pointer not null-pointer > ok 63 - reading from a <literal> > ok 64 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 65 - pointer to C++ object > ok 66 - C++ object pointer not null-pointer > ok 67 - reading from a <literal> > ok 68 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 69 - pointer to C++ object > ok 70 - C++ object pointer not null-pointer > ok 71 - reading from a <literal> > ok 72 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 73 - pointer to C++ object > ok 74 - C++ object pointer not null-pointer > ok 75 - reading from a <literal> > ok 76 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 77 - pointer to C++ object > ok 78 - C++ object pointer not null-pointer > ok 79 - reading from a <literal> > ok 80 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 81 - pointer to C++ object > ok 82 - C++ object pointer not null-pointer > ok 83 - reading from a <literal> > ok 84 - all parsers loaded > ok 85 - parser destructors > ok > t/12utf8.t .......... > 1..17 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - utf8 flags > ok 5 - utf8 pcdata > ok 6 - utf8 element name > ok 7 - utf8 element name check > ok 8 - attributes > ok 9 - attribute hash key utf8 > ok 10 - attribute hash key utf8 check > ok 11 - attribute name utf8 > ok 12 - attribute name utf8 check > ok 13 - end element name > ok 14 - end element name > ok 15 - complete data > ok 16 - complete data > ok 17 - correct data > ok > t/13restricted.t .... > 1..12 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - must not read paths with .. > ok 5 - must not read paths with .. > ok 6 - must not read paths with .. > ok 7 - must not read paths with ./ > ok 8 - must not read paths with ./ > ok 9 - must not read paths with ./ > ok 10 - allow to read sample dir in restricted mode > ok 11 - allow to read sample dir in restricted mode > ok 12 - allow to read sample dir in restricted mode > ok > t/14illegalparse.t .. > 1..5 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - parse must not be called from handler > ok 5 - parse from handler croaks > ok > t/15parseinput.t .... > 1..8 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - non-scalar to parse > ok 5 - non-scalar to parse > ok 6 - can open no-doctype.xml > ok 7 - file handle to parse > ok 8 - can close no-doctype.xml > ok > t/16catalogs.t ...... > 1..9 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - catalogs > ok 5 - proper dtd event > ok 6 - proper sys id > ok 7 - proper pub id > ok 8 - proper osfile gen id > ok 9 - proper root element > ok > t/17splitmessage.t .. > 1..18 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - use SGML::Parser::OpenSP::Tools; > ok 3 - require SGML::Parser::OpenSP; > ok 4 - require SGML::Parser::OpenSP::Tools; > ok 5 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 6 - newlines in enum attr values > ok 7 - two errors > ok 8 - two errors split > ok 9 - correct col 122 > ok 10 - correct lin 122 > ok 11 - correct text 122 > ok 12 - correct col 131 > ok 13 - correct lin 131 > ok 14 - correct text 131 > ok 15 > ok 16 > ok 17 > ok 18 > ok > t/18halt.t .......... > 1..10 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - normal halt > ok 5 - halt handler called > ok 6 - halt stops events > ok 7 - die in handler propagates > ok 8 > ok 9 - die in handler halts > ok 10 - object still usable after die in handler > ok > t/19refcounting.t ... > 1..5 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - parser refcounting 1 > ok 5 - parser refcounting 2 > ok > 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. > > # Failed test 'temp file name handler called' > # at t/20passfd.t line 32. > # got: '0' > # expected: '1' > 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 43 > Test::Exception::lives_ok() called at t/20passfd.t line 43 > > # Failed test 'parse by fd' > # at t/20passfd.t line 43. > # 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. > > # Failed test 'temp file descriptor handler called' > # at t/20passfd.t line 44. > # got: '0' > # expected: '1' > # Looks like you failed 4 tests of 7. > t/20passfd.t ........ > 1..7 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > not ok 4 - parse_string with temp file name > not ok 5 - temp file name handler called > not ok 6 - parse by fd > not ok 7 - temp file descriptor handler called > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/7 subtests > 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/21parsestring.t line 54 > Test::Exception::lives_ok() called at t/21parsestring.t line 55 > > # Failed test 'parsing with parse_string()' > # at t/21parsestring.t line 55. > # 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. > > # Failed test 'self to handler' > # at t/21parsestring.t line 57. > > # Failed test 'has name' > # at t/21parsestring.t line 58. > > # Failed test 'proper name' > # at t/21parsestring.t line 59. > > # Failed test 'has attrs' > # at t/21parsestring.t line 60. > > # Failed test 'attrs hash ref' > # at t/21parsestring.t line 61. > > # Failed test 'proper attrs' > # at t/21parsestring.t line 62. > > # Failed test 'has included' > # at t/21parsestring.t line 63. > > # Failed test 'included == 0' > # at t/21parsestring.t line 64. > > # Failed test 'has content type' > # at t/21parsestring.t line 65. > # Looks like you failed 10 tests of 13. > t/21parsestring.t ... > 1..13 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > not ok 4 - parsing with parse_string() > not ok 5 - self to handler > not ok 6 - has name > not ok 7 - proper name > not ok 8 - has attrs > not ok 9 - attrs hash ref > not ok 10 - proper attrs > not ok 11 - has included > not ok 12 - included == 0 > not ok 13 - has content type > Dubious, test returned 10 (wstat 2560, 0xa00) > Failed 10/13 subtests > t/22mwarnings.t ..... > 1..7 > ok 1 - use SGML::Parser::OpenSP; > ok 2 - require SGML::Parser::OpenSP; > ok 3 - An object of class 'SGML::Parser::OpenSP' isa 'SGML::Parser::OpenSP' > ok 4 - ampersand as data > ok 5 - ampersand as data generates warning > ok 6 - ampersand as data > ok 7 - ampersand as data generates warning > ok > t/98podsyn.t ........ > 1..2 > ok 1 - POD test for blib/lib/SGML/Parser/OpenSP.pm > ok 2 - POD test for blib/lib/SGML/Parser/OpenSP/Tools.pm > ok > t/99podcov.t ........ > 1..2 > ok 1 - Pod coverage on SGML::Parser::OpenSP > ok 2 - Pod coverage on SGML::Parser::OpenSP::Tools > ok > > Test Summary Report > ------------------- > t/20passfd.t (Wstat: 1024 (exited 4) Tests: 7 Failed: 4) > Failed tests: 4-7 > Non-zero exit status: 4 > t/21parsestring.t (Wstat: 2560 (exited 10) Tests: 13 Failed: 10) > Failed tests: 4-13 > Non-zero exit status: 10 > Files=24, Tests=275, 3 wallclock secs ( 0.13 usr 0.05 sys + 2.10 cusr > 0.40 csys = 2.68 CPU) > Result: FAIL > Failed 2/24 test programs. 14/275 subtests failed. > make[1]: *** [Makefile:1026: test_dynamic] Error 255 > make[1]: Leaving directory > '/build/reproducible-path/libsgml-parser-opensp-perl-0.994' > dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2025/01/24/libsgml-parser-opensp-perl_0.994-7_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.