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

Bug 276711

Summary: app-crypt/gnupg-2.0.12 fails to compile with "configure: error: Cannot find a type to use in place of socklen_t"
Product: Gentoo Linux Reporter: Sylvain Raybaud <sraybaud>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of emerge --info
app-crypt/gnupg-2.0.12 build log
gnupg config.log

Description Sylvain Raybaud 2009-07-06 09:18:38 UTC
the errors appears during configure stage (log attached):
checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t

gnupg-2.0.11 compiles successfuly


Reproducible: Always

Steps to Reproduce:
Comment 1 Sylvain Raybaud 2009-07-06 09:19:52 UTC
Created attachment 196869 [details]
output of emerge --info
Comment 2 Sylvain Raybaud 2009-07-06 09:20:37 UTC
Created attachment 196870 [details]
app-crypt/gnupg-2.0.12 build log
Comment 3 Sylvain Raybaud 2009-07-06 09:31:43 UTC
Created attachment 196875 [details]
gnupg config.log
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-06 09:55:06 UTC
-msse -msse4 -msse4.1 -msse4.2 doesn't look very sane, I think you should try with -msse4.2 only since it should imply the other -msse flags

Also unsure of -mcx16 -msahf, try dropping
Comment 5 Sylvain Raybaud 2009-07-06 11:24:17 UTC
(In reply to comment #4)
> -msse -msse4 -msse4.1 -msse4.2 doesn't look very sane, I think you should try
> with -msse4.2 only since it should imply the other -msse flags
> 
> Also unsure of -mcx16 -msahf, try dropping
> 

these are the flags described in http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Core_i7

there was an "emerge kde-meta" running in the background which must have modified something because now I can no longer reproduce the bug, sorry... should probably have stoped it :/

If you think I can still provide more information please ask.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-07 12:26:46 UTC
Update sys-kernel/linux-headers and reinstall sys-libs/glibc.