Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408981 - x11-drivers/xf86-video-nouveau-0.0.16_pre20120305 fails to build, needs automake-1.11.1
Summary: x11-drivers/xf86-video-nouveau-0.0.16_pre20120305 fails to build, needs autom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 09:56 UTC by Nikoli
Modified: 2012-03-23 04:52 UTC (History)
2 users (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 Nikoli 2012-03-20 09:56:56 UTC
>>> Preparing source in /var/tmp/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120305/work/xf86-video-nouveau-0.0.16_pre20120305 ...
 * Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120305/work/xf86-video-nouveau-0.0.16_pre20120305' ...
 * ERROR: x11-drivers/xf86-video-nouveau-0.0.16_pre20120305 failed (prepare phase):
 *   Cannot find the latest automake! Tried 1.11

After installing sys-devel/automake-1.11.1 it builds fine.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-20 12:20:49 UTC
CC:ing autotools.eclass maintainers.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-03-20 15:29:52 UTC
+  20 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> autotools.eclass:
+  Raise _AUTOMAKE_LATEST from 1.11 to 1.11.1 wrt #408981
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-03-20 16:57:37 UTC
reopen for now
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-03-21 05:01:00 UTC
(In reply to comment #4)
> http://sources.gentoo.org/eclass/autotools.eclass?r1=1.124&r2=1.125

heh much better. thanks ;)
Comment 6 Nikoli 2012-03-21 06:57:03 UTC
Same error with autotools.eclass,v 1.125. Please test with 'emerge --depclean --with-bdeps=n' before marking this bug as fixed.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-03-21 07:01:05 UTC
indeed, no automake is getting pulled in at all

null tremor # qlist -CIv automake
sys-devel/automake-wrapper-6
null tremor # VIDEO_CARDS="nouveau" emerge -pv xf86-video-nouveau

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libdrm-2.4.32  USE="-libkms -static-libs" VIDEO_CARDS="nouveau* -intel -radeon -vmware" 0 kB
[ebuild  N     ] x11-drivers/xf86-video-nouveau-0.0.16_pre20120305  0 kB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-03-21 07:01:56 UTC
(and on semi-unrelated note, the autotools.eclass change caused bug 409083)
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2012-03-21 21:56:19 UTC
(In reply to comment #9)
> http://sources.gentoo.org/eclass/autotools.eclass?r1=1.125&r2=1.129

This bug is propably unrelated to autotools.eclass but is something with autotools-utils.eclass. 
The same still happens as with Comment #7, that's why I added mgorny/reavertm to the CC list as autotools-utils.eclass maintainers.

# emerge -C automake
# VIDEO_CARDS="nouveau" emerge -pv xf86-video-nouveau

No automake gets pulled in.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-03-22 06:48:25 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > http://sources.gentoo.org/eclass/autotools.eclass?r1=1.125&r2=1.129
> 
> This bug is propably unrelated to autotools.eclass but is something with
> autotools-utils.eclass. 

Nothing signals the eclass to add the dep, so no dep is added. That would a problem with xorg-2.eclass...
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-03-22 06:52:50 UTC
Oh, sorry, that's just vapier's dumb redundancy checker. We first source eclass without dep request, then with one.

But I'll instead apply the patch I posted on the list two months ago.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2012-03-22 07:07:47 UTC
Fixed by mgorny:

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?r1=1.51&r2=1.52

As shown:

# VIDEO_CARDS=nouveau emerge -pv xf86-video-nouveau

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-devel/automake-1.11.3  0 kB
[ebuild   R    ] x11-libs/libdrm-2.4.32  USE="-libkms -static-libs" VIDEO_CARDS="nouveau* -intel -radeon -vmware" 0 kB
[ebuild  N     ] x11-drivers/xf86-video-nouveau-0.0.16_pre20120305  0 kB
Comment 14 SpanKY gentoo-dev 2012-03-23 02:47:34 UTC
(In reply to comment #12)

yes, because sourcing the same file many times over is such a better idea
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-03-23 04:52:14 UTC
(In reply to comment #14)
> (In reply to comment #12)
> 
> yes, because sourcing the same file many times over is such a better idea

Better or worse, it can happen because of sourcing in sourced eclasses. If you can't handle that correctly, your check is just dumb.