Program pkg-config found: YES (/usr/bin/pkg-config) meson.build:611:4: ERROR: Problem encountered: The nine state tracker requires at least on non-swrast gallium driver. A full log can be found at /var/tmp/portage/media-libs/mesa-18.2.0_rc2/work/mesa-18.2.0-rc2-abi_x86_64.amd64/meson-logs/meson-log.txt * ERROR: media-libs/mesa-18.2.0_rc2::gentoo failed (configure phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_libressl_20180811-094711 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv media-libs/mesa [ebuild N ] media-libs/mesa-18.2.0_rc2 USE="classic d3d9 dri3 egl gallium gbm llvm -debug -gles1 -gles2 -lm_sensors -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" VIDEO_CARDS="(-freedreno) -i915 -i965 (-imx) -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware"
Created attachment 543150 [details] emerge-info.txt
Created attachment 543152 [details] emerge-history.txt
Created attachment 543154 [details] environment
Created attachment 543156 [details] etc.portage.tbz2
Created attachment 543158 [details] media-libs:mesa-18.2.0_rc2:20180812-021649.log
Created attachment 543160 [details] temp.tbz2
I encountered another closely related problem: meson.build:559:4: ERROR: Problem encountered: VA state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau. This is with VIDEO_CARDS="i965 intel".
In my case the error message: meson.build:441:4: ERROR: Problem encountered: XVMC state tracker requires at least one of the following gallium drivers: r600, nouveau. VIDEO_CARDS="nvidia" and the driver is x11-drivers/nvidia-drivers-390.77
In my case (building only radeon and radeonsi): meson.build:593:4: ERROR: Problem encountered: XA state tracker requires at least one of the following gallium drivers: nouveau, freedreno, i915, svga.
In my case: meson.build:401:4: ERROR: Problem encountered: VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau.
And I had: roblem encountered: XA state tracker requires at least one of the following gallium drivers: nouveau, freedreno, i915, svga. Using VIDEO_CARDS="radeon radeonsi". This new version looks awful, given the number of different but related problems it's caused.
By the looks of it, for intel GPU systems, there must be USE="-vaapi -vdpau -xa" to build.
*** Bug 663476 has been marked as a duplicate of this bug. ***
I think it will take time to resolve this bug, I masked this version for now.
(In reply to Joe Kappus from comment #12) > By the looks of it, for intel GPU systems, there must be USE="-vaapi -vdpau > -xa" to build. Shouldn't the gallium use flag be dropped instead? I think some expert knowledge (upstream) is necessary to correctly sort out dependencies and resolve this bug.
the gallium flag is required with USE="llvm". How necessary is that flag?
In addition to REQUIRED_USE=" vaapi? ( gallium || ( video_cards_{r600,radeon,nouveau} ) ) d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) ) vdpau? ( gallium || ( video_cards_{r300,r600,radeonsi,nouveau} ) )" We also need REQUIRED_USE="... xvmc? ( gallium || ( video_cards_{r600,nouveau} ) ) xa? ( gallium || ( video_cards_{i915,freedreno,nouveau} ) ) omx? ( gallium || ( video_cards_{r600,radeonsi,nouveau} ) ) See-Also: https://bugs.gentoo.org/663470 See-Also: https://bugs.gentoo.org/663418 See-Also: https://bugs.gentoo.org/663546 See-Also: https://bugs.gentoo.org/663660
(In reply to Dennis Schridde from comment #17) > In addition to REQUIRED_USE=" > vaapi? ( gallium || ( video_cards_{r600,radeon,nouveau} ) ) > d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) ) > vdpau? ( gallium || ( video_cards_{r300,r600,radeonsi,nouveau} ) )" > > We also need REQUIRED_USE="... > xvmc? ( gallium || ( video_cards_{r600,nouveau} ) ) > xa? ( gallium || ( video_cards_{i915,freedreno,nouveau} ) ) > omx? ( gallium || ( video_cards_{r600,radeonsi,nouveau} ) ) > > See-Also: https://bugs.gentoo.org/663470 > See-Also: https://bugs.gentoo.org/663418 > See-Also: https://bugs.gentoo.org/663546 > See-Also: https://bugs.gentoo.org/663660 But I have the gallium flag set and still get the error message (for XA), so the REQUIRED_USE above does not cover all cases.
(In reply to Klaus Kusche from comment #18) > (In reply to Dennis Schridde from comment #17) > > In addition to REQUIRED_USE=" > > d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) ) > > But I have the gallium flag set and still get the error message (for XA), > so the REQUIRED_USE above does not cover all cases. Do you also have one of the abovementioned drivers in your VIDEO_CARDS list?
(In reply to Dennis Schridde from comment #19) > (In reply to Klaus Kusche from comment #18) > > (In reply to Dennis Schridde from comment #17) > > > In addition to REQUIRED_USE=" > > > d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) ) > > > > But I have the gallium flag set and still get the error message (for XA), > > so the REQUIRED_USE above does not cover all cases. > > Do you also have one of the abovementioned drivers in your VIDEO_CARDS list? I'm not talking about d3d9, I'm talking about XA. My drivers are radeon and radeonsi.
(In reply to Klaus Kusche from comment #20) > (In reply to Dennis Schridde from comment #19) > > (In reply to Klaus Kusche from comment #18) > > > (In reply to Dennis Schridde from comment #17) > > > > In addition to REQUIRED_USE=" > > > > d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) ) > > > > > > But I have the gallium flag set and still get the error message (for XA), > > > so the REQUIRED_USE above does not cover all cases. > > > > Do you also have one of the abovementioned drivers in your VIDEO_CARDS list? > > I'm not talking about d3d9, I'm talking about XA. > My drivers are radeon and radeonsi. In that case you have to satisfy this: > xa? ( gallium || ( video_cards_{i915,freedreno,nouveau} ) ) Since radeon and radeonsi are not i915, freedreno or nouveau, XA is not supported on your cards.
(In reply to Dennis Schridde from comment #17) > In addition to REQUIRED_USE=" > vaapi? ( gallium || ( video_cards_{r600,radeon,nouveau} ) ) > d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) ) > vdpau? ( gallium || ( video_cards_{r300,r600,radeonsi,nouveau} ) )" > > We also need REQUIRED_USE="... > xvmc? ( gallium || ( video_cards_{r600,nouveau} ) ) > xa? ( gallium || ( video_cards_{i915,freedreno,nouveau} ) ) > omx? ( gallium || ( video_cards_{r600,radeonsi,nouveau} ) ) > > See-Also: https://bugs.gentoo.org/663470 > See-Also: https://bugs.gentoo.org/663418 > See-Also: https://bugs.gentoo.org/663546 > See-Also: https://bugs.gentoo.org/663660 Due to the resolution to bug 639400, i915 won't build gallium if classic is set. So your d3d9 and xa may not satisfy now. It was rare that a user would set i915 (as a correct intention) anyway as it is for pre-"Core 2" graphics processors.
Oops, make that bug 663400
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(-)