Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466486 - www-apps/guacamole-{0.6.2,0.7.0} should depend on dev-java/maven-bin:2.2
Summary: www-apps/guacamole-{0.6.2,0.7.0} should depend on dev-java/maven-bin:2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Andreas Schürch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 17:28 UTC by jeremiah
Modified: 2013-04-27 18:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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! :-)