Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Review Request: pypy - Implementation of the Python language, using Python
itself
https://bugzilla.redhat.com/show_bug.cgi?id=588941
Summary: Review Request: pypy - Implementation of the Python
language, using Python itself
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: medium
Component: Package Review
AssignedTo: nobody(a)fedoraproject.org
ReportedBy: dmalcolm(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: notting(a)redhat.com, fedora-package-review(a)redhat.com
Estimated Hours: 0.0
Classification: Fedora
Target Release: ---
Spec URL:
http://dmalcolm.fedorapeople.org/python-packaging/pypy.spec
SRPM URL:
http://dmalcolm.fedorapeople.org/python-packaging/pypy-1.2-1.fc14.src.rpm
Description:
pypy is a reimplementation of the Python language in Python itself, which is
then compiled into implementations with particular properties.
Successful scratch build in Koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2147291
Notes:
Getting this to build was quite a challenge
(i) A build takes at least an hour, and likely 3-5 hours, depending on how many
variant runtimes we want to build
(ii) It currently only builds on Fedora 13, not on Fedora 14 (rawhide). I get
this failure when I try to build on f14:
[platform:execute] gcc /tmp/usession-0/platcheck_27.o -pthread -lrt -o
/tmp/usession-0/platcheck_27
[geninterp:WARNING] skipped classmethod: <bound method classobj.fromkeys of
<class UserDict.UserDict at 0x7f47e2690ef0>>
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 259, in main
[translation:ERROR] default_goal='compile')
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/translator/driver.py", line 763, in
from_targetspec
[translation:ERROR] spec = target(driver, args)
[translation:ERROR] File "targetpypystandalone.py", line 223, in target
[translation:ERROR] return self.get_entry_point(config)
[translation:ERROR] File "targetpypystandalone.py", line 239, in
get_entry_point
[translation:ERROR] entry_point = create_entry_point(space, w_dict)
[translation:ERROR] File "targetpypystandalone.py", line 31, in
create_entry_point
[translation:ERROR] w_os = setup_nanos(space)
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/translator/goal/nanos.py", line 50,
in setup_nanos
[translation:ERROR] w_os_path = space.wrap(app_os_path.buildmodule(space,
'path'))
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/interpreter/gateway.py", line 855, in
buildmodule
[translation:ERROR] return Module(space, space.wrap(name),
self.getwdict(space))
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/interpreter/gateway.py", line 851, in
getwdict
[translation:ERROR] return space.fromcache(ApplevelCache).getorbuild(self)
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/tool/cache.py", line 51, in
getorbuild
[translation:ERROR] result = self._build(key)
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/interpreter/baseobjspace.py", line
195, in _build
[translation:ERROR] return self.build(key)
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/interpreter/gateway.py", line 910, in
build
[translation:ERROR] return PyPyCacheDir.build_applevelinterp_dict(app,
self.space)
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/interpreter/gateway.py", line 984, in
build_applevelinterp_dict
[translation:ERROR] w_glob = initfunc(space)
[translation:ERROR] File "<codegen
/home/david/rpmbuild/BUILD/pypy-1.2/pypy/translator/geninterplevel.py:1540>",
line 647, in init__builtin__
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/objspace/std/objspace.py", line 671,
in getattr
[translation:ERROR] raiseattrerror(self, w_obj, name)
[translation:ERROR] File
"/home/david/rpmbuild/BUILD/pypy-1.2/pypy/objspace/descroperation.py", line 29,
in raiseattrerror
[translation:ERROR] typename, name)
[translation:ERROR] OpErrFmt: [<W_TypeObject(AttributeError)>: 'module'
object
has no attribute 'getcwdu']
[translation] batch mode, not calling interactive helpers
It appears that this is a python-2.6.4 -> python-2.6.5 change, I believe
relating to a change within Python's os.path.abspath implementation on Posix:
/home/david/rpmbuild/BUILD/pypy-1.2/pypy/_cache/nanos_d3cc75d994d0742917950b586d00aaa8.py
has:
gs_getcwdu = space.new_interned_str('getcwdu')
gbltin_getcwdu = space.getattr(mod_posix, gs_getcwdu)
and this is used by the implementation of abspath from
/usr/lib64/python2.6/posixpath.py
and this has indeed changed, and started using getcwdu between 2.6.4 and 2.6.5:
http://svn.python.org/view/python/trunk/Lib/posixpath.py?r1=78037&r2=...
(iii) Don't seem to be getting meaningful debuginfo packages. I tried to fix
this by changing the tmpdir location it uses when autogenerating sources, but
that didn't seem to help.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.