Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 466486

Summary: www-apps/guacamole-{0.6.2,0.7.0} should depend on dev-java/maven-bin:2.2
Product: Gentoo Linux Reporter: jeremiah <jamiahx>
Component: Current packagesAssignee: Andreas Schürch <nativemad>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jeremiah 2013-04-19 17:28:16 UTC
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-apps/guacamole/guacamole-0.7.0.ebuild?view=markup
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-apps/guacamole/guacamole-0.6.2.ebuild?view=markup

src_compile() contains references to /usr/share/maven-bin-2.2 in both versions and contains mvn-2.2 in 0.6.2, yet the dependencies are satisfied with any version of maven-bin. This causes src_compile to normally fail if maven-bin:2.2 is not installed.
Guacamole's upstream does not require this specific version of maven-bin, and Gentoo probably doesn't need it either since the temporary fix works.

Recommended temporary fix (as root):
# ln -s /usr/share/maven-bin-<whateverversionyouhave> /usr/share/maven-bin-2.2 &&
# emerge guacamole &&
# rm /usr/share/maven-bin-2.2
(tested with maven-bin-3.0.4-r1)

Recommended permanent fix:
Modify src_compile() to be version neutral
Comment 1 Andreas Schürch gentoo-dev 2013-04-27 18:53:34 UTC
Thanks for reporting Jeremiah!
I've added a readlink command to get the active maven version now.
Have fun! :-)