From owner-freebsd-ports-bugs@freebsd.org Sun Feb 5 13:59:23 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CF55CD212D for ; Sun, 5 Feb 2017 13:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 632DA3BB for ; Sun, 5 Feb 2017 13:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v15DxN9L064113 for ; Sun, 5 Feb 2017 13:59:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216825] security/py-cryptography: update to 1.7.2, fix build with libressl-devel Date: Sun, 05 Feb 2017 13:59:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@anongoth.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2017 13:59:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216825 Bug ID: 216825 Summary: security/py-cryptography: update to 1.7.2, fix build with libressl-devel Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: koobs@FreeBSD.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(koobs@FreeBSD.org) Assignee: koobs@FreeBSD.org Created attachment 179645 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179645&action= =3Dedit patch The port currently fails with: 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.3-RELEASE-p7-amd64-2.7/_openssl.c -o build/temp.freebsd-10.3-RELEASE-p7-amd64-2.7/build/temp.freebsd-10.3-RELEAS= E-p7-amd64-2.7/_openssl.o build/temp.freebsd-10.3-RELEASE-p7-amd64-2.7/_openssl.c:3413:19: error: expected identifier or '(' static const long X509_V_ERR_HOSTNAME_MISMATCH =3D 0; ^ /usr/local/include/openssl/x509_vfy.h:357:41: note: expanded from macro 'X509_V_ERR_HOSTNAME_MISMATCH' #define X509_V_ERR_HOSTNAME_MISMATCH 62 ^ build/temp.freebsd-10.3-RELEASE-p7-amd64-2.7/_openssl.c:3414:19: error: expected identifier or '(' static const long X509_V_ERR_EMAIL_MISMATCH =3D 0; ^ /usr/local/include/openssl/x509_vfy.h:358:38: note: expanded from macro 'X509_V_ERR_EMAIL_MISMATCH' #define X509_V_ERR_EMAIL_MISMATCH 63 ^ build/temp.freebsd-10.3-RELEASE-p7-amd64-2.7/_openssl.c:3415:19: error: expected identifier or '(' static const long X509_V_ERR_IP_ADDRESS_MISMATCH =3D 0; ^ /usr/local/include/openssl/x509_vfy.h:359:43: note: expanded from macro 'X509_V_ERR_IP_ADDRESS_MISMATCH' #define X509_V_ERR_IP_ADDRESS_MISMATCH 64 ^ 3 errors generated. error: command 'cc' failed with exit status 1 *** Error code 1 The attached patch fixes those errors, allowing the port to build properly. This patch is from https://github.com/openbsd/ports/blob/master/security/py-cryptography/patch= es/patch-src__cffi_src_openssl_x509_vfy_py Since it removes some code, it's only applied when libressl-devel is the default library. It builds fine on Poudriere on 11.0. --=20 You are receiving this mail because: You are the assignee for the bug.=