shellphish / shellphish-afl

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

patches/afl-patch.diff not distributed in shellphish-afl pip #2

Closed singlethink closed 7 years ago

singlethink commented 8 years ago

setup.py does not package patches/afl-patch.diff. This results in the following error when attempting to pip install shellphish-afl:

Downloading/unpacking shellphish-afl
  Downloading shellphish-afl-1.0.tar.gz
  Running setup.py (path:/home/singlethink/.virtualenvs/driller/build/shellphish-afl/setup.py) egg_info for package shellphish-afl

Installing collected packages: shellphish-afl
  Running setup.py install for shellphish-afl
    Setting up AFL-other-arch
    Cloning into 'bin/afl-unix'...
    error: [Errno 2] No such file or directory: 'patches/afl-patch.diff'
    Complete output from command /home/singlethink/.virtualenvs/driller/bin/python -c "import setuptools, tokenize;__file__='/home/singlethink/.virtualenvs/driller/build/shellphish-afl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-WJdyJC-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/singlethink/.virtualenvs/driller/include/site/python2.7:
    running install

running build

Setting up AFL-other-arch

Cloning into 'bin/afl-unix'...

error: [Errno 2] No such file or directory: 'patches/afl-patch.diff'

----------------------------------------
Cleaning up...
Command /home/singlethink/.virtualenvs/driller/bin/python -c "import setuptools, tokenize;__file__='/home/singlethink/.virtualenvs/driller/build/shellphish-afl/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-WJdyJC-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/singlethink/.virtualenvs/driller/include/site/python2.7 failed with error code 1 in /home/singlethink/.virtualenvs/driller/build/shellphish-afl
Storing debug log for failure in /home/singlethink/.pip/pip.log

Temporary workaround

python setup.py install from a clone of the shellphish-afl repo