Incorrect SymLink causes build failures in other packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
werken.xpath (Debian) |
Fix Released
|
Unknown
|
|||
werken.xpath (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
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.
[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:
> Could not list contents of '/usr/share/
The package installs an incorrect symbolic link when trying to alias the alternative hyphen and dot-separated names, causing packages looking for "/usr/share/
$ ls -l /usr/share/
-rw-r--r-- 1 root root 76418 Jan 27 2012 /usr/share/
lrwxrwxrwx 1 root root 22 Jan 27 2012 /usr/share/
lrwxrwxrwx 1 root root 22 Jan 27 2012 /usr/share/
The manual work-around is to fix the link:
$ sudo ln -fs /usr/share/
$ ls -l /usr/share/
-rw-r--r-- 1 root root 76418 Jan 27 2012 /usr/share/
lrwxrwxrwx 1 root root 22 Jan 27 2012 /usr/share/
lrwxrwxrwx 1 root root 38 May 15 00:42 /usr/share/
Related branches
- Micah Gersten (community): Approve
-
Diff: 20 lines (+7/-1)2 files modifieddebian/changelog (+6/-0)
debian/libwerken.xpath-java.links (+1/-1)
- Ubuntu branches: Pending requested
-
Diff: 20 lines (+7/-1)2 files modifieddebian/changelog (+6/-0)
debian/libwerken.xpath-java.links (+1/-1)
description: | updated |
description: | updated |
Changed in werken.xpath (Ubuntu): | |
status: | New → Invalid |
Changed in werken.xpath (Debian): | |
status: | Unknown → Fix Released |
Changed in werken.xpath (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Micah Gersten (micahg) |
importance: | Undecided → High |
Changed in werken.xpath (Ubuntu Trusty): | |
importance: | Undecided → High |
assignee: | nobody → Micah Gersten (micahg) |
status: | New → In Progress |
Changed in werken.xpath (Ubuntu): | |
importance: | Undecided → High |
Uploaded to precise and trusty based on the merge requests