[MacPorts] #50860: Cannot install pypy v5

MacPorts noreply at macports.org
Fri Mar 11 01:30:33 PST 2016


#50860: Cannot install pypy v5
-----------------------------+--------------------------------
 Reporter:  charlie.clark@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.4
 Keywords:                   |       Port:  pypy
-----------------------------+--------------------------------
 Just tried to upgrade pypy and it fails with this in the log:

 {{{
 :info:build [translation:info]     return callb(*args)
 :info:build [translation:info]    File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pypy/pypy/work/pypy-5.0.0-src/rpython/rtyper/lltypesystem/ll2ctypes.py",
 line 1306, in __call__
 :info:build [translation:info]     cfunc =
 get_ctypes_callable(self.funcptr, self.calling_conv)
 :info:build [translation:info]    File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pypy/pypy/work/pypy-5.0.0-src/rpython/rtyper/lltypesystem/ll2ctypes.py",
 line 1243, in get_ctypes_callable
 :info:build [translation:info]     clib = dllclass._dlltype(libpath,
 **load_library_kwargs)
 :info:build [translation:info]    File "/opt/local/lib/pypy/lib-
 python/2.7/ctypes/__init__.py", line 367, in __init__
 :info:build [translation:info]     self._handle = _ffi.CDLL(name, mode)
 :info:build [translation:ERROR] OSError: Cannot load library
 /usr/local/lib/libexpat.dylib: dlopen(/usr/local/lib/libexpat.dylib, 2):
 no suitable image found.  Did find:
 :info:build [translation:ERROR]         /usr/local/lib/libexpat.dylib:
 mach-o, but wrong architecture
 :info:build [translation] batch mode, not calling interactive helpers
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pypy/pypy/work/pypy-5.0.0-src/pypy/goal"
 && arch -x86_64 /opt/local/lib/pypy/pypy ../../rpython/bin/rpython --batch
 --verbose --cc=/usr/bin/clang --opt=jit --make-jobs=1 targetpypystandalone
 :info:build Exit code: 1
 :error:build org.macports.build for port pypy returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 68564 1
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 }}}

 Installed pypy v4 for the first time the other day so a bit of a head-
 scratcher.

-- 
Ticket URL: <https://trac.macports.org/ticket/50860>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list