Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105453 - swt-3.2_pre1 - swt-cairo-0.9.2.patch fails
Summary: swt-3.2_pre1 - swt-cairo-0.9.2.patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 22:05 UTC by Steve B.
Modified: 2005-09-10 14:55 UTC (History)
1 user (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 Steve B. 2005-09-09 22:05:05 UTC
Unpacking src.zip to /var/tmp/portage/swt-3.2_pre1/work
 * Applying swt-cairo-0.9.2.patch ...

 * Failed Patch: swt-cairo-0.9.2.patch !
 *  ( /usr/portage/dev-java/swt/files/swt-cairo-0.9.2.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/swt-3.2_pre1/temp/swt-cairo-0.9.2.patch-18751.out

Reproducible: Always
Steps to Reproduce:
1. emerge -u swt

Actual Results:  
swt fails to compile

Expected Results:  
swt compiles with no problems

output of patch
---------------
***** swt-cairo-0.9.2.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/dev-java/swt/files/swt-cairo-0.9.2.patch

=================================
patching file cairo.c
Hunk #1 succeeded at 254 with fuzz 1.
Hunk #2 succeeded at 365 with fuzz 1.
Hunk #3 FAILED at 1038.
Hunk #4 succeeded at 1143 with fuzz 1.
Hunk #5 succeeded at 1201 with fuzz 1.
Hunk #6 FAILED at 1459.
Hunk #7 FAILED at 1612.
3 out of 7 hunks FAILED -- saving rejects to file cairo.c.rej
=================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/dev-java/swt/files/swt-cairo-0.9.2.patch

=================================
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c,v
|retrieving revision 1.4
|retrieving revision 1.5
|diff -u -r1.4 -r1.5
|--- cairo.c    2005/07/11 21:28:17     1.4
|+++ cairo.c    2005/08/15 20:22:55     1.5
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
=================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/dev-java/swt/files/swt-cairo-0.9.2.patch

=================================
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c,v
|retrieving revision 1.4
|retrieving revision 1.5
|diff -u -r1.4 -r1.5
|--- cairo.c    2005/07/11 21:28:17     1.4
|+++ cairo.c    2005/08/15 20:22:55     1.5
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
=================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/dev-java/swt/files/swt-cairo-0.9.2.patch

=================================
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c,v
|retrieving revision 1.4
|retrieving revision 1.5
|diff -u -r1.4 -r1.5
|--- cairo.c    2005/07/11 21:28:17     1.4
|+++ cairo.c    2005/08/15 20:22:55     1.5
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
=================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/dev-java/swt/files/swt-cairo-0.9.2.patch

=================================
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT PI/cairo/library/cairo.c,v
|retrieving revision 1.4
|retrieving revision 1.5
|diff -u -r1.4 -r1.5
|--- cairo.c    2005/07/11 21:28:17     1.4
|+++ cairo.c    2005/08/15 20:22:55     1.5
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-09-10 14:55:20 UTC
Hmm, thanks for the report, didnt realize that PI is not real PI.  Added an arch
specific patch, please reopen if the bug exists.