Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61513

Summary: ganttproject patch process fails during build
Product: Gentoo Linux Reporter: Andrew Knott <aknott>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Knott 2004-08-24 07:19:43 UTC
When I try to emerge app-office/ganttproject it fails on the patching process. The output from the patch commands is as follows:


***** build.xml.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/app-office/ganttproject/files/build.xml.patch

===========================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: build.xml
|===================================================================
|RCS file: /cvsroot/ganttproject/ganttproject/build.xml,v
|retrieving revision 1.72
|diff -r1.72 build.xml
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/app-office/ganttproject/files/build.xml.patch

===========================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: build.xml
|===================================================================
|RCS file: /cvsroot/ganttproject/ganttproject/build.xml,v
|retrieving revision 1.72
|diff -r1.72 build.xml
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/app-office/ganttproject/files/build.xml.patch

===========================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: build.xml
|===================================================================
|RCS file: /cvsroot/ganttproject/ganttproject/build.xml,v
|retrieving revision 1.72
|diff -r1.72 build.xml
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/app-office/ganttproject/files/build.xml.patch

===========================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: build.xml
|===================================================================
|RCS file: /cvsroot/ganttproject/ganttproject/build.xml,v
|retrieving revision 1.72
|diff -r1.72 build.xml
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/app-office/ganttproject/files/build.xml.patch

===========================
can't find file to patch at input line 6
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: build.xml
|===================================================================
|RCS file: /cvsroot/ganttproject/ganttproject/build.xml,v
|retrieving revision 1.72
|diff -r1.72 build.xml
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored



Reproducible: Always
Steps to Reproduce:
1. emerge ganttproject

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/ganttproject-1.9.11 to /
>>> md5 src_uri ;-) ganttproject-1.9.11-src.zip
>>> Unpacking source...
>>> Unpacking ganttproject-1.9.11-src.zip to
/var/tmp/portage/ganttproject-1.9.11/work
 * Applying build.xml.patch...

 * Failed Patch: build.xml.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/ganttproject-1.9.11/temp/build.xml.patch-22980.out


!!! ERROR: app-office/ganttproject-1.9.11 failed.
!!! Function epatch, Line 341, Exitcode 0
!!! Failed Patch: build.xml.patch!

Expected Results:  
No error in the patching process.
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-08-26 18:50:57 UTC
Should be good to go. Seems they updated the zip file on the mirrors... :/