I am trying to use the Rawhide SRPM to build non-native Eclipse 3.1 packages for FC4. (I am using the Java 1.5.0 RPMS from JPackage.)
When building with gcj is disabled, this SPEC file sets the BuildArch to noarch. This causes the build to fail, because eclipse_arch gets set to i386 instead of ix86.
I'm not sure what the correct fix is. Should a non-native Eclipse build *really* be noarch? There sure seems to be a lot of platform-specific stuff in there, and I note that JPackage's Eclipse 3.0.x packages are i586.
So, I can either:
* Set the BuildArch to i586 for non-native builds, or
* Rework the SPEC file to set eclipse_arch to ix86 for non-native builds.
Suggestions welcome. Thanks!
* Ian Pilcher i.pilcher@comcast.net [2005-09-20 10:14]:
When building with gcj is disabled, this SPEC file sets the BuildArch to noarch. This causes the build to fail, because eclipse_arch gets set to i386 instead of ix86.
I'm not sure what the correct fix is. Should a non-native Eclipse build *really* be noarch? There sure seems to be a lot of platform-specific stuff in there, and I note that JPackage's Eclipse 3.0.x packages are i586.
I should fix this. It shouldn't be noarch. The reason we have the gcj-specific stuff in there for arches is because we (well, not anymore but the last time I tried) could only build on i386, ppc, and x86_64.
So yeah: Eclipse packages should be arch-specific.
Sorry,
Andrew
Andrew Overholt wrote:
So yeah: Eclipse packages should be arch-specific.
Let me take a crack at this. It looks like non-native Eclipse should be limited to ia64, ppc, ppc64, x86_64, and i?86. Seems relatively strait- forward, except for the last one.
What do you think is most appropriate i386 (would it actually run?), i586 (to match Sun's JVM), something else?
TIA
* Ian Pilcher i.pilcher@comcast.net [2005-09-20 11:01]:
What do you think is most appropriate i386 (would it actually run?), i586 (to match Sun's JVM), something else?
Eclipse upstream just calls it x86. That's why we have that stuff at the top of the specfile saying "all arches line up except ...". Does it matter that much what the BuildArch is? I don't know much about .sos that are generated from JNI and their arch, etc. Anyone else?
Andrew
Andrew Overholt wrote:
- Ian Pilcher i.pilcher@comcast.net [2005-09-20 11:01]:
What do you think is most appropriate i386 (would it actually run?), i586 (to match Sun's JVM), something else?
Eclipse upstream just calls it x86. That's why we have that stuff at the top of the specfile saying "all arches line up except ...". Does it matter that much what the BuildArch is? I don't know much about .sos that are generated from JNI and their arch, etc. Anyone else?
Use i386.
Cheers, Gary
java-devel@lists.fedoraproject.org