Bug 436199 - Not possible to do a build on ppc outside of brew
Summary: Not possible to do a build on ppc outside of brew
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: eclipse
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Alexander Kurtakov
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-05 20:59 UTC by Suzanne Hillman
Modified: 2013-03-11 19:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-11 19:44:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Suzanne Hillman 2008-03-05 20:59:25 UTC
Description of problem:
Not possible to do a build on ppc outside of brew. From the errata:

(devel)
It looks like maybe this is some sort of wackiness between the host arch and the
target of the build?

extracting debug info from
/var/tmp/eclipse-3.2.1-19.el5-buildroot/usr/lib64/gcj/eclipse/org.eclipse.pde.runtime_3.2.0.v20060605.jar.so
                                            ^^^^^

File not found by glob:
/var/tmp/eclipse-3.2.1-19.el5-buildroot/usr/lib/gcj/eclipse/org.eclipse.pde.runtime_*
                                            ^^^

I've always had a hard time reproducing pure ppc{64,32} builds outside of the
buildsystem, FWIW.


(me)
Hmm. I did try specifying ppc64, and it just gave:

BUILD FAILED
/usr/src/redhat/BUILD/eclipse-3.2.1/build.xml:237: The following error occurred
while executing this line:
/usr/src/redhat/BUILD/eclipse-3.2.1/build.xml:8: The following error occurred
while executing this line:
/usr/src/redhat/BUILD/eclipse-3.2.1/features/org.eclipse.sdk/build.xml:114:
Duplicate target 'rootFileslinux_gtk_ppc'

Total time: 11 seconds
error: Bad exit status from /var/tmp/rpm-tmp.34891 (%build)


(devel)
I'm not entirely sure I've ever successfully done a ppc (or ppc64) build outside
of brew.  It should work, of course, but there are issues around --target and
--arch and ant variables like buildArch, etc.


Version-Release number of selected component (if applicable):
eclipse-3.2.1-19.el5

How reproducible:
Always

Steps to Reproduce:
1. Use tps-srpmtest or try to run rpmbuild --rebuild   --define "dist .el5"
--target=ppc64
/mnt/redhat/brewroot/packages/eclipse/3.2.1/19.el5/src/eclipse-3.2.1-19.el5.src.rpm
  
Actual results:
Fails, see above.

Expected results:
Should work.

Additional info:
Probably not a regression.

Comment 3 Alexander Kurtakov 2013-03-11 19:44:29 UTC
RHEL 5 has ended Production Phase 1 and thus only security bugfixes from this point on. Please use Eclipse from RHEL 6 if you need newer Eclipse version.


Note You need to log in before you can comment on or make changes to this bug.