Bug 533935 - Unable to build eclipse plugins on F13
Summary: Unable to build eclipse plugins on F13
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Andrew Overholt
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-11-09 20:48 UTC by Mat Booth
Modified: 2009-11-10 18:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-11-10 18:48:04 UTC
Type: ---

Attachments (Terms of Use)

Description Mat Booth 2009-11-09 20:48:58 UTC
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:

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

/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 21:00:53 UTC
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 21:10:17 UTC

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 18:48:04 UTC
Thanks for sweeping up after me, Alex.

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