FS#60043 - [ivy] uses old Apache Ant lib path
Attached to Project:
Community Packages
Opened by Zach Callear (Magotchi) - Thursday, 13 September 2018, 14:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 25 September 2018, 18:31 GMT
Opened by Zach Callear (Magotchi) - Thursday, 13 September 2018, 14:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 25 September 2018, 18:31 GMT
|
Details
Description:
The current PKGBUILD for apache-ivy symlinks ivy.jar to /usr/share/java/apache-ant/ivy.jar , but the current package for Apache Ant ("ant", which replaced "apache-ant") expects Ivy to be in /usr/share/java/ant/ ("apache-ant" shortened to "ant", as in the new package name). Additional info: * apache-ivy 2.4.0-2 * ant 1.10.5-1 Steps to reproduce: Attempt to build something with an Apache Ant build file which references an Ivy action, and you'll get an error. I first noticed it while building filebot (AUR). |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Tuesday, 25 September 2018, 18:31 GMT
Reason for closing: Fixed
Tuesday, 25 September 2018, 18:31 GMT
Reason for closing: Fixed
With a full system update, including "ant" and "ivy", without symlinking /usr/share/java/ant/ivy.jar to target /usr/share/java/ivy/ivy.jar , builds requiring Ant and Ivy fail, such as a build of the "filebot" AUR package.
Do you believe that the ivy package should create the /usr/share/java/ant directory and then create a symlink to ivy.jar in there? Should not the ant package be responsible for creating the /usr/share/java/ant directory? ant is only a make dependency for ivy, not a regular dependency.
Its a bit like zsh completions, any package providing them can put files into zsh completion directory even when zsh is not installed, however when it is being installed those files serve as addition to the regular zsh files.
PS: i think you want to depend on java thingie >= 8 instead of >= 1.8 :D