From owner-freebsd-python@FreeBSD.ORG Sun Feb 8 17:45:56 2015 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 327D2753 for ; Sun, 8 Feb 2015 17:45:56 +0000 (UTC) Received: from lb1-smtp-cloud2.xs4all.net (lb1-smtp-cloud2.xs4all.net [194.109.24.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 979C135C for ; Sun, 8 Feb 2015 17:45:55 +0000 (UTC) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud2.xs4all.net with ESMTP id ptkh1p00A07iGuj01tki6m; Sun, 08 Feb 2015 18:44:42 +0100 Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 7197412443; Sun, 8 Feb 2015 18:44:41 +0100 (CET) Date: Sun, 8 Feb 2015 18:44:41 +0100 From: Roland Smith To: freebsd-python@freebsd.org Subject: Updating numpy port to use blaslapack Message-ID: <20150208174441.GA73775@slackbox.erewhon.home> Mail-Followup-To: freebsd-python@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 17:45:56 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After some experimentation I found that openblas can be significantly faster than atlas (at least on AMD64). Combined with the recent introduction of /usr/ports/Mk/Uses/blaslapack.mk it seemed a good idea to update the numpy port to enable the use of openblas or atlas or netlib. A patch to do that is given below. When using openblas, it uses the parallel version. I've tested it with atlas and openblas on 10.1-STABLE AMD64. Portlint gives no errors. Before I submit a PR, I'd like to ask volunteers for testing on other releases/architectures as well as testing with the default netlib BLAS/LAPA= CK. ----- numpy updated to build with blaslapack ----- diff -ruN py-numpy.orig/Makefile py-numpy/Makefile --- py-numpy.orig/Makefile 2015-01-02 17:36:43.000000000 +0100 +++ py-numpy/Makefile 2015-02-08 17:17:34.000000000 +0100 @@ -3,7 +3,7 @@ =20 PORTNAME=3D numpy PORTVERSION=3D 1.9.1 -PORTREVISION=3D 1 +PORTREVISION=3D 2 PORTEPOCH=3D 1 CATEGORIES=3D math python MASTER_SITES=3D http://docs.scipy.org/doc/${PORTNAME}/:doc \ @@ -15,7 +15,7 @@ EXTRACT_ONLY=3D numpy-${PORTVERSION:S/r/rc/}${EXTRACT_SUFX} =20 MAINTAINER=3D python@FreeBSD.org -COMMENT=3D The New Numeric Extension to Python +COMMENT=3D New Numeric Extension to Python =20 LICENSE=3D BSD3CLAUSE =20 @@ -25,9 +25,13 @@ USE_PYTHON=3D concurrent distutils py3kplist LDFLAGS+=3D -shared =20 -OPTIONS_DEFINE=3D ATLAS SUITESPARSE DOCS -OPTIONS_DEFAULT=3D SUITESPARSE -ATLAS_DESC=3D Use optimized blas library +OPTIONS_DEFINE=3D SUITESPARSE DOCS +OPTIONS_DEFAULT=3D SUITESPARSE CBLAS +OPTIONS_SINGLE=3D BLAS +OPTIONS_SINGLE_BLAS=3D CBLAS OPENBLAS ATLAS +CBLAS_DESC=3D Use math/cblas as BLAS library +OPENBLAS_DESC=3D Use math/openblas as (optimized) BLAS library +ATLAS_DESC=3D Use math/atlas as (optimized) BLAS library SUITESPARSE_DESC=3D Use AMD and UMFPACK in SuiteSparse =20 PYDISTUTILS_CONFIGUREARGS+=3D --fcompiler=3Dgnu95 @@ -36,9 +40,9 @@ PORTDOCS=3D * WRKSRC=3D ${WRKDIR}/${DISTNAME:S/r/rc/} =20 -ATLAS_LIB_DEPENDS=3D libatlas.so:${PORTSDIR}/math/atlas -ATLAS_LIB_DEPENDS_OFF=3D libblas.so:${PORTSDIR}/math/blas \ - liblapack.so:${PORTSDIR}/math/lapack +ATLAS_USES=3D blaslapack:atlas +OPENBLAS_USES=3D blaslapack:openblas +CBLAS_USES=3D blaslapack SUITESPARSE_LIB_DEPENDS=3Dlibumfpack.so:${PORTSDIR}/math/suitesparse =20 .include @@ -50,21 +54,21 @@ =20 post-patch: ${REINPLACE_CMD} -e "s+%%FC%%+${FC}+" ${WRKSRC}/numpy/distutils/fcompiler= /gnu.py - ${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg - -GCCLIBDIR_CMDS=3D ${FC} -print-file-name=3Dlibgfortran.so|${SED} -e s/libg= fortran.so// - -pre-configure: .if ${PORT_OPTIONS:MATLAS} - @${REINPLACE_CMD} -e "s+%%ATLASLIBS%%+alapack, f77blas, cblas, atlas+" ${= WRKSRC}/site.cfg + ${CP} ${FILESDIR}/site.cfg.atlas ${WRKSRC}/site.cfg +.elif ${PORT_OPTIONS:MOPENBLAS} + ${CP} ${FILESDIR}/site.cfg.openblas ${WRKSRC}/site.cfg .else - @${REINPLACE_CMD} -e "s+%%ATLASLIBS%%+lapack, blas+" ${WRKSRC}/site.cfg + ${CP} ${FILESDIR}/site.cfg.cblas ${WRKSRC}/site.cfg .endif +GCCLIBDIR_CMDS=3D ${FC} -print-file-name=3Dlibgfortran.so|${SED} -e s/libg= fortran.so// + +pre-configure: .if !${PORT_OPTIONS:MSUITESPARSE} @${REINPLACE_CMD} -e "s+:%%LOCALBASE%%/include/suitesparse++" ${WRKSRC}/s= ite.cfg .endif @${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+$$(${GCCLIBDIR_CMDS})+" \ - -e "s+%%LOCALBASE%%+${LOCALBASE}+g" \ + -e "s+%%LOCALBASE%%+${LOCALBASE}+g" \ ${WRKSRC}/site.cfg @${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+$$(${GCCLIBDIR_CMDS})+" ${WRKSRC}/n= umpy/distutils/system_info.py =20 diff -ruN py-numpy.orig/files/site.cfg py-numpy/files/site.cfg --- py-numpy.orig/files/site.cfg 2015-01-02 17:36:43.000000000 +0100 +++ py-numpy/files/site.cfg 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -[DEFAULT] -lapack_type=3Datlas -library_dirs =3D /usr/lib:%%LOCALBASE%%/lib:%%GCCLIBDIR%% -include_dirs =3D /usr/include:%%LOCALBASE%%/include:%%LOCALBASE%%/include/= suitesparse -src_dirs =3D %%LOCALBASE%%/src -# search static libraries (.a) in preference to shared ones (.so) -search_static_first =3D 0 -[atlas] -library_dirs =3D %%LOCALBASE%%/lib:%%GCCLIBDIR%% -atlas_libs =3D %%ATLASLIBS%% diff -ruN py-numpy.orig/files/site.cfg.atlas py-numpy/files/site.cfg.atlas --- py-numpy.orig/files/site.cfg.atlas 1970-01-01 01:00:00.000000000 +0100 +++ py-numpy/files/site.cfg.atlas 2015-02-08 17:19:17.000000000 +0100 @@ -0,0 +1,9 @@ +[DEFAULT] +lapack_type=3Datlas +library_dirs =3D /usr/lib:%%LOCALBASE%%/lib:%%GCCLIBDIR%% +include_dirs =3D /usr/include:%%LOCALBASE%%/include:%%LOCALBASE%%/include/= suitesparse +src_dirs =3D %%LOCALBASE%%/src +search_static_first =3D 0 +[atlas] +library_dirs =3D %%LOCALBASE%%/lib:%%GCCLIBDIR%% +atlas_libs =3D alapack, f77blas, cblas, atlas diff -ruN py-numpy.orig/files/site.cfg.cblas py-numpy/files/site.cfg.cblas --- py-numpy.orig/files/site.cfg.cblas 1970-01-01 01:00:00.000000000 +0100 +++ py-numpy/files/site.cfg.cblas 2015-02-08 17:19:30.000000000 +0100 @@ -0,0 +1,5 @@ +[DEFAULT] +library_dirs =3D /usr/lib:%%LOCALBASE%%/lib:%%GCCLIBDIR%% +include_dirs =3D /usr/include:%%LOCALBASE%%/include:%%LOCALBASE%%/include/= suitesparse +src_dirs =3D %%LOCALBASE%%/src +search_static_first =3D 0 diff -ruN py-numpy.orig/files/site.cfg.openblas py-numpy/files/site.cfg.ope= nblas --- py-numpy.orig/files/site.cfg.openblas 1970-01-01 01:00:00.000000000 +01= 00 +++ py-numpy/files/site.cfg.openblas 2015-02-08 17:19:39.000000000 +0100 @@ -0,0 +1,9 @@ +[DEFAULT] +lapack_type=3Dopenblas +library_dirs =3D /usr/lib:%%LOCALBASE%%/lib:%%GCCLIBDIR%% +include_dirs =3D /usr/include:%%LOCALBASE%%/include:%%LOCALBASE%%/include/= suitesparse +src_dirs =3D %%LOCALBASE%%/src +search_static_first =3D 0 +[openblas] +libraries =3D openblasp +library_dirs =3D %%LOCALBASE%%/lib:%%GCCLIBDIR%% ----- numpy updated to build with blaslapack ----- --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJU16CJAAoJEED21dyjijPgjVcQAKMQNOhbZQqJUUKCGAaIqaNT beSA2/irix5l7VeZCgUj5gSYsDrKDxYaRK2comuKtG0jIykxLChPIYdM4gSTIFvL XWpAC9xTh46QoaDEEAzNLe1orJCFBq+cqJr4RsME8R+vcVOVUtT6f9cuDLoYRTkY JBy7bxL5kt//2L81GZalE4gokiWSf54jBd9fI8dTakll5hFYwlxMx/5493UWywhQ 2IGTVkJmN0QqRUzpiMm5yMFQhayeHB1c4/I8snssa+ks4QkJXplJw66ayrnSILoe 5gtdbyIMfGon9ZdvHPM3b8NDhhV3zmLcPSU9tURfymW6/QEDcJxUNNmxDUDjR/h9 i7hxoNaH0bhGtbkB5x/XWyxmA9UlWqRn291MRgKiv0la2UFpU//3kWE52/NkgB6d n0XPuNMvoO1up0f1AleBngA5DpLSrDOiJktxghZANBmrMIh6gvFTktcDIW32l57K 43vQ+0dXH5RsaEBEYxILdishbLeMPKBtgAnwGBmgrr13j+8PZ2kCxYmJW2vpo7TU CNyM8vTmPuKgT/Q7k4dJdip9EyxQN298HDYZdQPpTeTzkX8kRKBRhVgyFHG+8QC3 LZPGpjTBzlEToNWBDx7vd17CV0Xwe8bTqAOhQSUH5ZMyHOfwUuu5e7UmmrOLWW18 MvmMESn3IvVhY49v/ARK =kFTV -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From owner-freebsd-python@FreeBSD.ORG Sun Feb 8 21:00:04 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E8A7856 for ; Sun, 8 Feb 2015 21:00:04 +0000 (UTC) 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 3548C9ED for ; Sun, 8 Feb 2015 21:00:04 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t18L04na068977 for ; Sun, 8 Feb 2015 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201502082100.t18L04na068977@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: python@FreeBSD.org Subject: Problem reports for python@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 08 Feb 2015 21:00:04 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 21:00:04 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 185884 | Miscellaneous ports fixes for Python 3 Open | 186316 | [NEW PORT] devel/spyder: Scientific PYthon Develo Open | 196336 | security/py-fail2ban: Support Python 3 3 problems total for which you should take action. From owner-freebsd-python@FreeBSD.ORG Mon Feb 9 20:47:13 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC44DEFF for ; Mon, 9 Feb 2015 20:47:13 +0000 (UTC) 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 C3A8BC7A for ; Mon, 9 Feb 2015 20:47:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t19KlD64005614 for ; Mon, 9 Feb 2015 20:47:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197078] devel/awscli: Update to 1.7.4 Date: Mon, 09 Feb 2015 20:47:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 20:47:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197078 Brad Davis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brd@FreeBSD.org --- Comment #4 from Brad Davis --- Created attachment 152818 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152818&action=edit regenerated patch with svn -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Mon Feb 9 20:48:33 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50A42110 for ; Mon, 9 Feb 2015 20:48:33 +0000 (UTC) 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 3844ECA3 for ; Mon, 9 Feb 2015 20:48:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t19KmXmu006098 for ; Mon, 9 Feb 2015 20:48:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197078] devel/awscli: Update to 1.7.4 Date: Mon, 09 Feb 2015 20:48:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 20:48:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197078 --- Comment #5 from Brad Davis --- Created attachment 152819 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152819&action=edit poudriere build log -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Mon Feb 9 21:00:14 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 290C44E3 for ; Mon, 9 Feb 2015 21:00:14 +0000 (UTC) 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 1077BDB5 for ; Mon, 9 Feb 2015 21:00:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t19L0DTZ051560 for ; Mon, 9 Feb 2015 21:00:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197078] devel/awscli: Update to 1.7.4 Date: Mon, 09 Feb 2015 21:00:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brd@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 21:00:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197078 Brad Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|python@FreeBSD.org |brd@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Wed Feb 11 07:57:08 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0EAD799 for ; Wed, 11 Feb 2015 07:57:08 +0000 (UTC) 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 B6BEE869 for ; Wed, 11 Feb 2015 07:57:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1B7v858086961 for ; Wed, 11 Feb 2015 07:57:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197523] devel/py-robotframework-selenium2library: Update to 1.6.0 Date: Wed, 11 Feb 2015 07:57:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to short_desc keywords bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 07:57:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197523 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-ports-bugs@FreeBSD. |python@FreeBSD.org |org | Summary|[Maintainer Update] |devel/py-robotframework-sel |devel/py-robotframework-sel |enium2library: Update to |enium2library 1.5.0 -> |1.6.0 |1.6.0 | Keywords| |patch, patch-ready Status|New |Open --- Comment #1 from Kubilay Kocak --- Thanks Vladimir! For future submissions, QA results/outputs are highly preferred as attachments, as it means more than one set of eyes with the ability to detect potential issues. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Wed Feb 11 08:25:31 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8272110F for ; Wed, 11 Feb 2015 08:25:31 +0000 (UTC) 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 680EAB9B for ; Wed, 11 Feb 2015 08:25:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1B8PVnd051478 for ; Wed, 11 Feb 2015 08:25:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197376] lang/python27: random module leaks file descriptor into child process Date: Wed, 11 Feb 2015 08:25:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name keywords bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 08:25:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197376 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(python |maintainer-feedback+ |@FreeBSD.org) | Keywords| |needs-patch, needs-qa Status|New |Open --- Comment #2 from Kubilay Kocak --- Ed, Can you reproduce this in python33, python34 and against python upstream branch default? Please also provide uname -a output as attachment -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 00:12:20 2015 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EA557E6 for ; Fri, 13 Feb 2015 00:12:20 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C25F6232 for ; Fri, 13 Feb 2015 00:12:19 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id z11so12595726lbi.8 for ; Thu, 12 Feb 2015 16:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=XoZIK7YHa1oZc/sRgT2NAFxDO8tsp7vJGq6OhVSSTj0=; b=DZwZXRGaGUQanCVOOBBcmTFpVBWGjOw7yh2zUpOeJDnyriCYgioeLFCnChvZ2QWjKp 5L3LhBSHMJVzv/Os7mXIakcQ5iU5HV/rp9/DeFeT+LFaXVq7h0dfOLvFF1E3KQrPi8+n LY3szvxF2/UgaqIvVA0WfTk377W2NvZkuYcUOcly2rxyn+voWksjdkxr+I0gkusgKXpo i/g9jr5R7V8kEFjh9l2GUJypB6bR68o98cXyUwQ3E7LAeZ9CKDZrVpAEtrlJ9CKq94Hw ORUANKdE6INvwdRtUOLYlHHJzyvzLZjrM/NlUtMVi7/0iOshyv/vM8Tg6PyFCxvFjShj 6oGA== MIME-Version: 1.0 X-Received: by 10.152.87.84 with SMTP id v20mr5464541laz.81.1423786337414; Thu, 12 Feb 2015 16:12:17 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.28.40 with HTTP; Thu, 12 Feb 2015 16:12:17 -0800 (PST) Date: Thu, 12 Feb 2015 16:12:17 -0800 X-Google-Sender-Auth: NB1cyWMijVCsNmSDmdAUlVm9Q0Q Message-ID: Subject: ctypes problem loading libc.so on FreeBSD current From: Craig Rodrigues To: freebsd-python@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 00:12:20 -0000 Hi, I am looking at this blog post for loading libc with ctypes: http://blogs.freebsdish.org/rpaulo/2008/11/30/sysctlbyname3-and-others-from-python/ I am using this version of python from ports: Name : python Version : 2.7_2,2 Installed on : Mon Jan 12 22:10:27 PST 2015 Origin : lang/python Architecture : freebsd:11:x86:64 Prefix : /usr/local Categories : python lang ipv6 Licenses : Maintainer : python@FreeBSD.org WWW : http://www.python.org/ Comment : The "meta-port" for the default version of Python interpreter Annotations : repo_type : binary repository : FreeBSD Flat size : 38.0B Description : Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme. This is a meta port to the Python interpreter and provides symbolic links to bin/python, bin/pydoc, bin/idle and so on to allow compatibility with version agnostic python scripts. WWW: http://www.python.org/ I have this test program import ctypes mylib = ctypes.CDLL("libc.so") print(mylib) On FreeBSD 9, this program works, and I get a handle to libc.so. On FreeBSD-CURRENT, I get this: File "a.py", line 3, in mylib = ctypes.CDLL("libc.so") File "/usr/local/lib/python2.7/ctypes/__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) OSError: /usr/lib/libc.so: invalid file format The problem seems to be that on FreeBSD 9, /usr/lib/libc.so is a symlink to /lib/libc.so.7, while on FreeBSD-CURRENT, /usr/lib/libc.so contains this: /* $FreeBSD: head/lib/libc/libc.ldscript 258283 2013-11-17 22:52:17Z peter $ */ GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonshared.a ) Any ideas what the problem is? -- Craig From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 02:54:15 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 989F8D17 for ; Fri, 13 Feb 2015 02:54:15 +0000 (UTC) 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 7FD24634 for ; Fri, 13 Feb 2015 02:54:15 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D2sFZU042165 for ; Fri, 13 Feb 2015 02:54:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] sysutils/py-salt: Update to 2014.7.1 Date: Fri, 13 Feb 2015 02:54:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: christer.edwards@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 02:54:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 --- Comment #5 from christer.edwards@gmail.com --- Apologies for the delay.. I just validated that the requirement for lsof remains in this release. We should be able to remove it in the next feature release, 2015.2.x. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 03:41:37 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06C0C946 for ; Fri, 13 Feb 2015 03:41:37 +0000 (UTC) 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 E1E06BF4 for ; Fri, 13 Feb 2015 03:41:36 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D3fa6a056095 for ; Fri, 13 Feb 2015 03:41:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Fri, 13 Feb 2015 03:41:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 03:41:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sysutils/py-salt: Update to |[MAINTAINER] |2014.7.1 |sysutils/py-salt: Update to | |2014.7.1 --- Comment #6 from Kubilay Kocak --- Thanks Christer, can you attach QA (portlint / poudriere) results for the attached please -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 03:56:19 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3ED4FCFE for ; Fri, 13 Feb 2015 03:56:19 +0000 (UTC) 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 262C1D07 for ; Fri, 13 Feb 2015 03:56:19 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D3uJhY072039 for ; Fri, 13 Feb 2015 03:56:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Fri, 13 Feb 2015 03:56:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: christer.edwards@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 03:56:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 --- Comment #7 from christer.edwards@gmail.com --- I don't know that I've been asked to attach QA results for previous submissions. Can you tell me more specifically what you're looking for? Do you want the output of 'portlint -A' or 'poudriere testport -j 10amd64 -o sysutils/py-salt-2014.7.1'? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 04:13:14 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2804FDD9 for ; Fri, 13 Feb 2015 04:13:14 +0000 (UTC) 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 0B017E70 for ; Fri, 13 Feb 2015 04:13:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D4DDpu024446 for ; Fri, 13 Feb 2015 04:13:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197376] lang/python27: random module leaks file descriptor into child process Date: Fri, 13 Feb 2015 04:13:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 04:13:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197376 --- Comment #3 from Ed Maste --- It is fixed in python 3.4.2 - see test result below. Looks like the fix[1] is not in 2.x though. The fix is PEP 446 - issue 18571[2] [1] https://github.com/python/cpython/commit/621f57c094e7572bb4aa2734fe7264856921fc27 [2] http://bugs.python.org/issue18571 LLDB people do not see this issue on Linux; I do not yet know if they're using Python 3 or if there's some other difference. Also os.urandom() is sufficient to demonstrate the problem: Python 2.7.9 (default, Jan 8 2015, 21:47:19) [GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.urandom(1) '8' >>> os.system("./a.out") File descriptor 3 is open. 512 >>> feynman% python3 Python 3.4.2 (default, Jan 28 2015, 05:38:04) [GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.urandom(1) b'\x00' >>> os.system("./a.out") 0 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 04:13:39 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87DB0DF4 for ; Fri, 13 Feb 2015 04:13:39 +0000 (UTC) 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 6F00AE72 for ; Fri, 13 Feb 2015 04:13:39 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D4Dd7X024611 for ; Fri, 13 Feb 2015 04:13:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Fri, 13 Feb 2015 04:13:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 04:13:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 --- Comment #8 from Kubilay Kocak --- Christer, They are not strictly compulsory, but issue reports with QA results tend heavily to be triaged, prioritised and committed before others. Moving forward there will be more metadata attributes associated around, and added to incentivizing high quality issue reports, with a view to making them even more quickly discoverable to committers. Regarding what constitutes QA: 1) portlint -AC, and 2) poudriere testport (or bulk -t) 3) software test suite / unit test output With (1) and (2) being the minimum. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 07:50:03 2015 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BD08B22; Fri, 13 Feb 2015 07:50:03 +0000 (UTC) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.29]) (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 DA860860; Fri, 13 Feb 2015 07:50:02 +0000 (UTC) Received: from [89.182.253.61] (helo=localhost) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1YMAtW-0001KP-Jq; Fri, 13 Feb 2015 08:42:34 +0100 Date: Fri, 13 Feb 2015 08:42:33 +0100 From: Marcus von Appen To: Craig Rodrigues Subject: Re: ctypes problem loading libc.so on FreeBSD current Message-ID: <20150213074233.GA1064@medusa.sysfault.org> Reply-To: Marcus von Appen Mail-Followup-To: Craig Rodrigues , freebsd-python@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Df-Sender: MTEyNTc0Mg== Cc: freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 07:50:03 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Fri Feb 13, 2015, Craig Rodrigues wrote: > Hi, > > I am looking at this blog post for loading libc with ctypes: > > http://blogs.freebsdish.org/rpaulo/2008/11/30/sysctlbyname3-and-others-from-python/ > > I am using this version of python from ports: > > > Name : python > Version : 2.7_2,2 > Installed on : Mon Jan 12 22:10:27 PST 2015 > Origin : lang/python > Architecture : freebsd:11:x86:64 > Prefix : /usr/local > Categories : python lang ipv6 > Licenses : > Maintainer : python@FreeBSD.org > WWW : http://www.python.org/ > Comment : The "meta-port" for the default version of Python > interpreter > Annotations : > repo_type : binary > repository : FreeBSD > Flat size : 38.0B > Description : > Python is an interpreted object-oriented programming language, and is > often compared to Tcl, Perl or Scheme. > This is a meta port to the Python interpreter and provides symbolic links > to bin/python, bin/pydoc, bin/idle and so on to allow compatibility with > version agnostic python scripts. > > WWW: http://www.python.org/ > > > > I have this test program > > import ctypes > > mylib = ctypes.CDLL("libc.so") > print(mylib) > > On FreeBSD 9, this program works, and I get a handle to libc.so. > > On FreeBSD-CURRENT, I get this: > > File "a.py", line 3, in > mylib = ctypes.CDLL("libc.so") > File "/usr/local/lib/python2.7/ctypes/__init__.py", line 365, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /usr/lib/libc.so: invalid file format > > > The problem seems to be that on FreeBSD 9, > /usr/lib/libc.so is a symlink to /lib/libc.so.7, while > on FreeBSD-CURRENT, /usr/lib/libc.so contains this: > > /* $FreeBSD: head/lib/libc/libc.ldscript 258283 2013-11-17 22:52:17Z peter > $ */ > GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a > /usr/lib/libssp_nonshared.a ) > > > Any ideas what the problem is? You described the problem above. ctypes is unable to load linker scripts. The general advise is to use find_library(): >>> import ctypes >>> import ctypes.util >>> clib = ctypes.util.find_library("c") >>> print clib libc.so.7 >>> dll = ctypes.CDLL(clib) Cheers Marcus --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlTdqukACgkQi68/ErJnpkfOOACgjAZ0WLC/8oCYZ05bSn+OXAyF L+0An0GbuTKrdJbiPhJCcZuE7N/ng6m3 =3z9g -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 09:24:35 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA995492 for ; Fri, 13 Feb 2015 09:24:35 +0000 (UTC) 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 B07461DF for ; Fri, 13 Feb 2015 09:24:35 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D9OZPn048199 for ; Fri, 13 Feb 2015 09:24:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197376] lang/python27: random module leaks file descriptor into child process Date: Fri, 13 Feb 2015 09:24:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_file_loc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 09:24:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197376 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://bugs.python.org/issu | |e23458 --- Comment #4 from Kubilay Kocak --- Victor Stinner (haypo) @ Python has graciously created an issue with patch upstream to take care of this. Once merged I'll backport it to 2.7.9 (and other versions if applicable) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 09:29:30 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E14D750A for ; Fri, 13 Feb 2015 09:29:30 +0000 (UTC) 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 C6FF1208 for ; Fri, 13 Feb 2015 09:29:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1D9TUcZ050095 for ; Fri, 13 Feb 2015 09:29:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197376] lang/python27: random module leaks file descriptor into child process Date: Fri, 13 Feb 2015 09:29:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 09:29:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197376 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|python@FreeBSD.org |koobs@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Fri Feb 13 16:10:45 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1DC6DCC for ; Fri, 13 Feb 2015 16:10:45 +0000 (UTC) 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 A7F33362 for ; Fri, 13 Feb 2015 16:10:45 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1DGAjDn076615 for ; Fri, 13 Feb 2015 16:10:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Fri, 13 Feb 2015 16:10:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: christer.edwards@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 16:10:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 --- Comment #9 from christer.edwards@gmail.com --- Created attachment 152939 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152939&action=edit QA portlint & testport output -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Sat Feb 14 00:41:26 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19084DCA for ; Sat, 14 Feb 2015 00:41:26 +0000 (UTC) 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 F3463222 for ; Sat, 14 Feb 2015 00:41:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1E0fPqx096984 for ; Sat, 14 Feb 2015 00:41:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Sat, 14 Feb 2015 00:41:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 00:41:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #152114| |maintainer-approval+ Flags| | -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Sat Feb 14 00:41:33 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 493A5DE4 for ; Sat, 14 Feb 2015 00:41:33 +0000 (UTC) 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 2F6BF224 for ; Sat, 14 Feb 2015 00:41:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1E0fXDg097537 for ; Sat, 14 Feb 2015 00:41:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Sat, 14 Feb 2015 00:41:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 00:41:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-qa |patch-ready -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Sat Feb 14 00:41:41 2015 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E76A9E06 for ; Sat, 14 Feb 2015 00:41:41 +0000 (UTC) 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 CDF672CE for ; Sat, 14 Feb 2015 00:41:41 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1E0ffXM098043 for ; Sat, 14 Feb 2015 00:41:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 197061] [MAINTAINER] sysutils/py-salt: Update to 2014.7.1 Date: Sat, 14 Feb 2015 00:41:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 00:41:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197061 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|--- |Normal -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Sat Feb 14 01:49:15 2015 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49EF775A; Sat, 14 Feb 2015 01:49:15 +0000 (UTC) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C46BAA2B; Sat, 14 Feb 2015 01:49:14 +0000 (UTC) Received: by labgf13 with SMTP id gf13so19661602lab.9; Fri, 13 Feb 2015 17:49:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=MdG94XSoHFqPx9ZuW/alaKKlJS2ajdukkko3zuLDu9k=; b=d0S116yhjtmhTw+RDcU6eVS3mElTOFIfmcJkTm1J84HKX0K6tLwZgJqDJLL14QSTbW G3DD8UhfYPesM1LlLI1OxcYJZu5Uw8/o5TN9FndEFXLrz8EXYVlkSbAoYk2tRHQtfARB pwVL/Ebu2oAyDnhiS4/FNZcNC74Y0w7ZkMX62WiRT07tGo47eR387650NqQ5cE8wdK/z UEpHgy7Gry9uthIrrKeKjzh/wPDP0rK24YO929dPreooYo9OwkXK1ABjoQJb6CrseVUx Yr+Om9iGhmCx/D/wPBqAewIvwynFKQ7O5i08vIVQX9jtxD8YS/h5pfO41tqMt2yzHY7W QnTw== MIME-Version: 1.0 X-Received: by 10.152.43.18 with SMTP id s18mr10946873lal.26.1423878547036; Fri, 13 Feb 2015 17:49:07 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.28.40 with HTTP; Fri, 13 Feb 2015 17:49:06 -0800 (PST) In-Reply-To: <20150213074233.GA1064@medusa.sysfault.org> References: <20150213074233.GA1064@medusa.sysfault.org> Date: Fri, 13 Feb 2015 17:49:06 -0800 X-Google-Sender-Auth: hTf_d9XPwtF1Dhvzgio2jf4W0fA Message-ID: Subject: Re: ctypes problem loading libc.so on FreeBSD current From: Craig Rodrigues To: Marcus von Appen , Craig Rodrigues , freebsd-python@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 01:49:15 -0000 On Thu, Feb 12, 2015 at 11:42 PM, Marcus von Appen wrote: > > You described the problem above. ctypes is unable to load linker > scripts. The general advise is to use find_library(): > > >>> import ctypes > >>> import ctypes.util > >>> clib = ctypes.util.find_library("c") > >>> print clib > libc.so.7 > >>> dll = ctypes.CDLL(clib) > > Cheers > Marcus > That solves it. Thanks!! -- Craig