* python2_7: running distutils-r1_run_phase python_configure_all swig -python -includeall -I/usr/include -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i /usr/include/openssl/opensslconf.h:41: Error: CPP #error ""No ABI matched, please report a bug to bugs.gentoo.org"". Use the -cpperraswarn option to continue swig processing. * ERROR: dev-python/m2crypto-0.22.3-r1::gentoo failed (configure phase): * swig failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3499: Called distutils-r1_src_configure * environment, line 1069: Called _distutils-r1_run_common_phase 'python_configure_all' * environment, line 246: Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all' * environment, line 2295: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all' * environment, line 2320: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all' * environment, line 2318: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure_all' * environment, line 671: Called distutils-r1_run_phase 'python_configure_all' * environment, line 1045: Called python_configure_all * environment, line 2808: Called die * The specific snippet of code: * "${@}" || die 'swig failed' * * If you need support, post the output of `emerge --info '=dev-python/m2crypto-0.22.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.22.3-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/m2crypto-0.22.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.22.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/m2crypto-0.22.3-r1/work/M2Crypto-0.22.3' * S: '/var/tmp/portage/dev-python/m2crypto-0.22.3-r1/work/M2Crypto-0.22.3' /usr/include/openssl/opensslconf.h is a portage-generated wrapper header, apparently because I have enabled multilib for openssl: /* This file is auto-generated by multilib-build.eclass * as a multilib-friendly wrapper. For the original content, * please see the files that are #included below. */ #if defined(__x86_64__) /* amd64 */ # if defined(__ILP32__) /* x32 ABI */ # error "abi_x86_x32 not supported by the package." # else /* 64-bit ABI */ # include <x86_64-pc-linux-gnu/openssl/opensslconf.h> # endif #elif defined(__i386__) /* plain x86 */ # include <i686-pc-linux-gnu/openssl/opensslconf.h> #elif defined(__mips__) # if(_MIPS_SIM == _ABIN32) /* n32 */ # error "abi_mips_n32 not supported by the package." # elif(_MIPS_SIM == _ABI64) /* n64 */ # error "abi_mips_n64 not supported by the package." # elif(_MIPS_SIM == _ABIO32) /* o32 */ # error "abi_mips_o32 not supported by the package." # endif #elif defined(__sparc__) # if defined(__arch64__) # error "abi_sparc_64 not supported by the package." # else # error "abi_sparc_32 not supported by the package." # endif #elif defined(__s390__) # if defined(__s390x__) # error "abi_s390_64 not supported by the package." # else # error "abi_s390_32 not supported by the package." # endif #elif defined(__powerpc__) # if defined(__powerpc64__) # error "abi_ppc_64 not supported by the package." # else # error "abi_ppc_32 not supported by the package." # endif #else # error "No ABI matched, please report a bug to bugs.gentoo.org" #endif It appears swig doesn't define the required __x86_64__ macro, and ooops..
I confirm, same here.
*** This bug has been marked as a duplicate of bug 509792 ***