VLC hash doesn't support libarchive
In commit a02cd4f you enabled libarchive, however the hash in compile.sh is ecfd0b79 which was before libarchive was added to VLC
You need to change the hash to at least 650f0597 since that's the commit that included the fix to have libxml2 as a dependency for libarchive.