Bug 207624 - security/py-cryptography: Fails to build after OpenSSL 1.0.2g update
Summary: security/py-cryptography: Fails to build after OpenSSL 1.0.2g update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kubilay Kocak
URL:
Keywords: regression
: 207648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-01 20:42 UTC by Pierre Guinoiseau
Modified: 2016-03-02 17:19 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Guinoiseau 2016-03-01 20:42:29 UTC
Fails to build in poudriere after the openssl update to 1.0.2_9:

  building '_openssl' extension
  creating build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7/build
  creating build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7/build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7
  cc -DNDEBUG -O2 -pipe -march=core2 -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7/_openssl.c -o build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7/build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7/_openssl.o
  build/temp.freebsd-10.2-RELEASE-p10-amd64-2.7/_openssl.c:687:6: error: conflicting types for 'BIO_new_mem_buf'
  BIO *BIO_new_mem_buf(void *, int);
       ^
  /usr/local/include/openssl/bio.h:692:6: note: previous declaration is here
  BIO *BIO_new_mem_buf(const void *buf, int len);
       ^
  1 error generated.
  error: command 'cc' failed with exit status 1
  *** Error code 1

  Stop.
  make: stopped in /usr/ports/security/py-cryptography
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-03-02 17:15:21 UTC
A commit references this bug:

Author: koobs
Date: Wed Mar  2 17:14:24 UTC 2016
New revision: 409954
URL: https://svnweb.freebsd.org/changeset/ports/409954

Log:
  security/py-cryptography: Fix build with OpenSSL 1.0.2g

  Backport upstream commit [1] fixing build failures after the OpenSSL
  1.0.2g update

  [1] https://github.com/pyca/cryptography/commit/df779dfec9ce87b79e48448aea3c597a4716b29e

  PR:		207624
  Reported by:	matthew, Pierre Guinoiseau <pierre guinoiseau eu>
  MFH:		2016Q1

Changes:
  head/security/py-cryptography/Makefile
  head/security/py-cryptography/files/patch-64c9d893
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2016-03-02 17:16:14 UTC
*** Bug 207648 has been marked as a duplicate of this bug. ***
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-03-02 17:18:23 UTC
A commit references this bug:

Author: koobs
Date: Wed Mar  2 17:17:31 UTC 2016
New revision: 409955
URL: https://svnweb.freebsd.org/changeset/ports/409955

Log:
  MFH: r409954: security/py-cryptography: Fix build with OpenSSL 1.0.2g

  Backport upstream commit [1] fixing build failures after the OpenSSL
  1.0.2g update

  [1] https://github.com/pyca/cryptography/commit/df779dfec9ce87b79e48448aea3c597a4716b29e

  PR:		207624
  Reported by:	matthew, Pierre Guinoiseau <pierre guinoiseau eu>

  Approved by:	ports-secteam (blanket)

Changes:
_U  branches/2016Q1/
  branches/2016Q1/security/py-cryptography/Makefile
  branches/2016Q1/security/py-cryptography/files/patch-64c9d893
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2016-03-02 17:19:12 UTC
Committed to HEAD & quarterly. 

Thank you for your report Pierre