View previous topic :: View next topic |
Author |
Message |
AskNow n00b
Joined: 05 Feb 2015 Posts: 6
|
Posted: Thu Feb 05, 2015 7:18 pm Post subject: net-wireless/crda fails to compile [Solved] |
|
|
net-wireless/crda (wpa_supplicant dependency) compilation fails on a fresh gentoo installation.
Here's the log:
Quote: | >>> Verifying ebuild manifests
>>> Emerging (1 of 2) net-wireless/crda-1.1.3-r1::gentoo
>>> Failed to emerge net-wireless/crda-1.1.3-r1, Log file:
>>> '/var/tmp/portage/net-wireless/crda-1.1.3-r1/temp/build.log'
* Package: net-wireless/crda-1.1.3-r1
* Repository: gentoo
* Maintainer: gurligebis@gentoo.org zerochaos@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Applying crda-1.1.3-missing-include.patch ...
[ ok ]
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -Wall -g -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -o crda.o crda.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -Wall -g -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -o intersect.o intersect.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -Wall -g -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -o print-regdom.o print-regdom.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -Wall -g -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -o regdbdump.o regdbdump.c
./utils/key2pub.py --ssl pubkeys/linville.key.pub.pem keys-ssl.c
Traceback (most recent call last):
File "./utils/key2pub.py", line 5, in <module>
from M2Crypto import RSA
File "/usr/lib64/python2.7/site-packages/M2Crypto/__init__.py", line 24, in <module>
import ASN1
File "/usr/lib64/python2.7/site-packages/M2Crypto/ASN1.py", line 12, in <module>
import BIO
File "/usr/lib64/python2.7/site-packages/M2Crypto/BIO.py", line 221, in <module>
class CipherStream(BIO):
File "/usr/lib64/python2.7/site-packages/M2Crypto/BIO.py", line 227, in CipherStream
SALT_LEN = m2.PKCS5_SALT_LEN
AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'
Makefile:104: recipe for target 'keys-ssl.c' failed
make: *** [keys-ssl.c] Error 1
make: *** Waiting for unfinished jobs....
* ERROR: net-wireless/crda-1.1.3-r1::gentoo failed (compile phase):
* emake failed
|
Seems like a python m2crypto lib version mismatch, but I managed to compile it in my other computer with the same python specification.
May I be skipping some implicit dependency or what?
I've managed to compile it on a fresh installation in the past, something changed.
Last edited by AskNow on Sat Feb 07, 2015 5:14 pm; edited 1 time in total |
|
Back to top |
|
|
Phollux n00b
Joined: 28 Dec 2008 Posts: 7 Location: Bonn, Germany
|
Posted: Sat Feb 07, 2015 1:48 pm Post subject: Workaround |
|
|
Hm, it seems, you could work around this bug by using an older version of dev-lang/swig:
Code: | emerge -v1 =dev-lang/swig-3.0.4
emerge -v1 dev-python/m2crypto
emerge -v1 net-wireless/crda |
Have fun,
Phil |
|
Back to top |
|
|
AskNow n00b
Joined: 05 Feb 2015 Posts: 6
|
Posted: Sat Feb 07, 2015 5:17 pm Post subject: |
|
|
That worked, man!
Thank you, I did receive an answer and a lesson this time.
Should look bug tracker more frequently indeed
Marking issue as solved. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|