Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 608358

Summary: dev-python/cryptography-1.7.1 : /.../_openssl.c:3418:19: error: expected identifier or ‘(’ before numeric constant
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:cryptography-1.7.1:20170205-193900.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2017-02-05 19:58:54 UTC
                 from /usr/include/openssl/engine.h:96,
                 from /var/tmp/portage/dev-python/cryptography-1.7.1/work/cryptography-1.7.1-python2_7/temp.linux-x86_64-2.7/_openssl.c:518:
/var/tmp/portage/dev-python/cryptography-1.7.1/work/cryptography-1.7.1-python2_7/temp.linux-x86_64-2.7/_openssl.c:3418:19: error: expected identifier or ‘(’ before numeric constant
 static const long X509_V_ERR_HOSTNAME_MISMATCH = 0;
                   ^

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named hardened-no-multilib-libressl-unstable_20170204-152815) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-02-05 19:58:57 UTC
Created attachment 462564 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-05 19:59:00 UTC
Created attachment 462566 [details]
dev-python:cryptography-1.7.1:20170205-193900.log
Comment 3 Toralf Förster gentoo-dev 2017-02-05 19:59:04 UTC
Created attachment 462568 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-05 19:59:07 UTC
Created attachment 462570 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-05 19:59:10 UTC
Created attachment 462572 [details]
etc.portage.tbz2
Comment 6 Christian Apeltauer 2017-02-12 06:04:28 UTC
https://github.com/pyca/cryptography/issues/3378
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 15:22:34 UTC

*** This bug has been marked as a duplicate of bug 607944 ***