Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933515 - media-libs/mesa-24.0.8-r1 ERROR: Problem encountered: Python (3.x) mako module >= 0.8.0 required to build mesa.
Summary: media-libs/mesa-24.0.8-r1 ERROR: Problem encountered: Python (3.x) mako modul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-06-04 08:16 UTC by skye
Modified: 2024-06-05 20:01 UTC (History)
2 users (show)

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


Attachments
emerge mesa output (emergelog.txt,8.68 KB, text/plain)
2024-06-04 08:16 UTC, skye
Details
emerge --info (emerge-info.txt,6.46 KB, text/plain)
2024-06-04 08:24 UTC, skye
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skye 2024-06-04 08:16:56 UTC
Created attachment 895041 [details]
emerge mesa output

Trying to compile mesa leads to this error about missing mako even though mako is installed. Output of the emerge command is in attachment.

Thanks to parona in the Matrix channel, I added the following to package.use
dev-python/packaging python3_12
dev-python/setuptools python3_12

and recompiled those two packages and then I could also compile mesa.

I hope I filed this bug correctly, thank you for your time :)
Comment 1 skye 2024-06-04 08:24:59 UTC
Created attachment 895042 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-06-05 20:01:38 UTC
The bug has been closed via the following commit(s):

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

commit 1c2216dd6b82337fbc9bdc5f9bc0005fe6f8e57b
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-06-04 08:30:34 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-06-05 20:01:30 +0000

    media-libs/mesa: Depend on dev-python/packaging
    
    * Mesa's meson check for mako uses dev-python/packaging or distutils
      (dev-python/setuptools in python3.12). For simplicity add a dependency
      on dev-python/packaging.
    
    Closes: https://bugs.gentoo.org/933515
    Closes: https://github.com/gentoo/gentoo/pull/37019
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/mesa-24.0.7.ebuild    | 8 ++++++--
 media-libs/mesa/mesa-24.0.8-r1.ebuild | 8 ++++++--
 media-libs/mesa/mesa-24.0.8.ebuild    | 8 ++++++--
 media-libs/mesa/mesa-24.1.0-r1.ebuild | 8 ++++++--
 media-libs/mesa/mesa-24.1.0.ebuild    | 8 ++++++--
 media-libs/mesa/mesa-9999.ebuild      | 8 ++++++--
 6 files changed, 36 insertions(+), 12 deletions(-)