So, I was just trying to untar Arch Linux tar gz file, but then I ran into this strange error. It turns out it was ‘libarchive’ that was too old. Here is how you solve this:
wget https://www.libarchive.org/downloads/libarchive-3.4.0.zip ./configure make sudo make install
When I check the version of ‘bsdtar’ I got this: bsdtar 3.4.0 — libarchive 3.4.0 zlib/1.2.11 liblzma/5.2.2