Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434920 - x11-drivers/xf86-video-intel-2.20.7 - configure: checking which acceleration method to use by default... configure: error: No default acceleration option
Summary: x11-drivers/xf86-video-intel-2.20.7 - configure: checking which acceleration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 16:33 UTC by erdbeer
Modified: 2012-09-14 00:31 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 erdbeer 2012-09-13 16:33:26 UTC
When I tried to build x11-drivers/xf86-video-intel-2.20.7 with -sna, configure said "No default acceleration option". I think the ebuild should require at least one of the acceleration methods to be selected with USE flags.

Reproducible: Always

Steps to Reproduce:
1. set the USE flag -sna
2. emerge xf86-video-intel
Actual Results:  
xf86-video-intel was not built

Expected Results:  
portage should have complained about missing use flags

checking which acceleration method to use by default... configure: error: No default acceleration option

!!! Please attach the following file when seeking support:
!!! /tmp/portage/x11-drivers/xf86-video-intel-2.20.7/work/xf86-video-intel-2.20.7_build/config.log
 * ERROR: x11-drivers/xf86-video-intel-2.20.7 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_configure
 *        environment, line 4107:  Called xorg-2_src_configure
 *        environment, line 4968:  Called autotools-utils_src_configure
 *        environment, line  766:  Called econf '--docdir=/usr/share/doc/xf86-video-intel-2.20.7' '--enable-dri' '--disable-glamor' '--disable-sna' '--disable-uxa' '--disable-xvmc'
 *   phase-helpers.sh, line  503:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-intel-2.20.7'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-intel-2.20.7'`.
 * The complete build log is located at '/tmp/x11-drivers:xf86-video-intel-2.20.7:20120913-162405.log'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/x11-drivers/xf86-video-intel-2.20.7/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/x11-drivers/xf86-video-intel-2.20.7/temp/environment'.
 * Working directory: '/tmp/portage/x11-drivers/xf86-video-intel-2.20.7/work/xf86-video-intel-2.20.7_build'
 * S: '/tmp/portage/x11-drivers/xf86-video-intel-2.20.7/work/xf86-video-intel-2.20.7'
Comment 1 Rafał Mużyło 2012-09-13 19:46:04 UTC
Well, the useflag was "+sna" for a reason, on the other hand REQUIRED_USE would be a more natural solution.


Though, a minor request - unless there's a technical reason to do otherwise, could pixman dep of the 2.20 driver lowered to non-development version ? It seems to build and work with it.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-13 19:56:31 UTC
The report is valid. The package will fail to build with all acceleration methods disabled, and REQUIRED_USE can make sure that at least one is enabled.

> could pixman dep of the 2.20 driver lowered to non-development version ? It
> seems to build and work with it.

It will work, but you will get a different result (see line 121 of configure.ac).
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-13 21:17:11 UTC
Fixed in CVS.
Comment 4 Rafał Mużyło 2012-09-14 00:31:20 UTC
@comment 2: not that I'm sure about it, but didn't glyph cache get postponed to xorg-server 1.14 (due to no 0.28 of pixman yet) ?