Bug 879999

Summary: eclipse-pdebuild fails with FileNotFoundException for genericTargets.xml
Product: [Fedora] Fedora Reporter: Gerard Ryan <fedora>
Component: eclipseAssignee: Krzysztof Daniel <kdaniel>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akurtako, andjrobins, jerboaa, kdaniel, mbenitez, msrb, overholt, rgrunber, swagiaal
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: icu4j-50.1.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 23:58:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 974108, 974112, 1000740    
Bug Blocks:    

Description Gerard Ryan 2012-11-25 23:20:07 UTC
Description of problem:
When building plugins with the eclipse-pdebuild script in rawhide, a FileNotFoundException is thrown.
See http://kojipkgs.fedoraproject.org//work/tasks/6101/4726101/build.log for a more up-to-date output. From what I can see, it seems to be that the genericTargets.xml file is being looked for in a subdirectory of /usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.8.1.v20121113-1808/scripts/ when in fact it's in that folder itself, not in whatever directory is being named as ${eclipse.pdebuild.scripts}

Version-Release number of selected component (if applicable):
eclipse-pde-4.2.1-19.fc19

Comment 1 Krzysztof Daniel 2012-11-26 11:09:18 UTC
I've restored javax.xml. This change cannot be done now - too many places to check. The build should work now.

Comment 2 Gerard Ryan 2012-11-26 17:13:30 UTC
(In reply to comment #1)
> I've restored javax.xml. This change cannot be done now - too many places to
> check. The build should work now.

Thanks a lot, it builds fine now:
https://koji.fedoraproject.org/koji/buildinfo?buildID=367581

Comment 3 Gerard Ryan 2013-05-11 16:10:29 UTC
I'm seeing this again in Rawhide/f19, with eclipse >= 1:4.3.0-0.41

It's preventing me from using pdebuild to build packages.

See:
Rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=5366642
F19: http://koji.fedoraproject.org/koji/taskinfo?taskID=5366602

Comment 4 Krzysztof Daniel 2013-05-13 13:05:52 UTC
*** Bug 962239 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2013-05-13 13:33:55 UTC
sat4j-2.3.4-1.fc19,jsch-0.1.50-1.fc19,eclipse-4.3.0-0.45.git4bccf2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/sat4j-2.3.4-1.fc19,jsch-0.1.50-1.fc19,eclipse-4.3.0-0.45.git4bccf2.fc19

Comment 6 Fedora Update System 2013-05-14 03:46:22 UTC
Package sat4j-2.3.4-1.fc19, jsch-0.1.50-1.fc19, eclipse-4.3.0-0.45.git4bccf2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sat4j-2.3.4-1.fc19 jsch-0.1.50-1.fc19 eclipse-4.3.0-0.45.git4bccf2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8126/sat4j-2.3.4-1.fc19,jsch-0.1.50-1.fc19,eclipse-4.3.0-0.45.git4bccf2.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-05-14 17:47:50 UTC
Package icu4j-50.1.1-1.fc19, eclipse-4.3.0-0.46.git4bccf2.fc19, sat4j-2.3.4-1.fc19, jsch-0.1.50-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing icu4j-50.1.1-1.fc19 eclipse-4.3.0-0.46.git4bccf2.fc19 sat4j-2.3.4-1.fc19 jsch-0.1.50-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8126/icu4j-50.1.1-1.fc19,sat4j-2.3.4-1.fc19,jsch-0.1.50-1.fc19,eclipse-4.3.0-0.46.git4bccf2.fc19
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-05-24 20:22:35 UTC
icu4j-50.1.1-1.fc19, eclipse-4.3.0-0.46.git4bccf2.fc19, sat4j-2.3.4-1.fc19, jsch-0.1.50-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Gerard Ryan 2013-06-09 20:58:32 UTC
This is back again on rawhide. eclipse-4.3.0-0.61.git7bf397.fc20 at least, not sure about previous versions.

It seems to happen most often at weekends, when I have time to work on stuff, and when there's nobody around to fix it :P

Comment 10 Krzysztof Daniel 2013-06-13 13:10:21 UTC
Still broken?

Comment 11 Gerard Ryan 2013-06-15 19:39:42 UTC
(In reply to Krzysztof Daniel from comment #10)
> Still broken?

I just tried in mock with version 4.3.0-0.64.git84cba7, still appears broken (I guess you know that though, since you added other bugs since you asked the question. I look forward to this being fixed :)

Comment 12 Krzysztof Daniel 2013-06-17 11:29:53 UTC
I'm on it.

Comment 13 Krzysztof Daniel 2013-06-17 13:15:10 UTC
Important bits are:
!MESSAGE Unable to access file "plugins/org.glassfish.web.javax.servlet.jsp_2.2.6.jar!META-INF/MANIFEST.MF".
which in says that symlink is broken, which happened due to the glassfish-jsp.jar rename.

Comment 14 Krzysztof Daniel 2013-06-17 14:21:38 UTC
So, Gerard, this issue seems to be fixed now :-)

Wouldn't it be simpler to move to the tycho build?

Comment 15 Gerard Ryan 2013-08-17 17:33:49 UTC
(In reply to Krzysztof Daniel from comment #14)
> So, Gerard, this issue seems to be fixed now :-)
> 
> Wouldn't it be simpler to move to the tycho build?

It's happening again! :)
http://koji.fedoraproject.org/koji/taskinfo?taskID=5824649

I agree that tycho would be easier, but it seems that not all projects are using it yet :-/

Comment 16 Alexander Kurtakov 2013-08-20 07:15:15 UTC
Gerard,
Please try eclipse-4.3.0-11.fc20 , whenever a dependency changes we need to rebuild in order to get p2 metadata regenerated.

Comment 17 Gerard Ryan 2013-08-22 18:08:15 UTC
(In reply to Alexander Kurtakov from comment #16)
> Gerard,
> Please try eclipse-4.3.0-11.fc20 , whenever a dependency changes we need to
> rebuild in order to get p2 metadata regenerated.

That works great, thanks for the fix! :)

Since most of the time that I have to work on Fedora stuff is at the weekends, that's when I run into these problems, and both you and Krzysztof would be online less. Would it be okay in those situations for me to find a provenpackager to kick off a rebuild in rawhide, rather than having to wait until the following week when you guys are around?

Comment 18 Gerard Ryan 2013-08-22 19:12:05 UTC
(In reply to Gerard Ryan from comment #17)
> Since most of the time that I have to work on Fedora stuff is at the
> weekends, that's when I run into these problems, and both you and Krzysztof
> would be online less.

Or late in the evenings like right now, and it turns out that it needs to be rebuilt now, because of new jetty in rawhide today ;D

Comment 19 Roland Grunberg 2013-08-22 20:31:52 UTC
I've pushed a rebuild here for now : http://koji.fedoraproject.org/koji/taskinfo?taskID=5843348 .

Comment 20 Gerard Ryan 2013-08-24 11:49:16 UTC
Thanks Roland! I'll re-close this.

Comment 21 Gerard Ryan 2013-08-24 20:32:57 UTC
I was wrong, this is still a problem. The regeneration of p2 metadata from the rebuild has fixed building with tycho, but building with pdebuild is still an issue.

Comment #13 gave me an idea to check if any symlinks were broken and it turns out there are two. I've opened bug #1000740 for that.

Comment 22 Gerard Ryan 2013-08-29 23:58:12 UTC
Working again, thanks.