Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936431 - media-libs/mesa-9999: ../mesa-9999/meson.build:961:2: ERROR: Problem encountered: Python (3.x) yaml module (PyYAML) required to build mesa.
Summary: media-libs/mesa-9999: ../mesa-9999/meson.build:961:2: ERROR: Problem encounte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-21 09:25 UTC by Kostadin Shishmanov
Modified: 2024-07-21 18:25 UTC (History)
0 users

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


Attachments
build log (build.log,7.12 KB, text/x-log)
2024-07-21 09:25 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2024-07-21 09:25:15 UTC
Created attachment 898069 [details]
build log

media-libs/mesa-9999 fails to build because pyyaml is missing. Installing dev-python/pyyaml makes it build fine.

meson setup -Db_lto=false --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/lib/llvm/17/lib/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/lib/llvm/17/lib/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/mesa-9999/temp/meson.i686-pc-linux-gnu.x86.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dplatforms=x11,wayland -Dgallium-nine=false -Dgallium-va=enabled -Dva-libs-path=/usr/lib/va/drivers -Dgallium-vdpau=disabled -Dgallium-xa=disabled -Dgallium-rusticl=false -Drust_std=2021 -Dvulkan-layers=device-select -Dglx=dri -Dbuild-tests=false -Dshared-glapi=enabled -Ddri3=enabled -Dexpat=enabled -Dopengl=true -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dglvnd=enabled -Degl=enabled -Dllvm=enabled -Dlmsensors=enabled -Dosmesa=false -Dselinux=false -Dlibunwind=disabled -Dzstd=enabled -Dsse2=true -Damd-use-llvm=false -Dintel-clc=auto -Dvalgrind=disabled -Dvideo-codecs=all -Dgallium-drivers=radeonsi,swrast,zink -Dvulkan-drivers=amd -Db_ndebug=true /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999 /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_32.x86
The Meson build system
Version: 1.4.1
Source dir: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999
Build dir: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_32.x86
Build type: native build
Project name: mesa
Project version: 24.3.0-devel
C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse (gcc 14.1.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 14.1.1_p20240713 p3) 14.1.1 20240713")
C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse ld.bfd 2.42
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse (gcc 14.1.1 "x86_64-pc-linux-gnu-g++ (Gentoo Hardened 14.1.1_p20240713 p3) 14.1.1 20240713")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse ld.bfd 2.42
Host machine cpu family: x86
Host machine cpu: i686
Checking for size of "void*" : 4 
../mesa-9999/meson.build:171: WARNING: `gallium-drivers=swrast` is a deprecated alias for `gallium-drivers=softpipe,llvmpipe` and will be removed in version 25.0
Checking if "-mtls-dialect=gnu2" runs: YES
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.2.0
Run-time dependency libglvnd found: YES 1.7.0
Dependency vdpau skipped: feature gallium-vdpau disabled
Program glslangValidator found: YES (/usr/bin/glslangValidator)
Found CMake: /usr/bin/cmake (3.28.5)
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: YES 1.21.0
Header "va/va.h" has symbol "VASurfaceAttribDRMFormatModifiers" with dependency libva: YES 
Program python3 found: YES (/var/tmp/portage/media-libs/mesa-9999/temp/python3.12/bin/python3)

../mesa-9999/meson.build:961:2: ERROR: Problem encountered: Python (3.x) yaml module (PyYAML) required to build mesa.
Comment 1 Larry the Git Cow gentoo-dev 2024-07-21 18:25:31 UTC
The bug has been closed via the following commit(s):

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

commit 68b4b58284b91b81b92199f4033532042da876bb
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-07-21 18:22:06 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-07-21 18:25:26 +0000

    media-libs/mesa: Add dependency on pyyaml
    
    New requirement added by upstream commit bed6e0d691c ("build: Check for
    PyYAML in Meson build")
    
    Closes: https://bugs.gentoo.org/936431
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/mesa-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)