Due to various upstream-acknowledged issues in heirloom-ng tar, it is preferred to use a different SVR4-compatible tar implementation. This package is exactly that.
This may take a while to build. Feel free to do something else while this is building.
First build smake to allow overriding variables in build files:
pushd psmake && sh MAKE-all && popd
Compile star by running the following commands, and ensure an older GNU standard is used:
psmake/smake -e CC="cc -std=gnu17"
Now, as the root
user, install
star and the supplementary tools:
install -v -m755 -d /usr/5bin && install -v -m755 star/OBJ/*/star /usr/5bin && install -v -m755 star_sym/OBJ/*/star_sym /usr/5bin && install -v -m755 tartest/OBJ/*/tartest /usr/5bin && install -v -m755 -d /usr/share/man/5man/man1 && install -v -m644 star/star.1 /usr/share/man/5man/man1 && install -v -m644 star_sym/star_sym.1 /usr/share/man/5man/man1 && install -v -m644 tartest/tartest.1 /usr/share/man/5man/man1