Sorry about that, the e-mail was sent to automake-patches@ but the mail system re-routed it to automate-bugs@ because of the subject line.
-- With Valediction, Kamila Szewczyk (https://iczelia.net) On 8/5/26 8:04 PM, Kamila Szewczyk wrote: > `make dist' now fails when tar fails, instead of exiting > successfully with a truncated archive. The uncompressed tarball is > built by a rule of its own, $(distdir).tar, rather than piped into > the compressors, whose exit status was the only one the shell > reported. As a side effect, tar is run only once, whatever the > number of enabled formats; on the other hand, `make dist' now needs > room for the uncompressed tarball. Since some tar implementations > merely warn about the files they fail to archive and still exit > successfully, anything tar writes to standard error is treated as a > failure too (unless AM_DIST_TAR_IGNORE_STDERR is set to `yes'). > (bug#19614) > --- > NEWS | 3 ++ > doc/automake.texi | 23 ++++++++++ > lib/am/distdir.am | 64 +++++++++++++++++++------- > m4/optional.m4 | 11 +++-- > m4/tar.m4 | 11 +++++ > t/dist-formats.tap | 7 ++- > t/dist-shar.sh | 19 ++++++++ > t/dist-tar-fails.sh | 108 ++++++++++++++++++++++++++++++++++++++++++++ > t/list-of-tests.mk | 1 + > 9 files changed, 224 insertions(+), 23 deletions(-) > create mode 100644 t/dist-tar-fails.sh > > -- > With Valediction, > Kamila Szewczyk (https://iczelia.net)
OpenPGP_0xC868F0B6DE38409D.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
