From owner-freebsd-python@FreeBSD.ORG Tue Jun 10 19:00:15 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFDBE821 for ; Tue, 10 Jun 2014 19:00:15 +0000 (UTC) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5349627E2 for ; Tue, 10 Jun 2014 19:00:15 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id k14so6854263wgh.6 for ; Tue, 10 Jun 2014 12:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-type; bh=B2Nuh0zWLQitHEiOj0xrBryV7FmNw3NTIKENfDO1LzA=; b=VoRs0kI+w4gTLVqnP8qYiCpUYtAGqneGcLi3MbAGx07XZliAemZ9d1awGsK7tqeZg2 PMEq6dce+48IpAx1zJ3VN3G/z46cV2/F/6hIXITLtGGWuxhl4c6TVDP5DGvGZw3sNJWW X/rUpmW2tYypAPvPSJKLsZj7yZ37geA1gxPKND5iSXXbpHj6Z/hhisGrbbuAck8PgnHh 46qkql5YoXz0OK//y3nrB72KZR6frDBNnbmF0xS7CCZlDyaMPNoz9Iy+JRXgjYS7wBh5 kGTpa9c9esY6x2lwnhMlbwRcI3ZEjvo+Tldn0N7vaeFe19+RfJ+PtOMBl/K20FpZr5q5 oN4g== X-Received: by 10.180.81.1 with SMTP id v1mr3438390wix.10.1402426813489; Tue, 10 Jun 2014 12:00:13 -0700 (PDT) Received: from dragon.dg ([197.87.118.14]) by mx.google.com with ESMTPSA id na4sm22460895wic.21.2014.06.10.12.00.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 12:00:12 -0700 (PDT) Sender: David Naylor From: David Naylor To: freebsd-python@freebsd.org Subject: Request for assistance [WAS: svn commit: r357358 - head/lang/pypy-devel] Date: Tue, 10 Jun 2014 21:00:05 +0300 Message-ID: <1440206.UFO2V20WWb@dragon.dg> Organization: FreeBSD User-Agent: KMail/4.10.5 (FreeBSD/9.2-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <201406101812.s5AICtvn039725@svn.freebsd.org> References: <201406101812.s5AICtvn039725@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13887233.Ucx0oukzqm"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 19:00:15 -0000 --nextPart13887233.Ucx0oukzqm Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Hi list, I have updated pypy-devel to the latest stable release of PyPy however I don't have time, at the moment, to do the full QA to ensure it runs properly on FreeBSD. Is someone willing to do the following (in a clean environment): 1) Build and install pypy-devel using PYTHON to translate 2) Build pypy-devel using PYPY (from step 1) to translate 3) Build pypy-devel using PYPY_MINMEM (from step 1) to translate 4) Do steps 1-3 for both i386 and amd64 [1]. Bonus points for ARM (or any other system) [2]. 5) Record the memory and wall-time for the translation[3] and build[3] stage. 6) For bonus points, run the unit tests and report (or fix) any failures to upstream [4]. To summarise, please collect information to update the Wiki's[5] ``Memory Requirements'' and ``Compilation Time'' sections. The Makefile also requires information about memory requires[6]. Patches for updates also welcome :-) Thank you, David NOTES: [1] For both I use a chroot from an i386 system. [2] I don't have access to other architectures so these step has never been taken before. [3] The translation and build stage are run separately, using time(1) -l. Just scan the logs (or provide the scan logs and I can find them). [4] Due to limited time I have never undertaken this task. [5] https://wiki.freebsd.org/Python/PyPy [6] Due to PyPy's GC, if there is insufficient memory a perpetual cycling of swap thrashing ensues (due to the garbage collector repeatedly traversing the entire memory set). On Tuesday, 10 June 2014 18:12:55 David Naylor wrote: > Author: dbn > Date: Tue Jun 10 18:12:55 2014 > New Revision: 357358 > URL: http://svnweb.freebsd.org/changeset/ports/357358 > QAT: https://qat.redports.org/buildarchive/r357358/ > > Log: > Update lang/pypy-devel to 2.3.1. > > ChangeLog: > * The built-in struct module was renamed to _struct, solving issues with > IDLE and other modules > * Support for compilation with gcc-4.9 > * A CFFI-based version of the gdbm module is now included in our binary > bundle * Many issues were resolved since the 2.3 release on May 8 > > Modified: > head/lang/pypy-devel/Makefile > head/lang/pypy-devel/distinfo > head/lang/pypy-devel/pkg-plist > > Modified: head/lang/pypy-devel/Makefile > ============================================================================ > == --- head/lang/pypy-devel/Makefile Tue Jun 10 18:05:41 2014 (r357357) +++ > head/lang/pypy-devel/Makefile Tue Jun 10 18:12:55 2014 (r357358) @@ -2,11 > +2,12 @@ > # $FreeBSD$ > > PORTNAME= pypy > -DISTVERSION= 2.3 > +DISTVERSION= 2.3.1 > CATEGORIES= lang python > -MASTER_SITES= http://cdn.bitbucket.org/pypy/pypy/downloads/ > https://bitbucket.org/pypy/pypy/downloads/ > +MASTER_SITES= http://cdn.bitbucket.org/pypy/pypy/get/ > https://bitbucket.org/pypy/pypy/get/ PKGNAMESUFFIX= -devel > -DISTNAME= ${PORTNAME}-${DISTVERSION}-src > +DISTNAME= release-${DISTVERSION} > +DIST_SUBDIR= pypy > > MAINTAINER= dbn@FreeBSD.org > COMMENT= Fast, compliant implementation of the Python language > @@ -43,7 +44,7 @@ USES= compiler:c11 gettext iconv tar:bz > MAKEFILE= ${FILESDIR}/Makefile > PKGINSTALL= ${WRKDIR}/pkg-install > PKGDEINSTALL= ${WRKDIR}/pkg-deinstall > -WRKSRC= ${WRKDIR}/pypy-pypy-394146e9bb67 > +WRKSRC= ${WRKDIR}/pypy-pypy-32f35069a16d > > PYPY_VER= ${DISTVERSION:C|([0-9])\.([0-9]).*|\1.\2|} > PYTHON_IMPL_VER= 2.7 > > Modified: head/lang/pypy-devel/distinfo > ============================================================================ > == --- head/lang/pypy-devel/distinfo Tue Jun 10 18:05:41 2014 (r357357) +++ > head/lang/pypy-devel/distinfo Tue Jun 10 18:12:55 2014 (r357358) @@ -1,2 > +1,2 @@ > -SHA256 (pypy-2.3-src.tar.bz2) = > be2c271e7f9d7c0059a551ba1501713c00336e551e7f13107f0f34c721d95b0c -SIZE > (pypy-2.3-src.tar.bz2) = 14658373 > +SHA256 (pypy/release-2.3.1.tar.bz2) = > 3fd10d97c0177c33ed358a78eb26f5bf1f91b266af853564b1a9d8c310a1e439 +SIZE > (pypy/release-2.3.1.tar.bz2) = 15225332 > > Modified: head/lang/pypy-devel/pkg-plist > ============================================================================ > == --- head/lang/pypy-devel/pkg-plist Tue Jun 10 18:05:41 2014 (r357357) +++ > head/lang/pypy-devel/pkg-plist Tue Jun 10 18:12:55 2014 (r357358) @@ > -1578,6 +1578,7 @@ > %%PYPY_LIBDIR%%/lib_pypy/_tkinter/__init__.pyc > %%PYPY_LIBDIR%%/lib_pypy/_tkinter/app.py > %%PYPY_LIBDIR%%/lib_pypy/_tkinter/app.pyc > +%%PYPY_LIBDIR%%/lib_pypy/_tkinter/license.terms > %%PYPY_LIBDIR%%/lib_pypy/_tkinter/tclobj.py > %%PYPY_LIBDIR%%/lib_pypy/_tkinter/tclobj.pyc > %%PYPY_LIBDIR%%/lib_pypy/_tkinter/tklib.py > @@ -1673,6 +1674,8 @@ > %%PYPY_LIBDIR%%/lib_pypy/dbm.pyc > %%PYPY_LIBDIR%%/lib_pypy/future_builtins.py > %%PYPY_LIBDIR%%/lib_pypy/future_builtins.pyc > +%%PYPY_LIBDIR%%/lib_pypy/gdbm.py > +%%PYPY_LIBDIR%%/lib_pypy/gdbm.pyc > %%PYPY_LIBDIR%%/lib_pypy/greenlet.egg-info > %%PYPY_LIBDIR%%/lib_pypy/greenlet.py > %%PYPY_LIBDIR%%/lib_pypy/greenlet.pyc --nextPart13887233.Ucx0oukzqm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAABCgBmBQJTl1W4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5NDhFQzUxMUEyN0YwMzAyRTc5OUI1M0FB RDYzRkE4REQ2QjJEQTU1AAoJEK1j+o3WstpVSZkP/2VNgoOLLNWLMj/t0WOvGT14 CwwRgT/pj9eEO5n0TPnrS7jpXIl4neccrPU4v0xPV+Wq5hUX4hwNbsMI9sMRiQWY WxbaZn3JuA+nhYoaW51/GWoMm+Ul6HXaWlmg2rglyQo6++fT9BPBje2c2JXaOgtf aH2K5LgfqQgvPUcOcRjtx3GU9C/tFg61Q75PZ/5lErC1OkWVYKPvlUFu3cGRXBTh I7yU6Gsk3+URhLiYLHiJzJuUwLWCGGdqcsDcVq2emEGiJQdMX+CWDN0tedLtzDP1 mDyygEAEv0FO2t/cmrjnuioZ4swKiMvX+TNB8nPz9QRJKr4REntnvql7i1n5T8rV LDmS6cCjplY0Ws7wCXjLZbc9HTeEazPPhPv7W4DF9nuB+ppfHRs7nE7hd/cy+OxT 3FwzrhcjUoQKejASpiBt/itcJmzsoxWACq8JSIhqkuCGBIzC30z2Vxs1lmdtqKIB B0k1Q4DRXXjtt/3z8yqtJgS6jmkW8PMRAqyKiaQVRGVlANi12O7E6oxXBnvnhhno JFObrG9c0PE8bzlTrqJTu6GLakGIHy1S7X3qK0wmWD/S2nK9Dm24IjmzMO4WVoAA UuTGQP214UfaG51tPhn9VO1FBKDZAoS73FSABmxJ32F9w2EMqwx1X75bonu+O6qo MKg5eOl0fD6ekQJnN+KS =PGCs -----END PGP SIGNATURE----- --nextPart13887233.Ucx0oukzqm--