Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-python/cryptography-1.5.2::gentoo failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
apenhorwood
n00b
n00b


Joined: 03 Dec 2016
Posts: 2

PostPosted: Sat Dec 03, 2016 4:44 pm    Post subject: dev-python/cryptography-1.5.2::gentoo failed Reply with quote

dev-python/cryptography-1.5.2::gentoo failed. Not sure what to do next. I looked at the working location and there are 3 folders. My knowledge on what to do is very limited. I have been running gentoo for years but I just normally follow the handbook and the ebuilds just work.
Code:

/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2
/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7
/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python3_4
Code:
emerge -pqv '=dev-python/cryptography-1.5.2::gentoo'
[ebuild     U ] dev-python/cryptography-1.5.2 [1.3.4] USE="(-libressl) {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-python3_5) (-python3_3%)"


Here is the output from emerge --info '=dev-python/cryptography-1.5.2::gentoo'
Code:

Portage 2.3.0 (python 3.4.5-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.22-r4, 4.8.3-x86_64-linode76 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.3-x86_64-linode76-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v3_@_2.50GHz-with-gentoo-2.2
KiB Mem:     2045272 total,    427756 free
KiB Swap:     262140 total,    262132 free
Timestamp of repository gentoo: Sat, 03 Dec 2016 14:30:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 apache2 berkdb bindist bzip2 cli cracklib crypt cxx dri gdbm hardened iconv ipv6 justify ldap mmx mmxext modules multilib ncurses nls nptl openmp pam pax_kernel pcre pie readline seccomp session sse sse2 ssl ssp svn tcpd unicode urandom xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Build.log
Code:


 * Package:    dev-python/cryptography-1.5.2
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking cryptography-1.5.2.tar.gz to /var/tmp/portage/dev-python/cryptography-1.5.2/work
>>> Source unpacked in /var/tmp/portage/dev-python/cryptography-1.5.2/work
>>> Preparing source in /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography
copying src/cryptography/__about__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography
copying src/cryptography/utils.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography
copying src/cryptography/exceptions.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography
copying src/cryptography/fernet.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography
copying src/cryptography/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
copying src/cryptography/x509/extensions.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
copying src/cryptography/x509/base.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
copying src/cryptography/x509/oid.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
copying src/cryptography/x509/general_name.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
copying src/cryptography/x509/name.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
copying src/cryptography/x509/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/x509
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/multibackend.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/serialization.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/openssl
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/commoncrypto
copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/backends/commoncrypto
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/kdf
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/twofactor
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/ciphers
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/asymmetric
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/interfaces
copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/primitives/interfaces
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/openssl
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/commoncrypto
copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/commoncrypto
copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/commoncrypto
running egg_info
writing requirements to /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/requires.txt
writing /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/PKG-INFO
writing top-level names to /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/top_level.txt
writing dependency_links to /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/dependency_links.txt
writing entry points to /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/entry_points.txt
reading manifest file '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/cryptography.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
generating cffi module '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_padding.c'
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7
generating cffi module '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_constant_time.c'
generating cffi module '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_openssl.c'
building '_openssl' extension
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7
creating /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_openssl.c -o /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_openssl.o
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_openssl.o -L/usr/lib64 -lssl -lcrypto -lpython2.7 -o /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/_openssl.so
building '_constant_time' extension
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_constant_time.c -o /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_constant_time.o
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_constant_time.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/_constant_time.so
building '_padding' extension
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_padding.c -o /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_padding.o
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/temp.linux-x86_64-2.7/_padding.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2-python2_7/lib/cryptography/hazmat/bindings/_padding.so
 * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.4 setup.py build
Traceback (most recent call last):
  File "setup.py", line 334, in <module>
    **keywords_with_side_effects(sys.argv)
  File "/usr/lib64/python3.4/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib64/python3.4/site-packages/setuptools/dist.py", line 272, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib64/python3.4/distutils/dist.py", line 280, in __init__
    self.finalize_options()
  File "/usr/lib64/python3.4/site-packages/setuptools/dist.py", line 327, in finalize_options
    ep.load()(self, ep.name, value)
  File "/usr/lib64/python3.4/site-packages/cffi/setuptools_ext.py", line 161, in cffi_modules
    add_cffi_module(dist, cffi_module)
  File "/usr/lib64/python3.4/site-packages/cffi/setuptools_ext.py", line 48, in add_cffi_module
    execfile(build_file_name, mod_vars)
  File "/usr/lib64/python3.4/site-packages/cffi/setuptools_ext.py", line 24, in execfile
    exec(code, glob, glob)
  File "src/_cffi_src/build_openssl.py", line 81, in <module>
    extra_link_args=extra_link_args(compiler_type()),
  File "src/_cffi_src/utils.py", line 61, in build_ffi_for_binding
    extra_link_args=extra_link_args,
  File "src/_cffi_src/utils.py", line 69, in build_ffi
    ffi = FFI()
  File "/usr/lib64/python3.4/site-packages/cffi/api.py", line 56, in __init__
    import _cffi_backend as backend
ImportError: No module named '_cffi_backend'
 * ERROR: dev-python/cryptography-1.5.2::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 3649:  Called distutils-r1_src_compile
 *   environment, line  932:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  337:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3184:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2293:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2291:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  599:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  923:  Called distutils-r1_python_compile
 *   environment, line  798:  Called esetup.py 'build'
 *   environment, line 1429:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/cryptography-1.5.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/cryptography-1.5.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/cryptography-1.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/cryptography-1.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2'
 * S: '/var/tmp/portage/dev-python/cryptography-1.5.2/work/cryptography-1.5.2'


[Moderator edit: added [code] tags to preserve output layout. Deleted OP's use of very long dashed lines because they disrupted the page layout. -Hu]
Back to top
View user's profile Send private message
apenhorwood
n00b
n00b


Joined: 03 Dec 2016
Posts: 2

PostPosted: Sun Dec 04, 2016 3:28 am    Post subject: Reply with quote

Not sure why I have never had this issue before but this seemed to fix the issue.
---------------------------------------------------------------------------------------------

For several years, Gentoo has been patching python3 in a way that is
incompatible with PEP 3149 [1]. Gentoo has been enabling the PyMalloc feature,
but our python packages have not carried the appropriate ABI flag.

We have removed this patch from the most recent dev-lang/python ebuilds at
the time of this writing. One result of this is that any packages which
install python extension modules must be rebuilt.

You should rebuild affected packages using the following commands.

emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so')
emerge -1v /usr/include/python3.{3,4,5}

You may experience build failures in related packages until this has been
completed.

References:
[1] https://www.python.org/dev/peps/pep-3149/
Back to top
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Tue Dec 06, 2016 3:08 am    Post subject: Reply with quote

I can confirm that I had the exact same issue and the posted solution fixed it.

The latest version of cryptography, dev-python/cryptography-1.5.2, was successfully merged as a part of the first step:
Code:
emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so')
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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