Closed RomanSilinenko closed 2 years ago
try r2pm -ci to ensure a clean rebuild
Still something wrong. Sorry, cant figure out what exactly.
$ r2pm -ci r2dec Cleaning r2dec... Already up to date. clean Done For r2dec /home/ubuntu/.local/share/radare2/r2pm/db/r2dec TGZ= Cleaning up /home/ubuntu/.local/share/radare2/r2pm/git//r2dec... sh: 0: getcwd() failed: No such file or directory Cloning into 'r2dec'... remote: Enumerating objects: 115, done. remote: Counting objects: 100% (115/115), done. remote: Compressing objects: 100% (110/110), done. remote: Total 115 (delta 20), reused 36 (delta 2), pack-reused 0 Receiving objects: 100% (115/115), 1.07 MiB | 169.00 KiB/s, done. Resolving deltas: 100% (20/20), done. Install Done For r2dec make: Entering directory '/home/ubuntu/.local/share/radare2/r2pm/git/r2dec/p' awk '{if(/@JSC_SOURCES@/)exit;print}' < r2dec_jsc.c.in > r2dec_jsc.c python make_jsc.py .. >> r2dec_jsc.c /bin/sh: 1: python: not found make: *** [Makefile:53: r2dec_jsc.c] Error 127 make: Leaving directory '/home/ubuntu/.local/share/radare2/r2pm/git/r2dec/p' ubuntu@pihole:~/.local/share/radare2/r2pm/git/r2dec/p $ python --version Python 3.8.10
Where's your python installed that r2pm loses its path? The version looks good
OK. Indeed it was due to python. I did alias, but seems somewhere in scripts there's the absolute path to /usr/bin/python. So i have to create a link file.
@wargio i think p/Makefile should use PYTHON?=python
instead of directly calling python
to let the users and package manager to override the path without patching
Describe the bug r2 crashes when trying to launch r2dec decompiler.
Component
Reproduce via JSON (pddi)