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

Bug 614150

Summary: Build dev-libs/wlc with CMAKE_BUILD_TYPE=Upstream for dev-libs/sway
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: Current packagesAssignee: Mykyta Holubakha <hilobakho>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/SirCmpwn/sway/issues/571
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Walter 2017-03-28 14:11:18 UTC
As discussed in the linked issue, otherwise drop-down menus vanish after first use. The simple addition of "CMAKE_BUILD_TYPE=Upstream" to the wlc ebuild solved this for me.

Note that this is only a workaround and no real solution exists, so it may be a good idea to do this conditional on a use-flag and let sway depend on the use-flag.
Comment 1 Mykyta Holubakha 2017-03-29 07:27:16 UTC
This build type only seems to influence compiler/linker flags, so enabling it would be in violation of QA, it seems to me.
Comment 2 Mykyta Holubakha 2017-03-29 07:28:10 UTC
See https://github.com/Cloudef/wlc/blob/master/CMakeLists.txt#L80
Comment 3 Markus Walter 2017-03-29 09:25:11 UTC
(In reply to Mykyta Holubakha from comment #1)
> This build type only seems to influence compiler/linker flags, so enabling
> it would be in violation of QA, it seems to me.

This seems to be correct and I'm also totally confused how this solved my problem. Nevertheless it actually solved a rather big usability problem, so I would urge you to apply this fix until a proper solution is found. (No issue if not on my side, thanks to local overlays. ;)
Comment 4 Mykyta Holubakha 2017-03-29 09:29:46 UTC
Try setting the flags with /etc/portage/package.env