hello J Dean,

Thank you very much for reporting this.

J Dean wrote:
testing --create...touch: invalid date '2022-01-05T12:22:13'
[...]
could this be a busybox touch quirk? only by patching the --create --mtime test 
section out does the build complete with all other tests passing.

This seems to be the case; the touch command you are using probably does not understand the 'T' separator in '2022-01-05T12:22:13' and requires a space instead.

You may try to work around this limitation of touch by changing line 749 of testsuite/check.sh to something like the following:

touch -d 2022-01-05T12:22:13 bar >/dev/null 2>&1 || touch -d '2022-01-05 12:22:13' bar || framework_failure

would like to package this for Alpine (lzip/lzlib/plzip are already in the 
official repos). is there a workaround, perhaps an alternative test? or can the 
test be patched out as above and the resultant binary be used in production, 
despite the check failure?

If the workaround above does not work, you may remove the test and use the binary until I release a version that skips the test in this case. This is not a bug in tarlz, but a limitation of this particular touch.

Best regards,
Antonio.

Reply via email to