FS#53383 - [eclipse-common] Product export (RCP) fails

Attached to Project: Arch Linux
Opened by Simon Schwitanski (dekar) - Monday, 20 March 2017, 10:44 GMT
Last edited by morganamilo (morganamilo) - Monday, 18 November 2019, 21:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The export of a product (Eclipse application) using a Plug-in project fails with the message:

"An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.eclipse.equinox.launcher.gtk.linux.x86_64,1.1.401.v20161122-1740."


Additional info:
* package version(s):
eclipse-common 4.6.2-2
eclipse-java 4.6.2-2


Steps to reproduce:
In order to reproduce this bug you need to have the Eclipse RCP "packages" installed. A list of default installed packages in the Eclipse RCP distribution can be found here: http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/neon2

1. Create a new Plug-in Project: File > New > Other... > Plug-in Development > Plug-in Project > Next
2. Specify any Project name. > Next
3. Ensure that "This plug-in will make contributions to the UI" is checked and set "Would you like to create a rich client application?" to "Yes". > Next
4. Choose "Eclipse 4 RCP application" and click on "Finish".
5. Right click on the created project and choose "Export...".
6. In the export wizard, select Plug-in Development > Eclipse product. > Next
7. Choose some arbitrary Directory for export and click on "Finish".
8. Eclipse tries to export the product but fails with the message above.


Solution:
I have found out that the stripped shared library

/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740/eclipse_1618.so

seems to be the problem. In the original distribution of the package (http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/neon2), the shared object is not stripped. Replacing the stripped version with the non-stripped version (see attachment) fixes the issue. Thus, I think the build script has to be adapted such that the shared object is not stripped.
This task depends upon

Closed by  morganamilo (morganamilo)
Monday, 18 November 2019, 21:45 GMT
Reason for closing:  Deferred
Additional comments about closing:  This bug is over 2 years old now. And it looks like it never got assigned.

I'm going to assume it's fixed. If it's not, request it be re opened and I'll assign it.

Loading...