Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687880

Summary: x11-apps/igt-gpu-tools-9999 : meson should use enabled/disabled/auto instead of true/false/auto
Product: Gentoo Linux Reporter: Brian G. Olson <olsonbg>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Brian G. Olson 2019-06-11 18:20:31 UTC
Created attachment 579556 [details]
build.log

Compilation of x11-apps/igt-gpu-tools-9999 fails because Meson has been updated to use 'feature' options which use auto, enabled and disabled instead of auto, true and false. (see https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/736b099862f61b115b3845309b860cb66915fe2a)

Changing 'usex <USE flag> true false' lines in ebuild to 'usex <USE flag> enabled disabled' allows x11-apps/igt-gpu-tools-9999 to compile.


Compilation fails with:

meson.build:1:0: ERROR: Value "false" for combo option "build_chamelium" is not one of the choices. Possible choices are: "enabled", "disabled", "auto".
Comment 1 Larry the Git Cow gentoo-dev 2019-06-13 19:31:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187b4281a273c9d358a1dbd8927956e7a5ddce23

commit 187b4281a273c9d358a1dbd8927956e7a5ddce23
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-06-13 19:28:21 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-06-13 19:31:26 +0000

    x11-apps/igt-gpu-tools: Use meson_feature function
    
    Closes: https://bugs.gentoo.org/687880
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)