Summary: | gnutls-1.4.4-r1.ebuild missing a built time dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John R. Graham <john_r_graham> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
John R. Graham
2007-06-14 21:30:28 UTC
<snip>
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="1.9"
inherit eutils autotools
</snip>
>=sys-devel/automake-1.9.6 is wrong; it fails w/ automake 1.10. Upgrade your system properly using --deep, that's about it.
Jacub, The autotools eclass takes WANT_AUTOMAKE value and creates the following dependency atom: =sys-devel/automake-${WANT_AUTOMAKE}* In the case of WANT_AUTOMAKE="1.9", that constructs a dependency atom that says gnutls will build with any old version in the 1.9 slot, which is clearly not the case. Regarding my recommended dependency atom, well, rats, you're right. The correct dependency atom right now is =sys-devel/automake-1.9.6* but in the future could potentially be ( || =sys-devel/automake-1.9.6* =sys-devel/automake-1.9.7* ) This actually illustrates one of my most ardent desires for a future EAPI: AND dependencies. I'd *really* like to be able to say something like ( && >=sys-devel/automake-1.9.6 <sys-devel/automake-1.10 ) but I know that it's not supported today. Although I know that --deep would have pulled in the latest ebuild for the 1.9 slot, why is it not right to codify the real dependencies of the package in the ebuild? In other words, isn't --deep just masking an (admittedly minor) dependency issue with this ebuild? I'm reopening the bug (just this once), but I'll accept your judgment. - John No, we don't have ranged dependencies (see bug 4315), and >=sys-devel/automake-1.9.6 <sys-devel/automake-1.10 won't work w/ slotted package. Considering that automake-1.9.4 doesn't exist in the tree, it's not a huge issue here because everyone will get 1.9.6-r2 when emerging this. |