Request for assistance [WAS: svn commit: r357358 - head/lang/pypy-devel]

David Naylor dbn at freebsd.org
Tue Jun 10 19:00:15 UTC 2014


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 964 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20140610/e6442ea8/attachment.sig>


More information about the freebsd-python mailing list