| View previous topic :: View next topic |
| Author |
Message |
huelter n00b

Joined: 16 Sep 2015 Posts: 14
|
Posted: Thu Jun 30, 2016 4:53 am Post subject: |
|
|
also having this error:
| Code: | i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c -o /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.o
/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:2096:15: error: ‘SSLv2_method’ redeclared as different kind of symbol
SSL_METHOD* (*SSLv2_method)(void) = NULL;
^
In file included from /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:520:0:
/usr/include/openssl/ssl.h:2349:19: note: previous declaration of ‘SSLv2_method’ was here
const SSL_METHOD *SSLv2_method(void); /* SSLv2 */
^
/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:2097:15: error: ‘SSLv2_client_method’ redeclared as different kind of symbol
SSL_METHOD* (*SSLv2_client_method)(void) = NULL;
^
In file included from /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:520:0:
/usr/include/openssl/ssl.h:2351:19: note: previous declaration of ‘SSLv2_client_method’ was here
const SSL_METHOD *SSLv2_client_method(void); /* SSLv2 */
^
/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:2098:15: error: ‘SSLv2_server_method’ redeclared as different kind of symbol
SSL_METHOD* (*SSLv2_server_method)(void) = NULL;
^
In file included from /var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2-python2_7/temp.linux-i686-2.7/_openssl.c:520:0:
/usr/include/openssl/ssl.h:2350:19: note: previous declaration of ‘SSLv2_server_method’ was here
const SSL_METHOD *SSLv2_server_method(void); /* SSLv2 */
^
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
* ERROR: dev-python/cryptography-1.1.2::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 133: Called src_compile
* environment, line 3577: Called distutils-r1_src_compile
* environment, line 873: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 293: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3112: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2221: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2219: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 560: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 864: Called distutils-r1_python_compile
* environment, line 739: Called esetup.py 'build'
* environment, line 1365: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/cryptography-1.1.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/cryptography-1.1.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2'
* S: '/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2'
>>> Failed to emerge dev-python/cryptography-1.1.2, Log file:
>>> '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/build.log'
* Messages for package dev-python/cryptography-1.1.2:
* ERROR: dev-python/cryptography-1.1.2::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 133: Called src_compile
* environment, line 3577: Called distutils-r1_src_compile
* environment, line 873: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 293: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3112: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2221: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2219: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 560: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 864: Called distutils-r1_python_compile
* environment, line 739: Called esetup.py 'build'
* environment, line 1365: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/cryptography-1.1.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/cryptography-1.1.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/cryptography-1.1.2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2'
* S: '/var/tmp/portage/dev-python/cryptography-1.1.2/work/cryptography-1.1.2'
|
| Code: |
localserver external_hd # eselect python list
Available Python interpreters:
[1] python2.7
[2] python3.4 *
localserver external_hd # emerge --info dev-python/cryptography
Portage 2.2.28 (python 3.4.3-final-0, default/linux/x86/13.0, gcc-4.9.3, glibc-2.22-r4, 4.1.12-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-4.1.12-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-2.2
KiB Mem: 1285896 total, 197360 free
KiB Swap: 2097148 total, 2087784 free
Timestamp of repository gentoo: Thu, 30 Jun 2016 03:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r1::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 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="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ rsync://gentoo.c3sl.ufpr.br/gentoo/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 acl alsa berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gnome-keyring iconv ipv6 lm_sensors modules ncurses nls nptl openmp pam pcre pulseaudio readline seccomp session ssl tcpd unicode vaapi vdpau x86 xattr zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" 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="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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon r300" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
=================================================================
Package Settings
=================================================================
dev-python/cryptography-1.1.2::gentoo was built with the following:
USE="(-libressl) -test" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3 -python3_5"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" |
|
|
| Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Jun 30, 2016 2:18 pm Post subject: |
|
|
huelter ...
please post the outout of 'emerge -pvq dev-libs/openssl'.
best ... khay |
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2979 Location: Edge of marsh USA
|
Posted: Fri Jul 01, 2016 1:20 am Post subject: |
|
|
Me too. Same error.
| Quote: | emerge -pvq dev-libs/openssl
[ebuild R ] dev-libs/openssl-1.0.2h-r2 USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs {-test} -vanilla" CPU_FLAGS_X86="sse2"
|
I reinstalled dev-libs/openssl just in case, but still cannot reinstall cryptography. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
kaari n00b

Joined: 01 Jul 2016 Posts: 1 Location: finland
|
Posted: Fri Jul 01, 2016 6:49 am Post subject: |
|
|
| figueroa wrote: | Me too. Same error.
| Quote: | emerge -pvq dev-libs/openssl
[ebuild R ] dev-libs/openssl-1.0.2h-r2 USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs {-test} -vanilla" CPU_FLAGS_X86="sse2"
|
I reinstalled dev-libs/openssl just in case, but still cannot reinstall cryptography. |
Got it working by putting packake.use sslv2, then reinstalled openssl. |
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2979 Location: Edge of marsh USA
|
Posted: Fri Jul 01, 2016 7:25 pm Post subject: |
|
|
I got dev-python/cryptography to compile by doing what kaari reported:
| Quote: | | Got it working by putting packake.use sslv2, then reinstalled openssl. |
This solution, for which I am grateful, seems incomprehensible. The package dev-python/cryptography compiled just fine earlier this week another server, a near clone of the one where it would not compile, with openssl use -sslv2.
Apparently, a recent change to the openssl ebuild removed use sslv2 (by adding sslv3) and the change is not compatible with dev-python/cryptography. There is a hint to this effect, though it is not clear, at /usr/portage/dev-libs/openssl/ChangeLog and the ebuilds for version r1 and r2.
Additional: I have confirmed on my primary server that dev-python/cryptography will no longer compile without adding use sslv2 to dev-libs/openssl, although it compiled just fine on Tuesday without the need for any tweaks.
This issue should soon bite all users who need dev-python/cryptography.
Recommend this be marked SOLVED. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Last edited by figueroa on Fri Jul 01, 2016 9:02 pm; edited 1 time in total |
|
| Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jul 01, 2016 7:47 pm Post subject: |
|
|
| figueroa wrote: | | This issue should soon bite all users who need dev-python/cryptography. |
figueroa ... this being the case then its a bug and should be reported (note that cryptography-1.3.1 is currently being stablized ... and may perhaps resolve the issue, though the ebuild, and changelog, doesn't suggest this is the reason for stablisation).
best ... khay |
|
| Back to top |
|
 |
limn l33t

Joined: 13 May 2005 Posts: 997
|
Posted: Fri Jul 01, 2016 8:57 pm Post subject: |
|
|
| cryptography-1.3.1 will compile with openssl-1.0.2h-r2 without the sslv2 flag enabled. |
|
| Back to top |
|
 |
solamour l33t


Joined: 21 Dec 2004 Posts: 715 Location: San Diego, CA
|
Posted: Thu Jul 07, 2016 9:26 pm Post subject: |
|
|
I guess I could have added "sslv2" to "openssl", but I wasn't sure what others are depending on "openssl" (must be more than a few), so I just added "dev-python/cryptography ~x86" to "/etc/portage/package.keywords" to get the latest version (dev-python/cryptography-1.3.4). Considering that cryptography-1.3.1 is marked as stable in amd64, I hope it's not long before the same version in x86 gets stable.
__
sol |
|
| Back to top |
|
 |
limn l33t

Joined: 13 May 2005 Posts: 997
|
Posted: Fri Jul 08, 2016 4:44 pm Post subject: |
|
|
Or,
| Code: | $ grep crypt /etc/portage/package.keywords
=dev-python/cryptography-1.3.1 ~x86
|
Though I read in the portage man page that "package.accept_keywords is intended to replace the package.keywords." |
|
| 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
|
|