Created
February 2, 2019 15:51
-
-
Save washort/5335e7153602c21a1ca85b9ef9eda901 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nix-shell:~/Projects/typhon]$ while rr record -h python main.py -l mast loader run capn/testCapn; do :; done | |
rr: Saving execution to trace directory `/home/washort/.local/share/rr/python-36'. | |
[version:WARNING] Errors getting Mercurial information: Not running from a Mercurial repository! | |
Traceback (most recent call last): | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/import_hooks.py", line 76, in find_module | |
macropy.exporter.export_transformed(code, tree, module_name, file.name) | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/exporters.py", line 30, in export_transformed | |
with open(new_path, "w") as f: | |
IOError: [Errno 2] No such file or directory: 'typhon/exported/objects/files.py' | |
Traceback (most recent call last): | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/import_hooks.py", line 76, in find_module | |
macropy.exporter.export_transformed(code, tree, module_name, file.name) | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/exporters.py", line 30, in export_transformed | |
with open(new_path, "w") as f: | |
IOError: [Errno 2] No such file or directory: 'typhon/exported/objects/networking/dns.py' | |
Traceback (most recent call last): | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/import_hooks.py", line 76, in find_module | |
macropy.exporter.export_transformed(code, tree, module_name, file.name) | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/exporters.py", line 30, in export_transformed | |
with open(new_path, "w") as f: | |
IOError: [Errno 2] No such file or directory: 'typhon/exported/objects/networking/streamcaps.py' | |
[platform:WARNING] In file included from /nix/store/f3l058q0zvnzr7nvl0jj789pyvljqadw-glibc-2.27-dev/include/assert.h:35:0, | |
[platform:WARNING] from /run/user/1000/typhon/rpython/translator/c/src/thread.h:4, | |
[platform:WARNING] from /run/user/1000/typhon/rpython/translator/c/src/thread.c:2: | |
[platform:WARNING] /nix/store/f3l058q0zvnzr7nvl0jj789pyvljqadw-glibc-2.27-dev/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] | |
[platform:WARNING] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
[platform:WARNING] ^~~~~~~ | |
[platform:WARNING] In file included from /nix/store/f3l058q0zvnzr7nvl0jj789pyvljqadw-glibc-2.27-dev/include/bits/libc-header-start.h:33:0, | |
[platform:WARNING] from /nix/store/f3l058q0zvnzr7nvl0jj789pyvljqadw-glibc-2.27-dev/include/limits.h:26, | |
[platform:WARNING] from /nix/store/gfbrmbcswqnm7r8y9jx5v6wf2zjyzhhk-gcc-7.3.0/lib/gcc/x86_64-unknown-linux-gnu/7.3.0/include-fixed/limits.h:194, | |
[platform:WARNING] from /nix/store/gfbrmbcswqnm7r8y9jx5v6wf2zjyzhhk-gcc-7.3.0/lib/gcc/x86_64-unknown-linux-gnu/7.3.0/include-fixed/syslimits.h:7, | |
[platform:WARNING] from /nix/store/gfbrmbcswqnm7r8y9jx5v6wf2zjyzhhk-gcc-7.3.0/lib/gcc/x86_64-unknown-linux-gnu/7.3.0/include-fixed/limits.h:34, | |
[platform:WARNING] from /run/user/1000/typhon/rpython/translator/c/src/signals.c:3: | |
[platform:WARNING] /nix/store/f3l058q0zvnzr7nvl0jj789pyvljqadw-glibc-2.27-dev/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] | |
[platform:WARNING] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
[platform:WARNING] ^~~~~~~ | |
[platform:Error] bash: xmalloc: shell.c:1709: cannot allocate 66 bytes (0 bytes allocated) | |
[platform:Error] collect2: error: ld returned 2 exit status | |
Traceback (most recent call last): | |
File "main.py", line 318, in <module> | |
sys.exit(entryPoint(sys.argv)) | |
File "main.py", line 297, in entryPoint | |
return runTyphon(argv) | |
File "main.py", line 190, in runTyphon | |
rsignal.pypysig_ignore(rsignal.SIGPIPE) | |
File "/run/user/1000/typhon/rpython/rtyper/lltypesystem/rffi.py", line 304, in wrapper | |
res = call_external_function(*real_args) | |
File "/run/user/1000/typhon/rpython/rtyper/lltypesystem/lltype.py", line 1380, in __call__ | |
return callb(*args) | |
File "/run/user/1000/typhon/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1300, in __call__ | |
cfunc = get_ctypes_callable(self.funcptr, self.calling_conv) | |
File "/run/user/1000/typhon/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1205, in get_ctypes_callable | |
defines=['RPYTHON_LL2CTYPES']) | |
File "/run/user/1000/typhon/rpython/translator/tool/cbuild.py", line 331, in compile_shared_lib | |
standalone=False)) | |
File "/run/user/1000/typhon/rpython/translator/platform/__init__.py", line 58, in compile | |
return self._finish_linking(ofiles, eci, outputfilename, standalone) | |
File "/run/user/1000/typhon/rpython/translator/platform/__init__.py", line 235, in _finish_linking | |
return self._link(cc_link, ofiles, largs, standalone, exe_name) | |
File "/run/user/1000/typhon/rpython/translator/platform/posix.py", line 60, in _link | |
cwd=str(exe_name.dirpath())) | |
File "/run/user/1000/typhon/rpython/translator/platform/__init__.py", line 143, in _execute_c_compiler | |
self._handle_error(returncode, stdout, stderr, outname) | |
File "/run/user/1000/typhon/rpython/translator/platform/__init__.py", line 155, in _handle_error | |
raise CompilationError(stdout, stderr) | |
rpython.translator.platform.CompilationError: CompilationError(err=""" | |
bash: xmalloc: shell.c:1709: cannot allocate 66 bytes (0 bytes allocated) | |
collect2: error: ld returned 2 exit status | |
""") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment