View previous topic :: View next topic |
Author |
Message |
itsol! n00b
Joined: 06 May 2014 Posts: 3
|
Posted: Tue May 06, 2014 11:31 am Post subject: [SOLVED] dev-python/m2crypto: opensslconf.h, No ABI matched |
|
|
Code: | >>> Configuring source in /var/tmp/portage/dev-python/m2crypto-0.21.1-r1/work/M2Crypto-0.21.1 ...
* 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:23: 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.21.1-r1::gentoo failed (configure phase):
* swig failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3355: Called distutils-r1_src_configure
* environment, line 1037: Called _distutils-r1_run_common_phase 'python_configure_all'
* environment, line 221: Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 2263: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 2288: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 2286: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 646: Called distutils-r1_run_phase 'python_configure_all'
* environment, line 1014: Called python_configure_all
* environment, line 2783: Called die
* The specific snippet of code:
* "${@}" || die 'swig failed' |
Any ideas why the x86_64 ABI isn't defined during the swig step?
Same with the ~ version. I'm running default/linux/amd64/13.0/desktop as VirtualBox guest if that matters...
Relevant make.conf settings:
Code: | CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="-accessibility bindist mmx networkmanager sse sse2 X" |
Thanks in advance!
Last edited by itsol! on Thu May 08, 2014 10:25 am; edited 1 time in total |
|
Back to top |
|
|
itsol! n00b
Joined: 06 May 2014 Posts: 3
|
Posted: Thu May 08, 2014 10:24 am Post subject: |
|
|
Error due to falsely emerged openssl ebuild from sabayon overlay. Works with stable Gentoo openssl. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu May 08, 2014 11:02 am Post subject: |
|
|
itsol! wrote: | Error due to falsely emerged openssl ebuild from sabayon overlay. Works with stable Gentoo openssl. |
itsol! ... to avoid this happening I generally follow a rule of masking the overlay, and then unmasking the packages I explicitly want from that overlay, eg:
/etc/portage/package.mask
/etc/portage/package.unmask
Code: | <category>/<package>::overlay |
HTH & best ... khay |
|
Back to top |
|
|
itsol! n00b
Joined: 06 May 2014 Posts: 3
|
Posted: Thu May 08, 2014 11:05 am Post subject: |
|
|
Done that (:
Cheers! - Oli |
|
Back to top |
|
|
Spidey Apprentice
Joined: 07 Sep 2006 Posts: 269
|
Posted: Fri May 30, 2014 1:44 am Post subject: |
|
|
I am also being affected by this, but I don't have the Sabayon overlay installed. I'm running ~amd64. Should I mask the unstable openssl ebuild? |
|
Back to top |
|
|
rosomak n00b
Joined: 13 Sep 2006 Posts: 15
|
Posted: Tue Jun 03, 2014 6:23 am Post subject: |
|
|
Spidey wrote: | I am also being affected by this, but I don't have the Sabayon overlay installed. I'm running ~amd64. Should I mask the unstable openssl ebuild? |
It worked in my case. |
|
Back to top |
|
|
ganthore n00b
Joined: 25 May 2014 Posts: 16 Location: Raleigh, NC
|
Posted: Sat Jun 07, 2014 9:07 pm Post subject: |
|
|
This has _NOT_ been resolved!
New vanilla installation today shows the exact same error w/o using any overlays.
Current openssl version installed is:
Code: |
[ebuild R ~] dev-libs/openssl-1.0.1h-r2 USE="(sse2) tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -static-libs {-test} -vanilla" ABI_X86="32 (64) (-x32)" 0 kB
|
Build log:
Code: | localhost / # emerge m2crypto -v
* IMPORTANT: 7 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
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)" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/m2crypto-0.22.3
openpty failed: 'out of pty devices'
* 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 3374: Called distutils-r1_src_configure
* environment, line 1004: Called _distutils-r1_run_common_phase 'python_configure_all'
* environment, line 238: Called multibuild_for_best_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 2230: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 2255: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 2253: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure_all'
* environment, line 663: Called distutils-r1_run_phase 'python_configure_all'
* environment, line 981: Called python_configure_all
* environment, line 2743: 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'
|
System settings:
Code: |
localhost / # emerge --info '=dev-python/m2crypto-0.22.3::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.11.10-301.fc20.x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.11.10-301.fc20.x86_64-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 16378272 total, 2624632 free
KiB Swap: 2097148 total, 2097148 free
Timestamp of tree: Sat, 07 Jun 2014 20:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.6, 3.3.3
dev-util/ccache: 3.1.9-r3
dev-util/cmake: 2.8.12.2
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core-avx2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 avx avx2 berkdb bluetooth branding bzip2 cairo ccache cdda cdr cli cracklib crypt cups custom-cflags cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gbm gdbm gif gles gles1 gles2 gpm iconv ipv6 ithreads jpeg kde kipi lcms ldap libnotify lto lzma lzo mad mmap mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp openvg osmesa pam pango pcre pdf phonon pic plasma png policykit posix ppds pulseaudio python3 qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd threads threadsafe threadsonly thumbnail tiff truetype udev udisks unicode upower usb vdpau vlc vorbis wayland wxwidgets x264 xa xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON |
_________________ Regards,
-Ganthore |
|
Back to top |
|
|
quasar n00b
Joined: 11 Mar 2006 Posts: 31
|
|
Back to top |
|
|
Sbatushe n00b
Joined: 21 May 2023 Posts: 1
|
Posted: Sun May 21, 2023 3:58 pm Post subject: |
|
|
Hello, i had this issue on an i686 machine. In my case i was installing m2crypto during the first Gentoo install and because of that i was in a chroot environment. I solved this problem trying to install m2crypto without chroot (after a base install obviously). Seems like a strange flag, abi_x86_x32, was causing the problem. Hope this will be userful to people from the future. _________________ 10 years compiling |
|
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
|
|