Bug 533935 - Unable to build eclipse plugins on F13
Unable to build eclipse plugins on F13
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: eclipse (Show other bugs)
rawhide
All Linux
medium Severity high
: ---
: ---
Assigned To: Andrew Overholt
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-09 15:48 EST by Mat Booth
Modified: 2009-11-10 13:48 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-11-10 13:48:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Mat Booth 2009-11-09 15:48:58 EST
Description of problem:

For some reason in F13+ only, we've lost the ability to build eclipse-gef (and possibly other plugins) in koji.

The identical spec-file builds fine in koji for F12.

See this build failure in koji for details:
http://koji.fedoraproject.org/koji/buildinfo?buildID=140311

I'll spoil it for you, this is how it ends:

BUILD FAILED
/usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.5.1.R35x_20090820/scripts/build.xml:35: The following error occurred while executing this line:
/usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.5.1.R35x_20090820/scripts/build.xml:91: The following error occurred while executing this line:
/usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.5.1.R35x_20090820/templates/package-build/customTargets.xml:19: The following error occurred while executing this line:
java.io.FileNotFoundException: /usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.5.1.R35x_20090820/scripts/${eclipse.pdebuild.scripts}/genericTargets.xml (No such file or directory)

The interesting part is why ${eclipse.pdebuild.scripts} is not defined. As I say, this spec-file built perfectly in koji for F12 so it seems like a regression.

BUT... I tried a local build in a F12 VM with the F13 eclipse from koji and that all worked perfectly. So then I removed all my JDKs and thus all *java* packages on the system, installed the F13 eclipse from koji so I only got the build dependencies for eclipse-gef installed (in case it was a missing dependency) and that still worked.

I don't know what to try next. I will have a better time reproducing the koji buildroot when the switch is flipped to turn Rawhide into F13... Any suggestions are welcome.
Comment 1 Alexander Kurtakov 2009-11-09 16:00:53 EST
I have tracked the problem to commons-codec. It has newer Bundle-Version than supported by eclipse. I'm working on fixing it build/work with commons-codec 1.4. 
To reproduce the problem locally just update commons-codec from F-13. 
Mat, who do you propose to blame ;)
Comment 2 Mat Booth 2009-11-09 16:10:17 EST
Dammit!

You know, I did think about updating to the new F13 commons-codec but I thought, "nah, there's no way that will make any difference..."

Sorry, everybody. :-)

FYI, the release notes for commons-codec 1.4 claims it be binary compatible with 1.3, so it should be a matter of altering the dependency version in eclipse, right?
Comment 3 Mat Booth 2009-11-10 13:48:04 EST
Thanks for sweeping up after me, Alex.

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