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

Bug 284342

Summary: www-plugins/gnash-0.8.5 fails to build with USE=-gtk kde
Product: Gentoo Linux Reporter: Andrei Slavoiu <ansla80>
Component: Current packagesAssignee: Romain Perier (RETIRED) <mrpouet>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gnash-0.8.5.ebuild.patch

Description Andrei Slavoiu 2009-09-09 19:55:37 UTC
When trying to emerge gnash with "USE=-gtk kde" the it fails with the following error:
configure: error: invalid gui sdlkde4 given (accept: gtk|kde3|kde4|fltk|sdl|riscos|aqua|fb|hildon|alp|qtopia3|qtopia4|dump)

Reproducible: Always

Steps to Reproduce:
USE=-gtk kde emerge -1 gnash
Comment 1 Andrei Slavoiu 2009-09-09 19:57:36 UTC
Created attachment 203626 [details, diff]
gnash-0.8.5.ebuild.patch

Avoid creating a $gui string that has the first comma between 2 values
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-09-10 19:13:30 UTC
Re-assign to myself as maintainer.
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-09-10 19:23:28 UTC
+10 Sep 2009; Romain Perier <mrpouet@gentoo.org>
+  gnash-0.8.5.ebuild:
+  Fix bug #284342, sdl was added into $gui local var from src_configure()
+  even with USE=-sdl gtk -kde, which also introduiced a syntax error caused
+  by the sed expression (which drops the first matched comma).

Fixed into the main tree without a bump, thanks for reporting