Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 21:00:05 +0300
From:      David Naylor <dbn@freebsd.org>
To:        freebsd-python@freebsd.org
Subject:   Request for assistance [WAS: svn commit: r357358 - head/lang/pypy-devel]
Message-ID:  <1440206.UFO2V20WWb@dragon.dg>
In-Reply-To: <201406101812.s5AICtvn039725@svn.freebsd.org>
References:  <201406101812.s5AICtvn039725@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1440206.UFO2V20WWb>