Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484294 - perl-core/ExtUtils-MakeMaker-6.760.0 bump / patch failure
Summary: perl-core/ExtUtils-MakeMaker-6.760.0 bump / patch failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 492514 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-09 05:19 UTC by Patrick Lauer
Modified: 2013-11-25 18:32 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-09-09 05:19:39 UTC
>>> Emerging (1 of 2) perl-core/ExtUtils-MakeMaker-6.760.0
 * ExtUtils-MakeMaker-6.76.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking ExtUtils-MakeMaker-6.76.tar.gz to /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.760.0/work
>>> Source unpacked in /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.760.0/work
>>> Preparing source in /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.760.0/work/ExtUtils-MakeMaker-6.76 ...
 * Applying 6.62-delete_packlist_podlocal.patch ...

 * Failed Patch: 6.62-delete_packlist_podlocal.patch !
 *  ( /usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.760.0/temp/6.62-delete_packlist_podlocal.patch.out

 * ERROR: perl-core/ExtUtils-MakeMaker-6.760.0::gentoo failed (prepare phase):
 *   Failed Patch: 6.62-delete_packlist_podlocal.patch!

# cat /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.760.0/temp/6.62-delete_packlist_podlocal.patch.out
***** 6.62-delete_packlist_podlocal.patch *****
PWD: /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.760.0/work/ExtUtils-MakeMaker-6.76

===============================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/lib/ExtUtils/MM_Unix.pm
|+++ b/lib/ExtUtils/MM_Unix.pm
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
checking file lib/ExtUtils/MM_Unix.pm
Hunk #1 FAILED at 2052.
Hunk #2 FAILED at 2079.
Hunk #3 succeeded at 2127 with fuzz 2 (offset 38 lines).
Hunk #4 succeeded at 2148 (offset 38 lines).
2 out of 4 hunks FAILED

patch program exited with status 1
===============================================
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2013-09-09 10:17:30 UTC
We really shouldn't be applying the delete .packlist part anyway, as per bug #438660 

Unless of course, those pack-lists will be expected to reference ${TEMPDIR} , which is the reason for removing them in the first place ( see bug #221179 )

Removing podlocal seems sane still however, unless somebody wants to keep that and place it under CONFIG_PROTECT and COLLISION_IGNORE  ( because every install of a perl module updates this single file, which would become a problem for both of those things.

And CONFIG_PROTECT is also likely to be useless here, because if you do

->install a 
->dispatch conf
->install b
->install c

b will bump to  say

  installed a 
  installed b

and c will bump to say

  installed a 
  installed c

^ which is going to be a big mess to expect all perl users to clean up themselves for the case of only 2 modules, let alone *all* modules.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2013-11-25 15:16:23 UTC
Today I saw the same problem with perl-core/ExtUtils-MakeMaker-6.820.0:

>>> Emerging (3 of 4) perl-core/ExtUtils-MakeMaker-6.820.0
 * ExtUtils-MakeMaker-6.82.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                               [ ok ]
>>> Unpacking source...
>>> Unpacking ExtUtils-MakeMaker-6.82.tar.gz to /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.820.0/work
>>> Source unpacked in /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.820.0/work
>>> Preparing source in /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.820.0/work/ExtUtils-MakeMaker-6.82 ...
 * Applying 6.62-delete_packlist_podlocal.patch ...

 * Failed Patch: 6.62-delete_packlist_podlocal.patch !
 *  ( /usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.820.0/temp/6.62-delete_packlist_podlocal.patch.out

 * ERROR: perl-core/ExtUtils-MakeMaker-6.820.0::gentoo failed (prepare phase):
 *   Failed Patch: 6.62-delete_packlist_podlocal.patch!



# cat /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.820.0/temp/6.62-delete_packlist_podlocal.patch.out
***** 6.62-delete_packlist_podlocal.patch *****
PWD: /var/tmp/portage/perl-core/ExtUtils-MakeMaker-6.820.0/work/ExtUtils-MakeMaker-6.82

===============================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/lib/ExtUtils/MM_Unix.pm
|+++ b/lib/ExtUtils/MM_Unix.pm
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
checking file lib/ExtUtils/MM_Unix.pm
Hunk #1 FAILED at 2052.
Hunk #2 FAILED at 2079.
Hunk #3 succeeded at 2125 with fuzz 2 (offset 36 lines).
Hunk #4 succeeded at 2146 (offset 36 lines).
2 out of 4 hunks FAILED

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/lib/ExtUtils/MM_Unix.pm
|+++ b/lib/ExtUtils/MM_Unix.pm
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/lib/ExtUtils/MM_Unix.pm
|+++ b/lib/ExtUtils/MM_Unix.pm
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/usr/portage/perl-core/ExtUtils-MakeMaker/files/6.62-delete_packlist_podlocal.patch'

===============================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/lib/ExtUtils/MM_Unix.pm
|+++ b/lib/ExtUtils/MM_Unix.pm
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored

patch program exited with status 1



# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.10.20 x86_64)
=================================================================
System uname: Linux-3.10.20-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     4050884 total,   3316620 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Mon, 25 Nov 2013 14:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Comment 3 Ulenrich 2013-11-25 15:48:35 UTC
Confirm - same issue
perl-core/ExtUtils-MakeMaker-6.820.0

using with Gentoo~unstable and unmasked perl:
dev-lang/perl-5.18.1
Comment 4 Vladimir Smirnov (RETIRED) gentoo-dev 2013-11-25 18:15:27 UTC
Thanks. New patch should appear in tree soon.

Though, can't keep packlists for now, they still contains references to ${TMPDIR}.  It can be fixed, but fix is more complicated then a patch to this pkg.
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-11-25 18:32:00 UTC
*** Bug 492514 has been marked as a duplicate of this bug. ***