** Description changed:

+ [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.
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1455275

Title:
  Incorrect SymLink causes build failures in other packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/werken.xpath/+bug/1455275/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to