Bug 112227 - gtk2hs-0.9.10 glade flag conflicts with -gnome flag
Bug#: 112227 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: haskell@gentoo.org Reported By: murray@sonology.net
Component: Applications
URL: 
Summary: gtk2hs-0.9.10 glade flag conflicts with -gnome flag
Keywords:  
Status Whiteboard: 
Opened: 2005-11-11 15:55 0000
Description:   Opened: 2005-11-11 15:55 0000
The new "glade" USE flag in dev-haskell/gtk2hs-0.9.10 conflicts with the
"gnome"
USE flag. If (as I do) one chooses USE="+glade -gnome" then the build fails at
the point of registering the glade package which hasn't been built.
This seems to be because "$(use_enable glade libglade) $(use_enable gnome
libglade)" then resolves to "--enable-libglade --disable-libglade".

"$(useq glade || useq gnome && echo --enable-libglade)" seems to work for me.

Reproducible: Always
Steps to Reproduce:
1. export ACCEPT_KEYWORDS="~x86"
2. USE="glade -gnome" emerge gtk2hs
3. 

Actual Results:  
Build borks on trying to register unbuilt glade package (no glade.package.conf)

Expected Results:  
Flawless install.

------- Comment #1 From Duncan Coutts (RETIRED) 2005-11-12 02:54:13 0000 -------
Thanks Murray. The fix is now in portage.
Reopen this bug if it doesn't fix it for you.

------- Comment #2 From Duncan Coutts (RETIRED) 2005-12-06 03:36:50 0000 -------
*** Bug 114578 has been marked as a duplicate of this bug. ***