https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6948
Bug ID: 6948 Summary: t/sa_compile.t test on OpenBSD 5.3 fails due to a wrong option to gunzip Product: Spamassassin Version: 3.4.0 Hardware: All OS: OpenBSD Status: NEW Severity: minor Priority: P2 Component: Regression Tests Assignee: dev@spamassassin.apache.org Reporter: mark.marti...@ijs.si On OpenBSD 5.3 the t/sa_compile.t test fails with: t/sa_compile.t .................... gunzip: unknown option -- d usage: gunzip [-cfhlNnqrtVv] [-o filename] [file ...] tar: End of archive volume 1 reached tar: Sorry, unable to determine archive format. 'cd /usr/local/src/Mail-SpamAssassin-3.4.0-rc2/t/log/d.sa_compile/build && gunzip -cd /usr/local/src/Mail-SpamAssassin-3.4.0-rc2/t/../Mail-SpamAssassin-*.tar.gz | tar xf -' failed: exit 1 at t/SATest.pm line 987. t/sa_compile.t .................... Dubious, test returned 25 (wstat 6400, 0x1900) Failed 5/5 subtests It misuses the 'gunzip' command: it should either be: gzip -d, or a gunzip (without -d). Apparently Linux does not mind, but it's wrong anyway. The fix is trivial, just leave out the option 'd': --- t/sa_compile.t (revision 1495653) +++ t/sa_compile.t (working copy) - system_or_die "cd $builddir && gunzip -cd $cwd/../Mail-SpamAssassin-*.tar.gz | tar xf -"; + system_or_die "cd $builddir && gunzip -c $cwd/../Mail-SpamAssassin-*.tar.gz | tar xf -"; -- You are receiving this mail because: You are the assignee for the bug.