Akagi201
6/7/2014 - 4:56 PM

gentoo-py-err.md

akagi201@akgentoo ~ $ sudo emerge -a m2crypto

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/m2crypto-0.22.3  PYTHON_TARGETS="python2_7 (-python2_6)"

Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/m2crypto-0.22.3::gentoo
 * M2Crypto-0.22.3.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...           [ ok ]
>>> Unpacking source...
>>> Unpacking M2Crypto-0.22.3.tar.gz to /var/tmp/portage/dev-python/m2crypto-0.22.3/work
>>> Source unpacked in /var/tmp/portage/dev-python/m2crypto-0.22.3/work
>>> Preparing source in /var/tmp/portage/dev-python/m2crypto-0.22.3/work/M2Crypto-0.22.3 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/m2crypto-0.22.3/work/M2Crypto-0.22.3 ...
 * 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::gentoo failed (configure phase):
 *   swig failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3363:  Called distutils-r1_src_configure
 *   environment, line  993:  Called _distutils-r1_run_common_phase 'python_configure_all'
 *   environment, line  227:  Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line 2219:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line 2244:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line 2242:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line  652:  Called distutils-r1_run_phase 'python_configure_all'
 *   environment, line  970:  Called python_configure_all
 *   environment, line 2732:  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::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.22.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/m2crypto-0.22.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.22.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/m2crypto-0.22.3/work/M2Crypto-0.22.3'
 * S: '/var/tmp/portage/dev-python/m2crypto-0.22.3/work/M2Crypto-0.22.3'

>>> Failed to emerge dev-python/m2crypto-0.22.3, Log file:

>>>  '/var/tmp/portage/dev-python/m2crypto-0.22.3/temp/build.log'

 * Messages for package dev-python/m2crypto-0.22.3:

 * ERROR: dev-python/m2crypto-0.22.3::gentoo failed (configure phase):
 *   swig failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3363:  Called distutils-r1_src_configure
 *   environment, line  993:  Called _distutils-r1_run_common_phase 'python_configure_all'
 *   environment, line  227:  Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line 2219:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line 2244:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line 2242:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure_all'
 *   environment, line  652:  Called distutils-r1_run_phase 'python_configure_all'
 *   environment, line  970:  Called python_configure_all
 *   environment, line 2732:  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::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.22.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/m2crypto-0.22.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.22.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/m2crypto-0.22.3/work/M2Crypto-0.22.3'
 * S: '/var/tmp/portage/dev-python/m2crypto-0.22.3/work/M2Crypto-0.22.3'