[MacPorts] #40939: Pypy fails to build on Mavericks
MacPorts
noreply at macports.org
Wed Nov 27 11:03:21 PST 2013
#40939: Pypy fails to build on Mavericks
----------------------+-----------------------
Reporter: tknox@… | Owner: jmr@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: invalid | Keywords: mavericks
Port: pypy |
----------------------+-----------------------
Comment (by gunnlaugur@…):
It's a problem with the already-installed pypy 2.1.0 itself, not with the
build. It fails to import the syslog module, and others:
{{{
$ for module in syslog _sqlite3 _curses; do echo; echo $module; pypy -c
"import $module"; done
syslog
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
File "app_main.py", line 566, in run_it
File "<string>", line 1, in <module>
File "/opt/local/lib/pypy/lib_pypy/syslog.py", line 68, in <module>
lib = ffi.verify("""
File "/opt/local/lib/pypy/lib_pypy/cffi/api.py", line 311, in verify
lib = self.verifier.load_library()
File "/opt/local/lib/pypy/lib_pypy/cffi/verifier.py", line 68, in
load_library
self.compile_module()
File "/opt/local/lib/pypy/lib_pypy/cffi/verifier.py", line 55, in
compile_module
self._write_source()
File "/opt/local/lib/pypy/lib_pypy/cffi/verifier.py", line 117, in
_write_source
file = open(self.sourcefilename, 'w')
IOError: [Errno 2] No such file or directory:
'/opt/local/lib/pypy/lib_pypy/__pycache__/_cffi__g7019d5d3xad93c709.c'
_sqlite3
...
File "/opt/local/lib/pypy/lib_pypy/_sqlite3.py", line 273, in <module>
""", libraries=['sqlite3']
...
IOError: [Errno 2] No such file or directory:
'/opt/local/lib/pypy/lib_pypy/__pycache__/_cffi__gd44677d0xe752c2be.c'
_curses
...
File "/opt/local/lib/pypy/lib_pypy/_curses.py", line 319, in <module>
""", libraries=['ncurses', 'panel'])
...
IOError: [Errno 2] No such file or directory:
'/opt/local/lib/pypy/lib_pypy/__pycache__/_cffi__g3b3d68b9x310af836.c'
}}}
(Repeated parts skipped)
--
Ticket URL: <https://trac.macports.org/ticket/40939#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list