Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771018 - x11-wm/awesome-9999: CMake Error at AutoOption.cmake:26 (message): Value of WITH_DBUS must be one of ON/OFF/AUTO
Summary: x11-wm/awesome-9999: CMake Error at AutoOption.cmake:26 (message): Value of W...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-17 04:03 UTC by Tran Duc Nam
Modified: 2021-02-23 09:32 UTC (History)
2 users (show)

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


Attachments
Log build (build.log,4.50 KB, text/plain)
2021-02-17 04:03 UTC, Tran Duc Nam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tran Duc Nam 2021-02-17 04:03:24 UTC
Created attachment 687057 [details]
Log build

When I updated awesome-9999 with latest ebuild, I can't build it with dbus IUSE (see log in attachment).
For awesome-9999 ebuild, we must set value of WITH_DBUS is ON/OFF/AUTO.
I searched on git log of ebuild and I see that after this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/x11-wm/awesome?id=fbdc76f4b34925b76ddc9ca71b93db76f02a5560, WITH_DBUS was changed to yes value.
After I test by change -DWITH_DBUS=$(usex dbus ON OFF), build successfully. We should revert it.
Comment 1 Ionen Wolkens gentoo-dev 2021-02-17 04:14:09 UTC
Please don't CC developers, bug-wranglers will take care of that as-needed.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-23 09:32:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744e338ebea45f79dceaa066d6f1a8f8861030dd

commit 744e338ebea45f79dceaa066d6f1a8f8861030dd
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-02-23 09:30:24 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-02-23 09:32:13 +0000

    x11-wm/awesome-9999: override return values of 'usex dbus' again
    
    ...this time with a comment so that it is clear that this is intentional
    rather than sloppy ebuild writing.
    
    Closes: https://bugs.gentoo.org/771018
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 x11-wm/awesome/awesome-9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)