https://bugzilla.redhat.com/show_bug.cgi?id=850952
Bug ID: 850952 QA Contact: extras-qa@fedoraproject.org Severity: high Version: 18 Priority: unspecified CC: java-sig-commits@lists.fedoraproject.org, kdaniel@redhat.com, rgrunber@redhat.com Assignee: rgrunber@redhat.com Summary: tycho 0.16 not finding artifacts in a previous build Regression: --- Story Points: --- Classification: Fedora OS: Linux Reporter: orion@cora.nwra.com Type: Bug Documentation: --- Hardware: All Mount Type: --- Status: NEW Component: tycho Product: Fedora
Description of problem:
With tycho 0.16 in F18 or rawhide, my eclipse-ptp build fails with:
[ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.eclipse.ptp.rdt.sync.ui.fortran 1.0.0.qualifier [ERROR] Missing requirement: org.eclipse.ptp.rdt.sync.ui.fortran 1.0.0.qualifier requires 'bundle org.eclipse.photran.cdtinterface 7.0.0' but it could not be found [ERROR] [ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.ptp.rdt.sync.ui.fortran 1.0.0.qualifier to bundle org.eclipse.photran.cdtinterface 7.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
This should be found in the just completed build of org.eclipse.photran in a parallel directory. This seems to work fine with tycho-0.15.0-4.fc17.noarch.
Version-Release number of selected component (if applicable): 0.16.0-4.df2c35.fc18
https://bugzilla.redhat.com/show_bug.cgi?id=850952
--- Comment #1 from Orion Poplawski orion@cora.nwra.com --- Okay, I lied in saying that it worked in f17. That was only because I had installed the eclipse-photran packages locally. Can this be done with tycho?
https://bugzilla.redhat.com/show_bug.cgi?id=850952
--- Comment #2 from Roland Grunberg rgrunber@redhat.com --- I'll look into this. My first guess would be to look at the contents of the local system p2 repository (.m2/p2/repo/plugins relative to where you ran mvn-rpmbuild) after the build failure. The plugins you need from the local system should all be there (eg. org.eclipse.photran.cdtinterface). If not, then this would be an issue with how the p2 repository is created. If they're all inside that folder, then something else is happening.
I've done just a quick investigation now, and on my f18 vm, when I create the p2 repo (as Fedora Tycho would), org.eclipse.photran.cdtinterface is being added : "org.eclipse.photran.cdtinterface=8.0.0.201203151905" and "org.eclipse.photran.cdtinterface=8.0.0.201203201256".
I noticed that eclipse-photran installs 2 sets of jars in %{_javadir}/eclipse/dropins/org.eclipse.photran/plugins that seem to differ only in qualifier. I'm not sure if that's causing the issue but it seems a bit strange.
Can you post the spec/source/etc ? files needed to reproduce the build (I'm guessing it's no committed yet)
https://bugzilla.redhat.com/show_bug.cgi?id=850952
--- Comment #3 from Orion Poplawski orion@cora.nwra.com --- http://www.cora.nwra.com/~orion/fedora/eclipse-ptp-6.0.1-1.fc17.src.rpm
I'll try to take a look myself a little later. Thanks!
https://bugzilla.redhat.com/show_bug.cgi?id=850952
Orion Poplawski orion@cora.nwra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2012-08-22 18:25:59
--- Comment #4 from Orion Poplawski orion@cora.nwra.com --- Looks like I needed to do:
mvn-rpmbuild -Dmaven.repo.local=../.m2
since I'm building in parallel directories.
java-sig-commits@lists.fedoraproject.org