Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658938 - media-libs/mesa-18.1.2 forces to set opencl as a REQUIRED_USE flag with ATi video cards which is not being on my system..
Summary: media-libs/mesa-18.1.2 forces to set opencl as a REQUIRED_USE flag with ATi v...
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-24 10:36 UTC by Seong-ho Cho
Modified: 2018-08-18 04:53 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 Seong-ho Cho 2018-06-24 10:36:16 UTC
As I told in summary, I do not have amd ati video card,
but mesa internally set 'opencl' as a use flag, even though it doesn't set.
I'm seeing below blocking all packages for emerge, 
and I cannot proceed 'emerge -uDN world' anymore.

opencl should be 'optional' or bug #658796 should be resolved in first before addressing this bug.

----------------

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

Calculating dependencies /

!!! Problem resolving dependencies for media-libs/mesa from @selected
... done!

!!! The ebuild selected to satisfy "media-libs/mesa" has unmet requirements.
- media-libs/mesa-18.1.2::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl opencl openmax osmesa pic valgrind vdpau wayland -bindist -d3d9 -debug -gles1 -pax_kernel (-selinux) -unwind -vaapi -vulkan -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="intel (-freedreno) -i915 -i965 (-imx) -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware"

  The following REQUIRED_USE flag constraints are unsatisfied:
    opencl? ( any-of ( video_cards_r600 video_cards_radeonsi ) )

  The above constraints are a subset of the following complete expression:
    d3d9? ( dri3 gallium ) llvm? ( gallium ) opencl? ( gallium llvm any-of ( video_cards_r600 video_cards_radeonsi ) ) openmax? ( gallium ) gles1? ( egl ) gles2? ( egl ) vaapi? ( gallium ) vdpau? ( gallium ) vulkan? ( any-of ( video_cards_i965 video_cards_radeonsi ) video_cards_radeonsi? ( llvm ) ) wayland? ( egl gbm ) xa? ( gallium ) video_cards_freedreno? ( gallium ) video_cards_intel? ( classic ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_imx? ( gallium video_cards_vivante ) video_cards_nouveau? ( any-of ( classic gallium ) ) video_cards_radeon? ( any-of ( classic gallium ) gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) video_cards_r600? ( gallium ) video_cards_radeonsi? ( gallium llvm ) video_cards_vc4? ( gallium ) video_cards_virgl? ( gallium ) video_cards_vivante? ( gallium gbm ) video_cards_vmware? ( gallium )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Comment 1 Jonas Stein gentoo-dev 2018-07-07 18:25:04 UTC
Thank you for the report. Please recompile and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Matt Turner gentoo-dev 2018-07-07 18:27:33 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for the report. Please recompile and 
> paste the emerge info as described on
> https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
> Please reopen this ticket (Status:unconfirmed) afterwards.

Unnecessary. I can confirm the problem.
Comment 3 Larry the Git Cow gentoo-dev 2018-08-18 04:53:36 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(-)