Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-python/cryptography fails to build
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
vrghost
n00b
n00b


Joined: 03 Oct 2003
Posts: 48
Location: London

PostPosted: Mon Nov 20, 2017 7:36 pm    Post subject: dev-python/cryptography fails to build Reply with quote

[Moderator note: this post was originally a resurrection of dev-python/cryptography-2.0.2-r1 fails to emerge (SOLVED) as a Me-too, but is not the same issue. -Hu]

Got the same issue, and rebuild did not seem to fix it

Code:
* Messages for package dev-python/pycparser-2.14:

 * Package:    dev-python/pycparser-2.14
 * 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
 * python2_7: running distutils-r1_run_phase python_compile
 * python3_4: running distutils-r1_run_phase python_compile
 * python2_7: running distutils-r1_run_phase distutils-r1_python_install
 * python3_4: running distutils-r1_run_phase distutils-r1_python_install
 * python3_4: running distutils-r1_run_phase distutils-r1_python_install_all
 * Final size of build directory: 2524 KiB (2.4 MiB)
 * Final size of installed tree:  2636 KiB (2.5 MiB)

 * Messages for package dev-python/cffi-1.9.1:

 * Package:    dev-python/cffi-1.9.1
 * 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
 * Will copy sources from /var/tmp/portage/dev-python/cffi-1.9.1/work/cffi-1.9.1
 * python2_7: copying to /var/tmp/portage/dev-python/cffi-1.9.1/work/cffi-1.9.1-python2_7
 * python3_4: copying to /var/tmp/portage/dev-python/cffi-1.9.1/work/cffi-1.9.1-python3_4
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
 * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
 * python3_4: running distutils-r1_run_phase python_compile_all
 * python2_7: running distutils-r1_run_phase distutils-r1_python_install
 * python3_4: running distutils-r1_run_phase distutils-r1_python_install
 * python3_4: running distutils-r1_run_phase python_install_all
 * Final size of build directory: 8668 KiB (8.4 MiB)
 * Final size of installed tree:  2392 KiB (2.3 MiB)

 * Messages for package dev-python/cryptography-2.0.2-r1:

 * Package:    dev-python/cryptography-2.0.2-r1
 * 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
 * python3_4: running distutils-r1_run_phase python_configure_all
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
 * ERROR: dev-python/cryptography-2.0.2-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4105:  Called distutils-r1_src_compile
 *   environment, line 1154:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  366:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3565:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2660:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2658:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  715:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1145:  Called distutils-r1_python_compile
 *   environment, line 1020:  Called esetup.py 'build'
 *   environment, line 1705:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/cryptography-2.0.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/cryptography-2.0.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/cryptography-2.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/cryptography-2.0.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/cryptography-2.0.2-r1/work/cryptography-2.0.2'
 * S: '/var/tmp/portage/dev-python/cryptography-2.0.2-r1/work/cryptography-2.0.2'

 * GNU info directory index is up-to-date.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Tue Nov 21, 2017 7:23 pm    Post subject: Reply with quote

It's really same problem? You can post /var/tmp/portage/dev-python/cryptography-2.0.2-r1/temp/build.log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
vrghost
n00b
n00b


Joined: 03 Oct 2003
Posts: 48
Location: London

PostPosted: Wed Nov 22, 2017 6:00 am    Post subject: Reply with quote

Here is the build log

https://paste.pound-python.org/show/Ngkbc4F5Gp4xlcIDWG6I/

Not certain if there is a way to embed the wgetpaste directly

For good measure, here is the system settings as well
Code:
Portage 2.3.13 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-2700K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:    16411228 total,   8540308 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Tue, 21 Nov 2017 07:00:01 +0000
Head commit of repository gentoo: 40bea2512de7ceaa489d80b1e00e692d785764ae
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0 freedist"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
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/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=9 --load-average=8"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirrors.evowise.com/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
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="X a52 aac acl acpi activities aio alsa alsa-plugin amd64 apache2 audiofile auth_basic berkdb bluetooth branding bzip2 cairo caps cdda cdr cdrw cgi cli consolekit cracklib crypt cups curl cxx dbus declarative device-mapper display-manager divx dri dts dvd dvdr emboss encode equalizer esd exif fam ffmpeg filecaps firefox flac fortran gd gdbm gif glamor glib gnutls gpm hddtemp iconv icu ipv6 jack jpeg json kde keymap kipi kwallet lame lcms ldap libnotify libvirtd lua lua-cairo lvm mad metworkmanager mms mmx mng modules mp3 mp4 mpeg multilib ncurses network nls nptl ogg opengl openmp orc pam pango pcre pdf perl phonon pipelight plasma png policykit ppds pulseaudio python qemu qml qt3support qt4 qt5 rbd readline sasl sddm sdl seccomp semantic-desktop sensors server session smpeg sna sockets spell spice sse sse2 ssl startup-notification svg symlink tci tcpd tiff tls truetype twolame udev udisks unicode upower usb usbredir uxa vde vepa vhost-net virt-network virtfs vnc vorbis wavpack webrtc-aec widgets wxwidgets x264 xattr xcb xcomposite xen xfs xinerama xml xmlrpc xorg xscreensaver xv xvid xvmc 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en_GB" 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 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Wed Nov 22, 2017 6:44 am    Post subject: Reply with quote

It isn't same error, your problem is that portage has unmasked (caused by a bug) openssl-1.1.0 downgrade it to 1.0.2m and your are able to install dev-python/cryptography package
_________________
Questions are guaranteed in life; Answers aren't.
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