* Applying patches from perl-5.24.1-RC4-2 ... * gentoo/hints_hpux.diff ...[ ok ] * gentoo/aix_soname.diff ...[ ok ] * gentoo/EUMM-RUNPATH.diff ...[ ok ] * gentoo/config_over.diff ...[ ok ] * gentoo/opensolaris_headers.diff ...[ ok ] * gentoo/patchlevel.diff ...[ ok ] * gentoo/cpanplus_definstalldirs.diff ... * A dry-run of patch command succeeded, but actually * applying the patch failed! * Failed Patch: cpanplus_definstalldirs.diff ! * ( /var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/patches/gentoo/cpanplus_definstalldirs.diff ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-lang/perl-5.24.1_rc4/temp/cpanplus_definstalldirs.diff.out .... ======================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch -p1 --dry-run -f < '/var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/patches/gentoo/cpanplus_definstalldirs.diff' ======================================== checking file cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm patch program exited with status 0 ======================================== ACTUALLY APPLYING cpanplus_definstalldirs.diff ... PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch -p1 < '/var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/patches/gentoo/cpanplus_definstalldirs.diff' ======================================== patch: **** Can't create temporary file cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm.o6KAhZF : No such file or directory patch program exited with status 2 .... /var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/perl-5.24.1-RC4/cpan/CPANPLUS is empty
(In reply to Dennis New from comment #0) > * Applying patches from perl-5.24.1-RC4-2 ... > * gentoo/hints_hpux.diff ...[ ok ] > * gentoo/aix_soname.diff ...[ ok ] > * gentoo/EUMM-RUNPATH.diff ...[ ok ] > * gentoo/config_over.diff ...[ ok ] > * gentoo/opensolaris_headers.diff ...[ ok ] > * gentoo/patchlevel.diff ...[ ok ] > * gentoo/cpanplus_definstalldirs.diff ... > > * A dry-run of patch command succeeded, but actually > * applying the patch failed! > > * Failed Patch: cpanplus_definstalldirs.diff ! > * ( > /var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/patches/gentoo/ > cpanplus_definstalldirs.diff ) > * > * Include in your bugreport the contents of: > * > * > /var/tmp/portage/dev-lang/perl-5.24.1_rc4/temp/cpanplus_definstalldirs.diff. > out > > .... > ======================================== > > PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch -p1 --dry-run -f < > '/var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/patches/gentoo/ > cpanplus_definstalldirs.diff' > > ======================================== > checking file cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm > > patch program exited with status 0 > ======================================== > > ACTUALLY APPLYING cpanplus_definstalldirs.diff ... > PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch -p1 < > '/var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/patches/gentoo/ > cpanplus_definstalldirs.diff' > > ======================================== > patch: **** Can't create temporary file > cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm.o6KAhZF : No such file or > directory > Did something fail while unpacking? Is your disk full?
Nope. I Even removed all my perl packages (I only have dev-lang/perl-5.20.2-r1 installed now), to avoid potential dependency weirdness. Still fails.
Actually, it might be permissions related. This path exists: cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm But for some reason, this path can't be created: This path exists: cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm.o6KAhZF Why exactly that is is not sure, but I'd be surprised if its the only place its happening. please give emerge --info ( are you on hardened, etc? )
Also, if you can dump the output from: find /var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/perl-5.24.1-RC4/cpan/CPANPLUS -ls
# find /var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/perl-5.24.1-RC4/cpan/CPANPLUS/ -ls 11194705 0 drwxr-xr-x 2 portage portage 48 Feb 11 10:19 /var/tmp/portage/dev-lang/perl-5.24.1_rc4/work/perl-5.24.1-RC4/cpan/CPANPLUS/ (It is empty)
OH!. Right. CPANPLUS was nixed in 5.20, so the patches still applying in most cases is just hiding the bug. For some reason, for everyone else, the patches blindly reconstruct the file :| Will get this fixed asap. The only question is why epatch has started failing for you.
I've shipped 5.24.1 with fixes for this issue included. Please test and see how things go. commit: e9992a8ed2cce6c4564cc1507ec2e68b7bfc2f78 author: 2017-02-11 20:44:59 +0000 Kent Fredric <kentnl@gentoo.org> commit: 2017-02-12 08:52:05 +0000 Kent Fredric <kentnl@gentoo.org> gpg-key: E854324B1366A820 dev-lang/perl,virtual/perl-Module-CoreList: Bump to Perl v5.24.1 (final) - Patches reworked slightly to give better `perl -V` output and apply cleanly with `git am` - base.pm changes from 5.24.1-RC4 carried on, despite removal upstream in 5.24.1-RC5/Final ( For testing, as this change is likely to come back in 5.24.2 ) - Temporarily disable zlib tests affected by bug #606374 - Remove bad patch causing bug #608966 - Upgrade to perl-cross 1.1.3 Bug: https://bugs.gentoo.org/606374 Bug: https://bugs.gentoo.org/608966 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Also fixed in 5.22.3 commit f7f55098218de72848fed8ab450b5d895efc02eb Author: Kent Fredric <kentnl@gentoo.org> Date: Wed Feb 22 05:56:13 2017 +1300 dev-lang/perl,virtual/perl-Module-CoreList: Bump to 5.22.3 Final - Fix bug with patching now-missing CPANPLUS code #608966 - Update cross-perl to 1.1.4 - Fix cross-compile bugs - Fix GCC6 + lto bugs #583532 - Backport fixes from Compress-Raw-Zlib 2.074 for zlib 1.2.9+ #606374 Bug: https://bugs.gentoo.org/608966 Bug: https://bugs.gentoo.org/583532 Bug: https://bugs.gentoo.org/606374 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-lang/perl/perl-5.22.3.ebuild | 550 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 550 insertions(+)