linkedin / qark

Tool to look for several security related Android application vulnerabilities
Other
3.18k stars 643 forks source link

Problem in Installing Qark requirements #410

Open thewindgod9 opened 10 months ago

thewindgod9 commented 10 months ago

while i am trying to install qark requirements, I am getting the following error Defaulting to user installation because normal site-packages is not writeable Ignoring enum34: markers 'python_version < "3.4"' don't match your environment Requirement already satisfied: asn1crypto==0.24.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (0.24.0) Requirement already satisfied: certifi==2018.1.18 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (2018.1.18) Collecting cffi==1.11.5 (from -r requirements.txt (line 9)) Using cached cffi-1.11.5.tar.gz (438 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: chardet==3.0.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 38)) (3.0.4) Requirement already satisfied: click==6.7 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 42)) (6.7) Collecting cryptography==2.2.1 (from -r requirements.txt (line 45)) Using cached cryptography-2.2.1-cp34-abi3-manylinux1_x86_64.whl (2.2 MB) Requirement already satisfied: idna==2.6 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 69)) (2.6) Requirement already satisfied: ipaddress==1.0.19 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 73)) (1.0.19) Requirement already satisfied: javalang==0.11.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 76)) (0.11.0) Requirement already satisfied: jinja2==2.10 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 78)) (2.10) Requirement already satisfied: markupsafe==1.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 81)) (1.0) Requirement already satisfied: pluginbase==0.5 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 84)) (0.5) Requirement already satisfied: pycparser==2.18 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 86)) (2.18) Collecting pyopenssl==17.5.0 (from -r requirements.txt (line 89)) Using cached pyOpenSSL-17.5.0-py2.py3-none-any.whl (53 kB) Requirement already satisfied: requests==2.18.4 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from requests[security]==2.18.4->-r requirements.txt (line 93)) (2.18.4) Requirement already satisfied: six==1.11.0 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 96)) (1.11.0) Requirement already satisfied: urllib3==1.22 in /home/lakshmi-surya/.local/lib/python3.8/site-packages (from -r requirements.txt (line 99)) (1.22) Building wheels for collected packages: cffi Building wheel for cffi (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [49 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/cffi copying cffi/model.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/commontypes.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/error.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/api.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/recompiler.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/init.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/verifier.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/lock.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/cparser.py -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/_embedding.h -> build/lib.linux-x86_64-cpython-38/cffi copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-38/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/c x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-38/c/_cffi_backend.o c/_cffi_backend.c: In function ‘b_do_dlopen’: c/_cffi_backend.c:4197:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4197 | p_printable_filename = PyText_AsUTF8(s); | ^ c/_cffi_backend.c: In function ‘b_callback’: c/_cffi_backend.c:5911:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations] 5911 | if (ffi_prep_closure(closure, &cif_descr->cif, | ^~ In file included from c/_cffi_backend.c:15: /usr/include/x86_64-linux-gnu/ffi.h:334:1: note: declared here 334 | ffi_prep_closure (ffi_closure, | ^~~~ In file included from c/cffi1_module.c:20, from c/_cffi_backend.c:7370: c/call_python.c: In function ‘_get_interpstate_dict’: c/call_python.c:20:30: error: dereferencing pointer to incomplete type ‘PyInterpreterState’ {aka ‘struct _is’} 20 | builtins = tstate->interp->builtins; | ^~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects

thewindgod9 commented 10 months ago

i installed cmake also to run any c/c++ binaries for python but no use pls someone help me with this issue thanks in advance

juhkarh commented 5 months ago

Same problems here. This is repo seems to be totally outdated.