From owner-svn-ports-head@freebsd.org Fri Jan 5 20:02:06 2018 Return-Path: Delivered-To: svn-ports-head@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 2D09BEBD7FD; Fri, 5 Jan 2018 20:02:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 075BD7B853; Fri, 5 Jan 2018 20:02:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w05K25EA060466; Fri, 5 Jan 2018 20:02:05 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w05K24Yq059767; Fri, 5 Jan 2018 20:02:04 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201801052002.w05K24Yq059767@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 5 Jan 2018 20:02:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458167 - in head: databases/py-psycopg2cffi devel/py-atomiclong devel/py-pygit2 devel/py-pyopencl devel/py-xattr multimedia/py-librtmp net/py-nnpy security/py-bcrypt security/py-crypto... X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head: databases/py-psycopg2cffi devel/py-atomiclong devel/py-pygit2 devel/py-pyopencl devel/py-xattr multimedia/py-librtmp net/py-nnpy security/py-bcrypt security/py-cryptography security/py-pynacl X-SVN-Commit-Revision: 458167 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 20:02:06 -0000 Author: yuri Date: Fri Jan 5 20:02:03 2018 New Revision: 458167 URL: https://svnweb.freebsd.org/changeset/ports/458167 Log: Corrected shared library names that got the .abi3 suffix for python-36 and up after devel/py-cffi upgrade to 1.11.2 This is the followup for the r457997 commit that updated devel/py-cffi to 1.11.2. As it turned out, the shared object names built by py-cffi has changed in python 36. Dependent ports can choose between installing such shared object as part of their plist, or generating them in the runtime and placing them into ~/.cache/{port-name}/ The former ones, that include the shared objects in their plist, got affected. 4 of the ports were failing explicitly in their py36 flavor during the strip phase. The other 6 were either missing strip entirely, or performed the strip operation without using explicit shared object names. These 6 ports didn't trigger any build errors, and were failing silently during the runtime, making the problem very hard to detect. Precisely, .abi3 suffix is now added for the py36 flavor of relevant ports. Here are the 10 ports that got affected and are now corrected: databases/py-psycopg2cffi devel/py-pygit2 devel/py-xattr devel/py-pyopencl devel/py-atomiclong multimedia/py-librtmp net/py-nnpy security/py-bcrypt security/py-cryptography security/py-pynacl All of them got the * in the stripped shared object name, and a PORTREVISION bump. Modified: head/databases/py-psycopg2cffi/Makefile head/devel/py-atomiclong/Makefile head/devel/py-pygit2/Makefile head/devel/py-pyopencl/Makefile head/devel/py-xattr/Makefile head/multimedia/py-librtmp/Makefile head/net/py-nnpy/Makefile head/security/py-bcrypt/Makefile head/security/py-cryptography/Makefile head/security/py-pynacl/Makefile Modified: head/databases/py-psycopg2cffi/Makefile ============================================================================== --- head/databases/py-psycopg2cffi/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/databases/py-psycopg2cffi/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -2,6 +2,7 @@ PORTNAME= psycopg2cffi DISTVERSION= 2.7.7 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,6 +20,6 @@ USES= pgsql python USE_PYTHON= autoplist distutils post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl/_libpq.so + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl/_libpq*.so .include Modified: head/devel/py-atomiclong/Makefile ============================================================================== --- head/devel/py-atomiclong/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/devel/py-atomiclong/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -2,7 +2,7 @@ PORTNAME= atomiclong PORTVERSION= 0.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,6 +21,9 @@ USE_PYTHON= autoplist distutils post-patch: @${REINPLACE_CMD} '/setup_requires/d' ${WRKSRC}/${PYSETUP} + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_cffi__*.so do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) Modified: head/devel/py-pygit2/Makefile ============================================================================== --- head/devel/py-pygit2/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/devel/py-pygit2/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -3,6 +3,7 @@ PORTNAME= pygit2 PORTVERSION= 0.26.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,6 +28,6 @@ do-test: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_TEST_TARGET} ${PYDISTUTILS_TESTARGS}) post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2.so + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pygit2.so ${STAGEDIR}${PYTHON_SITELIBDIR}/pygit2/_libgit2*.so .include Modified: head/devel/py-pyopencl/Makefile ============================================================================== --- head/devel/py-pyopencl/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/devel/py-pyopencl/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -2,6 +2,7 @@ PORTNAME= pyopencl PORTVERSION= 2017.2.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/devel/py-xattr/Makefile ============================================================================== --- head/devel/py-xattr/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/devel/py-xattr/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -3,6 +3,7 @@ PORTNAME= xattr PORTVERSION= 0.9.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,5 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/ USES= python USE_PYTHON= distutils autoplist + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xattr/_lib*.so .include Modified: head/multimedia/py-librtmp/Makefile ============================================================================== --- head/multimedia/py-librtmp/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/multimedia/py-librtmp/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -3,6 +3,7 @@ PORTNAME= librtmp PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= multimedia python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -28,5 +29,8 @@ USE_PYTHON= autoplist distutils .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch@${FLAVOR} .endif + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/librtmp/_librtmp*.so .include Modified: head/net/py-nnpy/Makefile ============================================================================== --- head/net/py-nnpy/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/net/py-nnpy/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -2,6 +2,7 @@ PORTNAME= nnpy PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,5 +18,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= python USE_PYTHON= autoplist distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nnpy*.so .include Modified: head/security/py-bcrypt/Makefile ============================================================================== --- head/security/py-bcrypt/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/security/py-bcrypt/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -3,6 +3,7 @@ PORTNAME= bcrypt PORTVERSION= 3.1.4 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -23,6 +24,6 @@ do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt*.so .include Modified: head/security/py-cryptography/Makefile ============================================================================== --- head/security/py-cryptography/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/security/py-cryptography/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -3,6 +3,7 @@ PORTNAME= cryptography PORTVERSION= 2.0.3 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/security/py-pynacl/Makefile ============================================================================== --- head/security/py-pynacl/Makefile Fri Jan 5 19:37:51 2018 (r458166) +++ head/security/py-pynacl/Makefile Fri Jan 5 20:02:03 2018 (r458167) @@ -3,6 +3,7 @@ PORTNAME= pynacl DISTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -29,7 +30,7 @@ BUNDLED_NACL_LIB_DEPENDS_OFF= libsodium.so:security/li BUNDLED_NACL_MAKE_ENV_OFF= SODIUM_INSTALL=system post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_sodium.so + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_sodium*.so do-test: @cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs tests