Advertisement
Guest User

Untitled

a guest
Feb 10th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.25 KB | None | 0 0
  1. self = <LinuxPIC cc=gcc>, returncode = 1, stdout = ''
  2. stderr = '/tmp/usession-llvm-jit-backend-experimental-19/module_cache/module_1.c:91:10: fatal error: llvm-c/Core.h: No such file or directory\n   91 | #include <llvm-c/Core.h>\n      |          ^~~~~~~~~~~~~~~\ncompilation terminated.\n'
  3. outname = local('/tmp/usession-llvm-jit-backend-experimental-19/module_cache/module_1.o')
  4.  
  5.     def _handle_error(self, returncode, stdout, stderr, outname):
  6.         if returncode != 0:
  7.             errorfile = outname.new(ext='errors')
  8.             errorfile.write(stderr, 'wb')
  9.             if self.log_errors:
  10.                 stderrlines = stderr.splitlines()
  11.                 for line in stderrlines:
  12.                     log.Error(line)
  13.                 # ^^^ don't use ERROR, because it might actually be fine.
  14.                 # Also, ERROR confuses lib-python/conftest.py.
  15. >           raise CompilationError(stdout, stderr)
  16. E           CompilationError: CompilationError(err="""
  17. E               /tmp/usession-llvm-jit-backend-experimental-19/module_cache/module_1.c:91:10: fatal error: llvm-c/Core.h: No such file or directory
  18. E                  91 | #include <llvm-c/Core.h>
  19. E                     |          ^~~~~~~~~~~~~~~
  20. E               compilation terminated.
  21. E               """)
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement