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

Bug 648686

Summary: dev-python/m2crypto-0.27.0: fails on amd64-fbsd: SWIG/_m2crypto.i:43: Error: Unable to find 'openssl/opensslv.h'
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=687526
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-24 10:31:54 UTC
Created attachment 520874 [details]
build.log

Looks like the new version can't find openssl headers for some reason (they're present in /usr/include). 0.24.0 builds fine.

running build_ext
building 'M2Crypto._m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/usr/include/python2.7 -includeall -modern -builtin -outdir /var/tmp/portage/dev-python/m2crypto-0.27.0/work/M2Crypto-0.27.0/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
SWIG/_m2crypto.i:43: Error: Unable to find 'openssl/opensslv.h'
SWIG/_m2crypto.i:49: Error: Unable to find 'openssl/safestack.h'
SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'
SWIG/_rc4.i:5: Error: Unable to find 'openssl/opensslconf.h'
SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'
error: command 'swig' failed with exit status 1
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-24 10:32:17 UTC
Created attachment 520876 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-30 04:26:35 UTC
amd64-fbsd was disbanded, closing