[MacPorts] #30031: pypy fails to build using python27

MacPorts noreply at macports.org
Mon Jul 4 18:44:39 PDT 2011


#30031: pypy fails to build using python27
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  jmr@…           
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  1.9.2           
 Keywords:                         |        Port:  pypy            
-----------------------------------+----------------------------------------
 I'm having trouble building pypy using MacPorts' python27 (since pypy is
 not yet installed).  It has nothing to do with the selected compiler.
 This is a python abort before $CC is invoked

 {{{
 --->  Configuring pypy
 --->  Building pypy
 [translation:info] Translating target as defined by targetpypystandalone
 Traceback (most recent call last):
   File "translate.py", line 322, in <module>
     main()
   File "translate.py", line 208, in main
     targetspec_dic, translateconfig, config, args =
 parse_options_and_load_target()
   File "translate.py", line 153, in parse_options_and_load_target
     targetspec_dic = load_target(targetspec)
   File "translate.py", line 105, in load_target
     mod = __import__(specname)
   File "targetpypystandalone.py", line 5, in <module>
     from pypy.interpreter import gateway
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/interpreter/gateway.py",
 line 17, in <module>
     from pypy.interpreter import eval
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/interpreter/eval.py",
 line 6, in <module>
     from pypy.interpreter.baseobjspace import Wrappable
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/interpreter/baseobjspace.py",
 line 3, in <module>
     from pypy.interpreter.executioncontext import ExecutionContext,
 ActionFlag
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/interpreter/executioncontext.py",
 line 2, in <module>
     from pypy.interpreter.miscutils import Stack
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/interpreter/miscutils.py",
 line 7, in <module>
     from pypy.rlib.rarithmetic import r_uint
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/rlib/rarithmetic.py",
 line 435, in <module>
     longlongmax = r_longlong(LONGLONG_TEST - 1)
   File
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/rlib/rarithmetic.py",
 line 360, in __new__
     raise OverflowError("%s does not fit in signed %d-bit integer"%(val,
 klass.BITS))
 OverflowError: -9223372036854775809 does not fit in signed 64-bit integer
 shell command " cd
 "/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/work/pypy-1.5-src/pypy/translator/goal"
 && arch -x86_64 /opt/local/bin/python2.7 translate.py --batch
 --cc=/Developer/usr/bin/llvm-gcc-4.2 --opt=jit --make-jobs=8
 --cflags='-arch x86_64 -I/opt/local/include -L/opt/local/lib'
 targetpypystandalone.py " returned error 1
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for pypy):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for pypy is at:
 /opt/local/var/macports/logs/_Volumes_Home_jeremy_src_macports_trunk_dports_lang_pypy/pypy/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 Using Apple's /usr/bin/python2.7 instead of MacPorts'
 ${prefix}/bin/python2.7 gets past this hiccup.

-- 
Ticket URL: <https://trac.macports.org/ticket/30031>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list