-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install fails on arch linux because "cl" command exists, but is something different #54
Comments
Good finding! Since cffi is essential for angr as of now, I think we can do the following:
@rhelmot any comment on this? |
f0rki
added a commit
to f0rki/pyvex
that referenced
this issue
Jan 23, 2017
this fixes the silent install fail when 'cl' is existing, but is not a compiler fixes issue angr#54
f0rki
added a commit
to f0rki/pyvex
that referenced
this issue
Jan 23, 2017
this fixes the silent install fail when 'cl' is existing, but is not a compiler fixes issue angr#54
f0rki
added a commit
to f0rki/pyvex
that referenced
this issue
Jan 23, 2017
this fixes the silent install fail when 'cl' is existing, but is not a compiler fixes issue angr#54
rhelmot
pushed a commit
that referenced
this issue
Mar 16, 2017
this fixes the silent install fail when 'cl' is existing, but is not a compiler fixes issue #54
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having trouble getting the latest pyvex to work on arch linux. I'm using a virtualenv. Install works fine with pip. When I try to import pyvex, I get the following error:
Apparently the file
_ffi_str
variable contains only the string "extern VexControl vex_control;".After some digging I came to the conclusion that the issues is in make_ffi.py#L58. The first tried command is
cl
. This is a binary that does something completely different (apparently part of the cliquer package) on my system.This fails silently as there is no check for
Popen.returncode
. Maybe usingsubprocess.check_output
would be better suited here, since it throws an exception on non-zero exit status?After switching
cmd1
andcmd2
, it properly generates the file (withpip install -e .
). But I guess this might break other systems...The text was updated successfully, but these errors were encountered: