| Summary: | java-gnome-2.6.0.1 creates two wrong symlinks | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew Cowie <andrew> |
| Component: | New packages | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
thanks, fixed |
The java-gnome-2.6.0.1 ebuild has a small glitch: there are two dosym commands at the end of src_install() which use ${PV}. That would be fine, except that the upstream java-gnome-2.6.0.1 doesn't internally call itself that, instead, it just calls itself 2.6.0 So all the libraries and symlinks that its `make install` create are of the form gtkhtml2.6.jar -> gtkhtml2.6-2.6.0.jar which is fine. The two symlinks that the ebuild tries to make, for example in /usr/lib, libgnomejava${SLOT}.so -> libgnomejava${SLOT}.so.${PV} resolves to libgnomejava2.6.so -> libgnomejava2.6.so.2.6.0.1 which doesn't exist. The obvious fix (manually creating the right symlink) works and now java-gnome run. So, I suggest this minor change to this ebuild only: 72c72 < dosym /usr/share/java-gnome/lib/gnome${SLOT}-${PV}.jar /usr/share/java-gnome/lib/gnome${SLOT}.jar --- > dosym /usr/share/java-gnome/lib/gnome${SLOT}-2.6.0.jar /usr/share/java-gnome/lib/gnome${SLOT}.jar 74c74 < dosym /usr/lib/libgnomejava${SLOT}.so.${PV} /usr/lib/libgnomejava${SLOT}.so --- > dosym /usr/lib/libgnomejava${SLOT}.so.2.6.0 /usr/lib/libgnomejava${SLOT}.so AfC Kristiansand