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

Bug 454064

Summary: net-wireless/wpa_supplicant-2.0 - ?
Product: Gentoo Linux Reporter: Andrew John Hughes <gnu_andrew>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew John Hughes 2013-01-25 19:35:27 UTC
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared ../utils/common.o ../utils/os_unix.o ../utils/wpa_debug.o ../utils/base\
64.o ../utils/wpabuf.o ../crypto/md5.o ../crypto/sha1.o ../crypto/sha1-tlsprf.o ../crypto/aes-encblock.o ../crypto/aes-wrap.o .\
./crypto/aes-ctr.o ../crypto/aes-eax.o ../crypto/aes-omac1.o ../crypto/ms_funcs.o ../crypto/sha256.o ../eap_common/eap_peap_com\
mon.o ../eap_common/eap_psk_common.o ../eap_common/eap_pax_common.o ../eap_common/eap_sake_common.o ../eap_common/eap_gpsk_comm\
on.o ../eap_common/chap.o ../crypto/tls_openssl.o ../crypto/crypto_openssl.o ../eap_peer/eap_tls.o ../eap_peer/eap_peap.o ../ea\
p_peer/eap_ttls.o ../eap_peer/eap_md5.o ../eap_peer/eap_mschapv2.o ../eap_peer/mschapv2.o ../eap_peer/eap_otp.o ../eap_peer/eap\
_gtc.o ../eap_peer/eap_leap.o ../eap_peer/eap_psk.o ../eap_peer/eap_pax.o ../eap_peer/eap_sake.o ../eap_peer/eap_gpsk.o ../eap_\
peer/eap.o ../eap_common/eap_common.o ../eap_peer/eap_methods.o ../eap_peer/eap_tls_common.o -Wl,-soname -Wl,libeap.so.0 -o lib\
eap.so.0.0.0 -lssl -lcrypto
../crypto/crypto_openssl.o: In function `hmac_sha1_vector':
/mnt/builder/portage.build/portage/net-wireless/wpa_supplicant-2.0/work/wpa_supplicant-2.0/src/eap_peer/../crypto/crypto_openss\
l.c:700: multiple definition of `hmac_sha1_vector'
../crypto/sha1.o:/mnt/builder/portage.build/portage/net-wireless/wpa_supplicant-2.0/work/wpa_supplicant-2.0/src/eap_peer/../cry\
pto/sha1.c:28: first defined here
../crypto/crypto_openssl.o: In function `hmac_sha1':
/mnt/builder/portage.build/portage/net-wireless/wpa_supplicant-2.0/work/wpa_supplicant-2.0/src/eap_peer/../crypto/crypto_openss\
l.c:732: multiple definition of `hmac_sha1'
../crypto/sha1.o:/mnt/builder/portage.build/portage/net-wireless/wpa_supplicant-2.0/work/wpa_supplicant-2.0/src/eap_peer/../cry\
pto/sha1.c:102: first defined here
collect2: error: ld returned 1 exit status
make: *** [libeap.so.0.0.0] Error 1


Reproducible: Always

Steps to Reproduce:
Occurs both with the same USE flags as 1.1 (which still builds):

amd64 ap dbus eap-sim elibc_glibc fasteap kernel_linux multilib qt4 readline userland_GNU wimax wps

I've tried dropping eap-sim & fasteap, and adding gnutls or ssl, all to no avail.



Portage 2.2.0_alpha149 (default/linux/amd64/10.0/desktop, gcc-4.7.2, glibc-2.16.0, 3.7.3-gentoo.rivendell x86_64)
=================================================================
System uname: Linux-3.7.3-gentoo.rivendell-x86_64-Intel-R-_Xeon-R-_CPU_X5482_@_3.20GHz-with-gentoo-2.2
Timestamp of tree: Fri, 25 Jan 2013 02:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories:
Comment 1 anesth 2013-01-26 00:22:02 UTC
Same thing for me. Seems like libeap can (and should) be compiled without crypto_openssl.o.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-26 15:35:30 UTC
Please attach the entire build log to this bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-26 15:36:13 UTC

*** This bug has been marked as a duplicate of bug 453652 ***