shellphish / shellphish-afl

A pip wrapper around AFL.
BSD 2-Clause "Simplified" License
82 stars 52 forks source link

Error:python not found #22

Open DreamInthe opened 3 years ago

DreamInthe commented 3 years ago

ERROR: Python not found. Use --python=/path/to/python

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-elpyupcw/setup.py", line 118, in <module>
    setup(
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zzr/Envs/angr/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-req-build-elpyupcw/setup.py", line 102, in run
    self.execute(_setup_other_arch, (), msg="Setting up AFL-other-arch")
  File "/usr/lib/python3.8/distutils/cmd.py", line 335, in execute
    util.execute(func, args, msg, dry_run=self.dry_run)
  File "/usr/lib/python3.8/distutils/util.py", line 303, in execute
    func(*args)
  File "/tmp/pip-req-build-elpyupcw/setup.py", line 42, in _setup_other_arch
    if subprocess.check_call(['./build.sh'] + SUPPORTED_ARCHES, cwd=AFL_UNIX_INSTALL_PATH) != 0:
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./build.sh', 'aarch64', 'x86_64', 'i386', 'arm', 'ppc', 'ppc64', 'mips', 'mipsel', 'mips64']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: /home/zzr/Envs/angr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-elpyupcw/setup.py'"'"'; file='"'"'/tmp/pip-req-build-elpyupcw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-meyx0lsj/install-record.txt --single-version-externally-managed --compile --install-headers /home/zzr/Envs/angr/include/site/python3.8/shellphish-afl Check the logs for full command output.