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 -vDm755 star/OBJ/*/star \
star_sym/OBJ/*/star_sym \
tartest/OBJ/*/tartest \
-t /usr/5bin/ &&
install -vDm644 star/star.1 \
star_sym/star_sym.1 \
tartest/tartest.1 \
-t /usr/share/man/5man/man1/