Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923623 - media-libs/mesa-24.0.0 meson.build:448:3: ERROR: Feature egl cannot be enabled: EGL requires DRI, Haiku, Windows or Android
Summary: media-libs/mesa-24.0.0 meson.build:448:3: ERROR: Feature egl cannot be enable...
Status: RESOLVED DUPLICATE of bug 923494
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: 2024-02-02 12:15 UTC by stefan11111
Modified: 2024-02-02 19:38 UTC (History)
1 user (show)

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


Attachments
emerge --info (info,7.57 KB, text/plain)
2024-02-02 12:15 UTC, stefan11111
Details
build.log (build.log,5.07 KB, text/x-log)
2024-02-02 12:18 UTC, stefan11111
Details
fix-build.patch (fix-build.patch.bak,989 bytes, patch)
2024-02-02 12:57 UTC, stefan11111
Details | Diff
Old mesa ebuild (mesa-24.0.0.ebuild,11.91 KB, application/vnd.gentoo.ebuild)
2024-02-02 13:00 UTC, stefan11111
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan11111 2024-02-02 12:15:25 UTC
../mesa-24.0.0/meson.build:448:3: ERROR: Feature egl cannot be enabled: EGL requires DRI, Haiku, Windows or Android
Comment 1 stefan11111 2024-02-02 12:15:49 UTC
Created attachment 884028 [details]
emerge --info
Comment 2 stefan11111 2024-02-02 12:18:13 UTC
Created attachment 884029 [details]
build.log
Comment 3 stefan11111 2024-02-02 12:56:12 UTC
I got it to build in a pretty hacky way.

I put media-libs/mesa -opengl in /etc/portage/profile/package.use.force

I put MMYMESONARGS="-Dgbm=enabled -Ddri3=disabled" in /etc/portage/env/media-libs/mesa

I put fix-build.patch(will add as an attachment) in /etc/portage/patches/media-libs/mesa.

It seems to work fine, but this wasn't needed with the old mesa ebuild.
Comment 4 stefan11111 2024-02-02 12:57:47 UTC
Created attachment 884030 [details, diff]
fix-build.patch

Without this patch, the build fails because it can't find a header.
Comment 5 stefan11111 2024-02-02 13:00:15 UTC
Created attachment 884031 [details]
Old mesa ebuild
Comment 6 Mike Gilbert gentoo-dev 2024-02-02 19:38:15 UTC

*** This bug has been marked as a duplicate of bug 923494 ***