Arachni/build-scripts

Undeclared dependency bzip2

phihag opened this issue · 1 comments

When running under Linux, the build script picks the .tar.bz2 distribution of phantomjs. Unfortunately, bzip2 is not in the list of dependencies, causing the build to fail:

# (3/6) Installing PhantomJS
-----------------------------------
  * Downloading https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2                           
Build failed, check /home/phihag/arachni-build-dir/arachni/build/logs/phantomjs for details.
When you resolve the issue you can run the script again to continue where the process left off.
$ cat /home/phihag/arachni-build-dir/arachni/build/logs/phantomjs
tar (child): cannot run bzip2: No such file or directory
tar (child): trying lbzip2
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

This is on amd64 / debian sid, with an empty debootstrap (type sudo debootstrap sid arachni-chroot to create it).

Thanks for letting me know man. :)