[Bug 1455275] Re: Incorrect SymLink causes build failures in other packages
Bug Watch Updater
1455275 at bugs.launchpad.net
Fri May 22 03:24:42 UTC 2015
** Changed in: werken.xpath (Debian)
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1455275
Title:
Incorrect SymLink causes build failures in other packages
Status in werken.xpath package in Ubuntu:
Invalid
Status in werken.xpath source package in Precise:
New
Status in werken.xpath source package in Trusty:
New
Status in werken.xpath package in Debian:
Fix Released
Bug description:
[Impact]
Due to an incorrect symlink created in the package, using this Java
library with another Java application (or, in this case, building
Gradle) will fail.
[Test Case]
The simplest would be to use this library in some way. The only
application that I personally know of that uses this library is
Gradle. ("apt-cache rdepends libwerken.xpath-java" says that this
library is also used in velocity.)
[Regression Potential]
Minimal. This is fixing a symlink created by the package, and (at
least as of Vivid) this package is used in only one other package.
[Original Description]
This affects Trusty and possibly others. I hit it whilst backporting
JavaFX (openjfx):
Execution failed for task ':graphics:classes'.
> Could not list contents of '/usr/share/java/werken.xpath.jar'.
The package installs an incorrect symbolic link when trying to alias
the alternative hyphen and dot-separated names, causing packages
looking for "/usr/share/java/werken.xpath.jar" to fail to build.
$ ls -l /usr/share/java/werken*
-rw-r--r-- 1 root root 76418 Jan 27 2012 /usr/share/java/werken-xpath-0.9.4.jar
lrwxrwxrwx 1 root root 22 Jan 27 2012 /usr/share/java/werken-xpath.jar -> werken-xpath-0.9.4.jar
lrwxrwxrwx 1 root root 22 Jan 27 2012 /usr/share/java/werken.xpath.jar -> werken.xpath-0.9.4.jar
The manual work-around is to fix the link:
$ sudo ln -fs /usr/share/java/werken-xpath-0.9.4.jar
/usr/share/java/werken.xpath.jar
$ ls -l /usr/share/java/werken*
-rw-r--r-- 1 root root 76418 Jan 27 2012 /usr/share/java/werken-xpath-0.9.4.jar
lrwxrwxrwx 1 root root 22 Jan 27 2012 /usr/share/java/werken-xpath.jar -> werken-xpath-0.9.4.jar
lrwxrwxrwx 1 root root 38 May 15 00:42 /usr/share/java/werken.xpath.jar -> /usr/share/java/werken-xpath-0.9.4.jar
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/werken.xpath/+bug/1455275/+subscriptions
More information about the Ubuntu-sponsors
mailing list