Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68969 - net-zope/zope-2.7.3 fails on gid.patch
Summary: net-zope/zope-2.7.3 fails on gid.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 05:41 UTC by Kirk Lowery
Modified: 2004-10-26 06:44 UTC (History)
0 users

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 Kirk Lowery 2004-10-26 05:41:02 UTC
After sync, zope-2.7.3 was a "NS" option for upgrading. The emerge failed on the gid.patch step after downloading the tarball. It looks like the patch file is corrupted.


Reproducible: Always
Steps to Reproduce:
1. emerge -uDv net-zope/zope

Actual Results:  
!!! ERROR: net-zope/zope-2.7.3 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: gid.patch!



Here is the info from /var/tmp/portage/zope-2.7.3/temp/gid.patch-6279.out:

***** gid.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/net-zope/zope/files/2.7.3/gid.patch

=====================
patching file lib/Components/initgroups/initgroups.c
Hunk #1 FAILED at 23.
1 out of 1 hunk FAILED -- saving rejects to file
lib/Components/initgroups/initgroups.c.rej
=====================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/net-zope/zope/files/2.7.3/gid.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:
--------------------------
|--- lib/Components/initgroups/initgroups.c
|+++ lib/Components/initgroups/initgroups.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/net-zope/zope/files/2.7.3/gid.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:
--------------------------
|--- lib/Components/initgroups/initgroups.c
|+++ lib/Components/initgroups/initgroups.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/net-zope/zope/files/2.7.3/gid.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:
--------------------------
|--- lib/Components/initgroups/initgroups.c
|+++ lib/Components/initgroups/initgroups.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/net-zope/zope/files/2.7.3/gid.patch
=====================
missing header for unified diff at line 3 of 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:
--------------------------
|--- lib/Components/initgroups/initgroups.c
|+++ lib/Components/initgroups/initgroups.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 1 Kirk Lowery 2004-10-26 05:58:19 UTC
The patch error can't seem to find

lib/Components/initgroups/initgroups.c

but there it is:

-rw-rw-r--  1 root root 1523 Aug  5 06:52 zope-2.7.3/work/Zope-2.7.3-0/lib/Components/initgroups/initgroups.c

So...some sort of path problem?
Comment 2 Jodok Batlogg (RETIRED) gentoo-dev 2004-10-26 06:44:22 UTC
fixed without revision  bump. removed patch, just resync portage.
it came originally in from: http://bugs.gentoo.org/show_bug.cgi?id=48696
should be fixed upstream: http://zope.org/Collectors/Zope/1267

sorry radek - just fixed it before you assigned the bug :)