Bug 675949
Summary: | ant can't find antRun | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | fropeter | ||||
Component: | ant | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | akurtako, dkholia, java-sig-commits, mmatejov, pcheung, pmilliken | ||||
Target Milestone: | --- | Keywords: | Patch, Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.9.2-6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1003072 (view as bug list) | Environment: | |||||
Last Closed: | 2013-09-03 17:46:31 UTC | Type: | --- | ||||
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: | |||||||
Bug Blocks: | 1003072 | ||||||
Attachments: |
|
Description
fropeter
2011-02-08 12:08:24 UTC
Do you have ant-scripts installed? This is where antRun is shipped. It is in /usr/bin. Let us know if installing ant-scripts helps. Not the original poster. I'm on Fedora 15 and experiencing the same problem, hopefully the information I can give will be of use. My build bombs out with: Execute failed: java.io.IOException: Cannot run program "/usr/share/ant/bin/antRun": java.io.IOException: error=2, No such file or directory I don't have the ant-scripts package installed, however: [paul.milliken@besaid pide]$ which antRun /usr/bin/antRun [paul.milliken@besaid pide]$ rpm -qf `which antRun` ant-1.8.2-3.fc15.noarch it seems that antRun comes with the main ant package. However, I install ant-scripts using yum, then checked it: [paul.milliken@besaid pide]$ rpm -ql ant-scripts /usr/bin/antRun.pl /usr/bin/complete-ant-cmd.pl /usr/bin/runant.pl /usr/bin/runant.py and tried my build again. Which failed in the same manner. It looks (to me) like antRun is installed, but isn't where the rest of ant expects it to be. Apologies for the delayed response. I'm on Fedora 15 now, ant-scripts is installed and the problem still exists. Ant does not find the installed antRun in /usr/bin, but reports it missing from /usr/share/ant/bin. $ locate antRun reports /usr/bin/antRun (and some other entries too, but it exists where it should be.) In /usr/share/ant/ there is no bin/ directory, but creating it and symlinking /usr/bin/antRun into it is a workaround to the problem. I can probably confirm this on F14 as well later, but since it's not solved on F15 it is probably the same as before. Should this bug report be changed to applying to F15? I'm on Fedora 14 now and the problem still exists. ant-scripts is installed and antRun is in /usr/bin. Workaround still works. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Problem still exists under Fedora 19. How hard is it to fix this seemingly trivial bug? (In reply to Dhiru Kholia from comment #6) > Problem still exists under Fedora 19. How hard is it to fix this seemingly > trivial bug? We are always happy to apply patches for the trivial bugs. It's the perfect way to get engaged with the community. git formatted patch is preferred. Created attachment 792257 [details]
Proposed patch
Fixed in ant-1.9.2-6 I believe that this bug is fixed in ant-1.9.2-6, which is available in Fedora 20, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=461275 This bug was fixed in the next release of Fedora, and is not planned to be fixed in the release it was filed against. If you want this bug to be fixed in updates for Fedora 19, please say so in a comment. Otherwise you can update to the newer release of Fedora to get the fix. |