tag 462008 +upstream forwarded 462008 https://codespeak.net/issue/pypy-dev/issue353 thanks
On Mon, Jan 21, 2008 at 11:03:27PM +0100, Kurt Roeckx wrote:
> Package: pypy
> Version: 1.0.0-svn50146-2
> Severity: serious
>
> Hi,
>
> Your package is failing to build on the 64 bit arches with this error:
> [translation:ERROR] Error:
> [translation:ERROR] Traceback (most recent call last):
> [translation:ERROR] File "pypy/translator/goal/translate.py", line 273, in
> main
> [translation:ERROR] drv.proceed(goals)
> [...]
> [translation:ERROR] TypeError': <Struct tm { c_tm_sec, c_tm_min, c_tm_hour,
> c_tm_mday, c_tm_mon, c_tm_year, c_tm_wday, c_tm_yday, c_tm_isdst, c__pad0,
> c__pad1, c__pad2, c__pad3, c_tm_gmtoff, c_tm_zone }> instance field
> 'c_tm_mon':[translation:ERROR] expects <INT>
> [translation:ERROR] got <Signed>
> [translation:ERROR] .. v3635 = setattr((<* struct tm { c_tm_se...=...
> }>), ('c_tm_mon'), v3634)
> [translation:ERROR] .. '(pypy.module.rctime.interp_time:189)_gettmarg'
>
> All members of the "C" struct tm type should be int's, and I'm not sure
> what the difference between an "INT" and "Signed" is.
Hi,
Last time I checked, 64bit archs were not well supported by upstream. I've
reported the issue to the pypy core team. Patches solving this issue are
welcome.
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
signature.asc
Description: Digital signature

