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

Bug 375793

Summary: media-libs/mesa-7.11_rc2 needs to DEPEND on flex, bison
Product: Gentoo Linux Reporter: Albert W. Hopkins <marduk>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Albert W. Hopkins 2011-07-20 19:26:08 UTC
sys-devel/flex was recently removed from the system set.  As a result, if flex is not already installed, mesa dies in src_configure:

[...]

checking for python2... python2
checking for makedepend... /usr/bin/makedepend
checking for sed... /bin/sed
checking for flex... no
configure: error: flex is needed to build Mesa

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/mesa-7.11_rc2/work/Mesa-7.11-rc2/config.log
 * ERROR: media-libs/mesa-7.11_rc2 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 5882:  Called econf '--disable-option-checking' '--with-driver=dri' '--disable-glut' '--without-demos' '--enable-xcb' '--disable-debug' '--disab$
 *     ebuild.sh, line  559:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of 'emerge --info =media-libs/mesa-7.11_rc2',
 * the complete build log and the output of 'emerge -pqv =media-libs/mesa-7.11_rc2'.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-7.11_rc2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-7.11_rc2/temp/environment'.
 * S: '/var/tmp/portage/media-libs/mesa-7.11_rc2/work/Mesa-7.11-rc2'
Comment 1 Albert W. Hopkins 2011-07-20 19:26:33 UTC
Created attachment 280487 [details]
emerge --info
Comment 2 Albert W. Hopkins 2011-07-20 19:31:03 UTC
Ditto for sys-devel/bison
Comment 3 Matt Turner gentoo-dev 2011-07-21 16:29:40 UTC
Thanks. flex and bison were recently removed from the @system set, so that's probably why we didn't notice before.

Fixed, Thanks!