Bug#1015110: raku-getopt-long: FTBFS: Failed to create directory '/usr/lib/perl6/site/short' with mode '0o777': Failed to mkdir: Permission denied

Lucas Nussbaum lucas at debian.org
Sat Jul 16 14:55:05 BST 2022


Source: raku-getopt-long
Version: 0.3.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_raku_build
> 	Pre-compiling raku-getopt-long
> 	HOME=/<<PKGBUILDDIR>>/debian/tmp/home/ RAKUDO_LOG_PRECOMP=1 RAKUDO_RERESOLVE_DEPENDENCIES=0 raku /usr/share/perl6/tools/install-dist.p6 --for=vendor --from=. --to=debian/tmp/pre-compiled
> WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
> Failed to create directory '/usr/lib/perl6/site/short' with mode '0o777': Failed to mkdir: Permission denied
>   in any statement_control at /usr/lib/perl6/lib/Perl6/Grammar.moarvm line 1
> 
> Precompiling 82A4038782AD4AA55845FEF173D308C81E7FBBAB (Getopt::Long)
>    dh_raku_test
> 	HOME=/<<PKGBUILDDIR>>/debian/tmp/home/ /usr/bin/prove --exec raku -l -v
> WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
> Failed to create directory '/usr/lib/perl6/site/short' with mode '0o777': Failed to mkdir: Permission denied
>   in any statement_control at /usr/lib/perl6/lib/Perl6/Grammar.moarvm line 1
> 
> ===SORRY!=== Error while compiling /<<PKGBUILDDIR>>/t/basic.t
> Could not find Getopt::Long in:
>     /<<PKGBUILDDIR>>/debian/tmp/home/.raku
>     /usr/lib/perl6/site
>     /usr/lib/perl6/vendor
>     /usr/lib/perl6/core
>     CompUnit::Repository::AbsolutePath<94661643575440>
>     CompUnit::Repository::NQP<94661631450168>
>     CompUnit::Repository::Perl5<94661631450208>
> at /<<PKGBUILDDIR>>/t/basic.t:5
> t/basic.t .. 
> Dubious, test returned 1 (wstat 256, 0x100)
> No subtests run 
> 
> Test Summary Report
> -------------------
> t/basic.t (Wstat: 256 Tests: 0 Failed: 0)
>   Non-zero exit status: 1
>   Parse errors: No plan found in TAP output
> Files=1, Tests=0,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.34 cusr  0.03 csys =  0.39 CPU)
> Result: FAIL
> dh_raku_test: error: HOME=/<<PKGBUILDDIR>>/debian/tmp/home/ /usr/bin/prove --exec raku -l -v returned exit code 1
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/raku-getopt-long_0.3.3-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lucas@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 marking 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.



More information about the Pkg-rakudo-devel mailing list