Bug#759942: cpanminus: FTBFS: Can't write to cpanm home '/sbuild-nonexistent/.cpanm': You should fix it with chown/chmod first.

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 21:27:30 UTC 2014


Source: cpanminus
Version: 1.7004-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Apparently you need a write $HOME. Set it to /tmp/somewhere?

Relevant part (hopefully):
> make[2]: Entering directory '/«PKGBUILDDIR»'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> # App::cpanminus/1.7004
> t/happy_cpantesters.t .. ok
> All tests successful.
> Files=1, Tests=1,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.02 cusr  0.00 csys =  0.05 CPU)
> Result: PASS
> make[2]: Leaving directory '/«PKGBUILDDIR»'
> PERL5LIB=/«PKGBUILDDIR»/blib/lib perl /«PKGBUILDDIR»/blib/script/cpanm --version
> Can't write to cpanm home '/sbuild-nonexistent/.cpanm': You should fix it with chown/chmod first.
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/cpanminus_1.7004-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



More information about the pkg-perl-maintainers mailing list