Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: ant can't find antRun
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Summary: ant can't find antRun Product: Fedora Version: 14 Platform: x86_64 OS/Version: Linux Status: NEW Severity: unspecified Priority: unspecified Component: ant AssignedTo: pcheung@redhat.com ReportedBy: fropeter@online.no QAContact: extras-qa@fedoraproject.org CC: pcheung@redhat.com, akurtako@redhat.com, mmatejov@redhat.com, java-sig-commits@lists.fedoraproject.org Classification: Fedora
Description of problem:
The bug https://bugzilla.redhat.com/show_bug.cgi?id=428502 is reproducible in fedora 14
Version-Release number of selected component (if applicable):
Apache Ant version 1.7.1 compiled on April 16 2010
How reproducible: See original bug report
Steps to Reproduce: 1. 2. 3.
Actual results: Ant fails to build, complaining about missing /usr/share/ant/bin/antRun
Expected results: Ant finds the file and completes the build successfully
Additional info:
Fix: # create the directory /usr/share/ant/bin # symlink the file /usr/bin/antRun to /usr/share/ant/bin/antRun
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(fropeter@online.n | |o)
--- Comment #1 from Alexander Kurtakov akurtako@redhat.com 2011-07-06 06:58:51 EDT --- 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.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Paul Milliken pmilliken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pmilliken@gmail.com Flag|needinfo?(fropeter@online.n | |o) |
--- Comment #2 from Paul Milliken pmilliken@gmail.com 2011-07-12 04:58:53 EDT --- 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.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=675949
--- Comment #3 from fropeter@online.no 2011-08-20 11:04:00 EDT --- 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?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=675949
--- Comment #4 from fropeter@online.no 2011-08-20 11:39:23 EDT --- I'm on Fedora 14 now and the problem still exists. ant-scripts is installed and antRun is in /usr/bin. Workaround still works.
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Fedora End Of Life endoflife@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WONTFIX Last Closed| |2012-08-16 11:04:36
https://bugzilla.redhat.com/show_bug.cgi?id=675949
--- Comment #5 from Fedora End Of Life endoflife@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Dhiru Kholia dkholia@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED CC| |dkholia@redhat.com Version|14 |19 Resolution|WONTFIX |--- Keywords| |Reopened
--- Comment #6 from Dhiru Kholia dkholia@redhat.com --- Problem still exists under Fedora 19. How hard is it to fix this seemingly trivial bug?
https://bugzilla.redhat.com/show_bug.cgi?id=675949
--- Comment #7 from Alexander Kurtakov akurtako@redhat.com --- (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.
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|pcheung@redhat.com |mizdebsk@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=675949
--- Comment #8 from Mikolaj Izdebski mizdebsk@redhat.com --- Created attachment 792257 --> https://bugzilla.redhat.com/attachment.cgi?id=792257&action=edit Proposed patch
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Patch
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1003072
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |1.9.2-6
--- Comment #9 from Mikolaj Izdebski mizdebsk@redhat.com --- Fixed in ant-1.9.2-6
https://bugzilla.redhat.com/show_bug.cgi?id=675949
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |NEXTRELEASE Last Closed|2012-08-16 11:04:36 |2013-09-03 13:46:31
--- Comment #10 from Mikolaj Izdebski mizdebsk@redhat.com --- 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.
java-sig-commits@lists.stg.fedoraproject.org