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

MacPorts noreply at macports.org
Thu Aug 25 08:16:18 PDT 2011


#30031: pypy fails to build using python27
------------------------------------+---------------------------------------
  Reporter:  jeremyhu@…             |       Owner:  jmr@…           
      Type:  defect                 |      Status:  reopened        
  Priority:  Normal                 |   Milestone:                  
 Component:  ports                  |     Version:  1.9.2           
Resolution:                         |    Keywords:                  
      Port:  pypy                   |  
------------------------------------+---------------------------------------
Changes (by jwm.columbia@…):

  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 I'd like to reopen this, since it appears I have the exact same problem.
 It appears the gcc compiler fails, since it for some reason lacks the
 Darwin-specific -arch option:
 --
 [platform:execute] /opt/local/bin/gcc-mp-4.5 -c -arch x86_64 -O3 -fomit-
 frame-pointer -mdynamic-no-pic
 /var/folders/9q/yg5x8qn176s3gcn095qkkn_00000gn/T/usession-
 unknown-3/gcctest.c -o /var/folders/9q/yg5x8qn176s3gcn095qkkn_00000gn/T
 /usession-unknown-3/gcctest.o
 [platform:Error] cc1: error: unrecognized command line option "-arch"
 --

 The shell command that fails during the build is
 --
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pypy/pypy/work
 /pypy-pypy-release-1.6/pypy/translator/goal" && arch -x86_64
 /opt/local/bin/python2.7 translate.py --batch --cc=/opt/local/bin/gcc-
 mp-4.5 --opt=jit --make-jobs=8 --cflags='-m64 -I/opt/local/include
 -L/opt/local/lib' targetpypystandalone.py
 --

 I am relatively unfamiliar with MacPorts, so I'm unsure of further
 debugging steps. I'd be happy to supply any further information though.

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


More information about the macports-tickets mailing list