Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 987438

Summary: eclipse-ptp 7.0.x is FTBFS on ARM
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: eclipse-ptpAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kdaniel, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: eclipse-ptp-7.0.1-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-02 21:51:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 245418    

Description Peter Robinson 2013-07-23 11:37:28 UTC
All 7.0.x builds fail. Previously 6.x at least built OK. Links to builds.

[INFO] Resolving class path of MavenProject: org.eclipse.ptp:org.eclipse.ptp.rdt.sync.git.ui:1.0.0-SNAPSHOT @ /builddir/build/BUILD/org.eclipse.ptp-7a7225fc8470b8ec4bc614ff9110d8045fa20a52/rdt/org.eclipse.ptp.rdt.sync.git.ui/pom.xml
[ERROR] Internal error: java.lang.NullPointerException: -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException: 
	at org.apache.maven.DefaultMaven.execute(
	at org.apache.maven.cli.MavenCli.execute(
	at org.apache.maven.cli.MavenCli.doMain(
	at org.fedoraproject.maven.connector.Main.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(
Caused by: java.lang.NullPointerException: 
	at org.eclipse.tycho.core.osgitools.EquinoxResolver.assertResolved(
	at org.eclipse.tycho.core.osgitools.EquinoxResolver.newResolvedState(
	at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(
	at org.eclipse.tycho.core.osgitools.OsgiBundleProject.resolveClassPath(
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(
	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(
	at org.apache.maven.DefaultMaven.doExecute(
	at org.apache.maven.DefaultMaven.execute(
	... 11 more
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
error: Bad exit status from /var/tmp/rpm-tmp.WAWHkN (%build)
    Bad exit status from /var/tmp/rpm-tmp.WAWHkN (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: Command failed. See logs for output.

Comment 1 Krzysztof Daniel 2013-07-23 11:49:48 UTC
This is an ARM JVM issue where it does incorrect optimization. To fix it, it is necessary to exclude org/eclipse/tycho/core/osgitools/EquinoxResolver,newState from (I guess) HotSpot optimizations. Just add this command before invoking maven/tycho:

export MAVEN_OPTS="-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"

Comment 2 Krzysztof Daniel 2013-07-23 12:24:47 UTC
This is the scratch build I've started:

Comment 3 Krzysztof Daniel 2013-07-23 14:26:50 UTC
Build fail because of the broken build stack.

Comment 4 Fedora Update System 2013-07-25 07:41:44 UTC
eclipse-ptp-7.0.1-2.fc19 has been submitted as an update for Fedora 19.

Comment 5 Krzysztof Daniel 2013-07-25 07:48:42 UTC
A scratch build [1] succeeded so I'm running a regular one now [2].

Comment 6 Krzysztof Daniel 2013-07-25 08:01:43 UTC
And we are done:

Comment 7 Fedora Update System 2013-07-26 00:37:46 UTC
Package eclipse-ptp-7.0.1-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing eclipse-ptp-7.0.1-2.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-08-02 21:51:24 UTC
eclipse-ptp-7.0.1-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.