Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687880 - x11-apps/igt-gpu-tools-9999 : meson should use enabled/disabled/auto instead of true/false/auto
Summary: x11-apps/igt-gpu-tools-9999 : meson should use enabled/disabled/auto instead ...
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: 2019-06-11 18:20 UTC by Brian G. Olson
Modified: 2019-06-13 19:31 UTC (History)
0 users

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


Attachments
build.log (build.log,24.43 KB, text/plain)
2019-06-11 18:20 UTC, Brian G. Olson
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)