Re: Eclipse build nightmares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/11/2013 10:26 AM, Orion Poplawski wrote:
On 04/11/2013 12:12 AM, Aleksandar Kurtakov wrote:
----- Original Message -----
From: "Orion Poplawski" <orion@xxxxxxxxxxxxx>

Seems like javax.annotation is in
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/rt.jar, so what's up?

Hi Orion,
javax.annotation has been part of any standard complaint JVM since 1.6. As
even 1.6 is EOLed  in Fedora javax.activation has been dropped and packages
should start using the in-jvm packages. Simply removing the
require-bundle/import-package javax.activation from manifests should fix the
problem. If upstream already moved to 1.6 it's worth reporting to them so
they drop it too.

Aleksandar -

   Thanks a lot for that tip.  Removing the dep seems to have fixed it.  Now
I'm on to the next one:

[ERROR]   Missing requirement: org.eclipse.ptp.rcp.sysmon.product
1.0.0.qualifier requires 'org.eclipse.equinox.executable.feature.group 0.0.0'
but it could not be found

Is this just missing from Fedora?

After IRC discussion, I ended up doing:

# We don't want to build a full product
%pom_disable_module releng/org.eclipse.ptp.rcp.sysmon.product

Since the product build seems to bring in equinox.executable.

I next got stuck on one of the features trying to bring in a macosx specific bundle:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.17.0:package-feature (default-package-feature) on project org.eclipse.ptp.debug.sdm: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.17.0:package-feature failed: Could not resolve plugin org.eclipse.ptp.macosx_0.0.0; Path to dependency: -> [Help 1]

The only way I was able to fix it was to remove that plugin from the feature.xml file.


Now on koji (http://koji.fedoraproject.org/koji/taskinfo?taskID=5243517) I get:

[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86_64, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.ptp.debug.sdm.feature.group 7.0.0.qualifier [ERROR] Missing requirement for filter properties ~= $0: org.eclipse.ptp.debug.sdm.feature.group 7.0.0.qualifier requires 'org.eclipse.ptp.linux.x86_64 0.0.0' but it could not be found

I'm starting to wonder if I can build PTP as noarch anymore.

On my x86_64 rawhide VM I get a little further and then get:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.17.0:package-feature (default-package-feature) on project org.eclipse.ptp.rcp.sysmon: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.17.0:package-feature failed: Could not resolve plugin org.eclipse.ptp.rcp.sysmon_0.0.0; Path to dependency: -> [Help 1]

Which suggests to me that perhaps disabling the sysmon.product module was too much. Don't understand it though as it should be building both a sysmon plugin and a feature. I also tried re-enabling the product build and removing installLaunchers=true from org.eclipse.ptp.rcp.sysmon.product but that got me back to the equinox.executable error.

I'm at a total loss here.  Any help would be greatly appreciated.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux