Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658892 - media-libs/mesa-9999: Build fails with xa and radeonsi as only gallium driver
Summary: media-libs/mesa-9999: Build fails with xa and radeonsi as only gallium driver
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: 2018-06-23 20:33 UTC by Christian Widmer
Modified: 2018-08-18 04:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
meson log (meson-log.txt,4.51 KB, text/plain)
2018-06-23 20:33 UTC, Christian Widmer
Details
emerge --info (emerge-info.log,7.09 KB, text/plain)
2018-06-23 20:34 UTC, Christian Widmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Widmer 2018-06-23 20:33:36 UTC
Created attachment 536984 [details]
meson log

When compiling mesa-9999 with video_cards_radeonsi only and xa, meson complains about missing drivers. I think the xa use flag should depend on compatible drivers to not even allow emerging the package with incompatible combinations.
Comment 1 Christian Widmer 2018-06-23 20:34:06 UTC
Created attachment 536986 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-08-18 04:53:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ece8925e0d757751a9b9d26eeae2796f5aa4b8

commit a0ece8925e0d757751a9b9d26eeae2796f5aa4b8
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-08-18 04:36:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-08-18 04:53:17 +0000

    media-libs/mesa: Replace REQUIRED_USE with ewarns
    
    Mesa has a lot of configuration options and many of them are only
    meaningful when specific Gallium drivers are enabled. Previously we
    attempted to specify all of those dependencies with REQUIRED_USE logic
    which was tedious for users to configure but ensured they knew what they
    were getting.
    
    With the transition to Meson, some configuration combinations that had
    not been specified in REQUIRED_USE (and with autotools were silently
    ignored) began producing configuration errors. Rather than extend
    REQUIRED_USE instead provide a warning in pkg_prepare().
    
    Closes: https://bugs.gentoo.org/658892
    Closes: https://bugs.gentoo.org/658938
    Closes: https://bugs.gentoo.org/663418
    Closes: https://bugs.gentoo.org/663470
    Closes: https://bugs.gentoo.org/663660

 media-libs/mesa/mesa-9999.ebuild | 126 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 111 insertions(+), 15 deletions(-)