[pypy-issue] [issue1615] pypy cannot build pypy3 errors with SyntaxError

Greg Czajkowski tracker at bugs.pypy.org
Sat Sep 28 03:32:49 CEST 2013


New submission from Greg Czajkowski <gregczajkowski at yahoo.com>:

I am on SUSE10 with HEAD on the repo updated today. pypy and pypy3 successfully
build with cpython2.7, but pypy is not able to build pypy3

setenv LD_LIBRARY_PATH /path/libffi/lib:/usr/pkgs/openssl/1.0.1c/lib64 
setenv CFLAGS "-D__GNUC__ -D__amd64__ -I /path/libffi/lib/libffi-3.0.13/include
 -I /usr/pkgs/openssl/1.0.1c/include -I /usr/pkgs/openssl/1.0.1c/openssl" 
setenv LDFLAGS "-L/path/libffi/lib -L/usr/pkgs/openssl/1.0.1c/lib64
-Wl,-rpath=/usr/pkgs/icc/13.1.3e/composer_xe_2013.5.192/compiler/lib/intel64
-limf -lsvml -lirng -lintlc" 

/path/pypy/pypy/goal/pypy.2.7-icc-c ../../rpython/bin/rpython --opt=jit --batch
 --cc=/usr/pkgs/icc/13.1.3e/bin/icc --gcrootfinder=shadowstack targetpypystandalone
Traceback (most recent call last):
  File "app_main.py", line 72, in run_toplevel
  File "../../rpython/bin/rpython", line 13, in <module>
    from rpython.translator.goal.translate import main
  File "/path/pypy/rpython/translator/goal/translate.py", line 89, in <module>
    log = py.log.Producer("translation")
  File "/path/pypy/py/_apipkg.py", line 114, in __makeattr
    result = importobj(modpath, attrname)
  File "/path/pypy/py/_apipkg.py", line 37, in importobj
    module = __import__(modpath, None, None, ['__doc__'])
  File "/path/pypy/py/_log/log.py", line 184, in <module>
    setattr(Syslog, _prio, getattr(py.std.syslog, _prio))
  File "/path/pypy/py/_std.py", line 13, in __getattr__
    m = __import__(name)
  File "/path/pypy/lib_pypy/syslog.py", line 68, in <module>
    lib = ffi.verify("""
  File "/path/pypy/lib_pypy/cffi/api.py", line 309, in verify
    from .verifier import Verifier, _caller_dir_pycache
  File "/path/pypy/lib_pypy/cffi/verifier.py", line 1, in <module>
    import sys, os, binascii, imp, shutil
  File "/path/pypy/lib-python/2.7/shutil.py", line 21, in <module>
    from grp import getgrnam
  File "/path/pypy/lib_pypy/grp.py", line 28
    class struct_group(metaclass=_structseq.structseqtype):
                               ^
SyntaxError: invalid syntax

Thanks for all the quick help!

----------
messages: 6224
nosy: gcflymoto, pypy-issue
priority: bug
release: 2.1
status: unread
title: pypy cannot build pypy3 errors with SyntaxError

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1615>
________________________________________


More information about the pypy-issue mailing list