Bug 155725 - dev-java/swt-3.2.1 libswt-xpcomgcc4.patch fails to apply on amd64
|
Bug#:
155725
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: java@gentoo.org
|
Reported By: richard.connon@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: dev-java/swt-3.2.1 libswt-xpcomgcc4.patch fails to apply on amd64
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-11-19 14:46 0000
|
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
Must be amd64 specific, can't reproduce on x86 and amd64 has different
distfile.
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.
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.
hi!
compiles and installs fine on my ~amd64
regards
ron
The patches are now applied, thanks.
Now we need to adjust them for ppc too...
*** Bug 156716 has been marked as a duplicate of this bug. ***
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.
Changing patches from x86 to ppc applies successfully and builds with no
trouble.
Thanks for the testing. Just commited it to CVS. All arches are now taken care
of.