Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312555 - autotools.eclass v 1.95 2010/03/31 generates wrong dependency
Summary: autotools.eclass v 1.95 2010/03/31 generates wrong dependency
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Robin Johnson
URL: http://sources.gentoo.org/viewcvs.py/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 07:41 UTC by Martin Väth
Modified: 2010-04-01 16:37 UTC (History)
1 user (show)

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 Martin Väth 2010-04-01 07:41:21 UTC
The default WANT_AUTOMAKE ("latest") generates the dependeny
  || ( sys-devel/automake )
without a version number. This is probably not the aim of the code:
The corresponding code generates a different dependency in a variable t
which is forgotten:

t="" ; for v in ${_LATEST_AUTOMAKE} ; do
	t="${t} =sys-devel/automake-${v}*"
done
unset t v
_automake_atom="|| ( ${_automake_atom} )" 

I suppose that the last two lines should be instead:

_automake_atom="|| ( ${t} )"
unset t v
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-01 10:13:42 UTC
Robin, while I can understand the urgency of unbreaking autobuild, but next time could you _please_ wait before committing something to autotools.eclass that changes the whole dependency handling?

I _think_ I fixed it properly with 1.96 but I'd rather for someone else to test this before marking the bug as FIXED.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-04-01 16:37:28 UTC
bah, I missed committed the wrong version back.

RESO TEST-REQUEST is intended exactly for this case.