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

Bug 409285

Summary: net-wireless/wpa_supplicant fails to build with GCC 4.7 - error: ‘getopt’ was not declared in this scope
Product: Gentoo Linux Reporter: Branko Badrljica <brankob>
Component: Current packagesAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED FIXED    
Severity: normal CC: alexxy, jlp.bugs, mobile+disabled, n.schlumberger
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: emerge --info
failed emerge logfile
patch file
new ebuild with epatch line

Description Branko Badrljica 2012-03-22 09:15:53 UTC
I have made a patch and changed ebuild. It compiles fine- I did not test its functionality yet.



Reproducible: Always
Comment 1 Branko Badrljica 2012-03-22 09:16:13 UTC
Created attachment 306273 [details]
emerge --info
Comment 2 Branko Badrljica 2012-03-22 09:17:08 UTC
Created attachment 306275 [details]
failed emerge logfile
Comment 3 Branko Badrljica 2012-03-22 09:17:58 UTC
Created attachment 306277 [details, diff]
patch file
Comment 4 Branko Badrljica 2012-03-22 09:18:21 UTC
Created attachment 306279 [details]
new ebuild with epatch line
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-23 14:57:01 UTC
Comment on attachment 306279 [details]
new ebuild with epatch line

--- wpa_supplicant-0.7.3-r5.ebuild      2012-03-11 19:18:55.000000000 +0100
+++ -   2012-03-23 15:56:53.377828081 +0100
@@ -88,6 +88,7 @@
        epatch "${FILESDIR}/${P}-dbus-api-changes.patch"
        # bug (374089)
        epatch "${FILESDIR}/${P}-dbus-WPAIE-fix.patch"
+       epatch "${FILESDIR}/wpa_supplicant-gcc470.patch"
 }
 
 src_configure() {
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2012-05-22 06:25:39 UTC
*** Bug 416877 has been marked as a duplicate of this bug. ***
Comment 7 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-05-22 07:17:43 UTC
Fixed in both 0.7.5 and 1.0 - please allow a few hours before syncing and testing.