Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155725 - dev-java/swt-3.2.1 libswt-xpcomgcc4.patch fails to apply on amd64
Summary: dev-java/swt-3.2.1 libswt-xpcomgcc4.patch fails to apply on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 156716 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-19 14:46 UTC by Richard Connon
Modified: 2006-12-06 13:23 UTC (History)
2 users (show)

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


Attachments
emerge --info (info,2.63 KB, text/plain)
2006-11-19 14:47 UTC, Richard Connon
Details
Failed patch output (swt-3.2.1-libswt-xpcomgcc4.patch-22368.out,3.31 KB, text/plain)
2006-11-19 15:31 UTC, Paul Taylor
Details
modified swt-3.2.1-libswt-xpcomgcc4.patch file (swt-3.2.1-libswt-xpcomgcc4.patch,3.35 KB, text/plain)
2006-11-19 20:47 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
modified swt-3.2.1-firefox.patch file (swt-3.2.1-firefox.patch,4.96 KB, text/plain)
2006-11-19 20:50 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Connon 2006-11-19 14:46:32 UTC
patching swt fails with the following error:

 * Applying swt-3.2.1-libswt-xpcomgcc4.patch ...

 * Failed Patch: swt-3.2.1-libswt-xpcomgcc4.patch !
 *  ( /usr/portage/dev-java/swt/files/swt-3.2.1-libswt-xpcomgcc4.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-java/swt-3.2.1/temp/swt-3.2.1-libswt-xpcomgcc4.patch-22703.out


!!! ERROR: dev-java/swt-3.2.1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  swt-3.2.1.ebuild, line 71:   Called epatch '/usr/portage/dev-java/swt/files/swt-3.2.1-libswt-xpcomgcc4.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: swt-3.2.1-libswt-xpcomgcc4.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
Comment 1 Richard Connon 2006-11-19 14:47:15 UTC
Created attachment 102359 [details]
emerge --info
Comment 2 Paul Taylor 2006-11-19 15:31:57 UTC
Created attachment 102363 [details]
Failed patch output

I get the same error; here's my failed patch output (missing from the original bug report.)
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-11-19 16:56:44 UTC
Must be amd64 specific, can't reproduce on x86 and amd64 has different distfile.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-11-19 17:08:11 UTC
As a quick workaround, the patch is now applied only on x86. Leaving the bug open for Frederico or somebody with amd64 to take a look at porting the patch there.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2006-11-19 20:47:10 UTC
Created attachment 102371 [details]
modified swt-3.2.1-libswt-xpcomgcc4.patch file

Updated patch file to fit the amd64 swt package.
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2006-11-19 20:50:53 UTC
Created attachment 102372 [details]
modified swt-3.2.1-firefox.patch file

Updated patch file to fit the amd64 swt package.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2006-11-19 20:53:38 UTC
I was able to patch the swt package and to complete the ebuild install process with the modified patch files posted as comments #5 and #6.
I don't know enough of the swt library to know if it will work with these patches or not.
Comment 8 ron widler 2006-11-30 13:29:21 UTC
hi!
compiles and installs fine on my ~amd64
regards
ron
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-11-30 16:43:53 UTC
The patches are now applied, thanks.
Now we need to adjust them for ppc too...
Comment 10 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 04:02:32 UTC
*** Bug 156716 has been marked as a duplicate of this bug. ***
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 04:07:03 UTC
David, can you check that the patches 30_x86_libswt-xpcomgcc4.patch, 31_x86_firefox.patch and 40_x86_cairo-signedness.patch fix the build_with_seamonkey issue on ppc? They are located in $PORTDIR/dev-java/swt/files/patches-3.2.1. Copy them so that x86 is replaced with ppc in the filenames, redigest and try emerging. You should see the einfo about them being applied, and see if the building was successful.
Comment 12 David Gurvich 2006-12-06 06:57:43 UTC
Changing patches from x86 to ppc applies successfully and builds with no trouble.
Comment 13 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 13:23:25 UTC
Thanks for the testing. Just commited it to CVS. All arches are now taken care of.