[Bug 1455275] [NEW] Incorrect SymLink causes build failures in other packages

Launchpad Bug Tracker 1455275 at bugs.launchpad.net
Fri May 22 02:12:00 UTC 2015


You have been subscribed to a public bug by Saikrishna Arcot (saiarcot895):

[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

** Affects: werken.xpath (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: werken.xpath (Ubuntu Precise)
     Importance: Undecided
         Status: New

** Affects: werken.xpath (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: werken.xpath (Debian)
     Importance: Unknown
         Status: Unknown

-- 
Incorrect SymLink causes build failures in other packages
https://bugs.launchpad.net/bugs/1455275
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list