Bug 207648

Summary: security/py-cryptography-1.0.2_3 build fails
Product: Ports & Packages Reporter: p5B2EA84B3
Component: Individual Port(s)Assignee: Kubilay Kocak <koobs>
Status: Closed DUPLICATE    
Severity: Affects Only Me Flags: koobs: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description p5B2EA84B3 2016-03-02 17:11:25 UTC
After openssl 1.0.2_9 update to 1.0.2g py27-cryptography build fails.

From Poudriere logfile:
=======================<phase: build          >============================
===>  Building for py27-cryptography-1.0.2_3
running build
running build_py
creating build
creating build/lib.freebsd-10.2-RELEASE-amd64-2.7
//---snip---//
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-10.2-RELEASE-amd64-2.7/_openssl.c -o build/temp.freebsd-10.2-RELEASE-amd64-2.7/build/temp.freebsd-10.2-RELEASE-amd64-2.7/_openssl.o
build/temp.freebsd-10.2-RELEASE-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
====>> Cleaning up wrkdir
===>  Cleaning for py27-cryptography-1.0.2_3
build of security/py-cryptography ended at Wed Mar  2 02:19:00 CET 2016
build time: 00:00:34
!!! build failure encountered !!!
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-03-02 17:16:14 UTC

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