lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tarlz] testsuite failure on Alpine (edge)


From: Antonio Diaz Diaz
Subject: Re: [tarlz] testsuite failure on Alpine (edge)
Date: Wed, 24 Apr 2024 16:39:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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

[Prev in Thread] Current Thread [Next in Thread]