bug#19614: Split packaging invocation to catch errors

2023-07-18 Thread Karl Berry
tmpname=`mktemp $(distdir)/dist.XX` I don't think we can safely assume mktemp in automake rules. tardir=$(distdir) && $(am__tar) > $(distdir)-$RANDOM.tar 2>$(distdir).err That was my idea ($$ instead of $RANDOM). Certainly simple, but I agree Nick's idea is cleaner: >

bug#19614: Split packaging invocation to catch errors

2023-07-18 Thread Bogdan
Nick Bowler , Tue Jul 18 2023 08:55:53 GMT+0200 (Central European Summer Time) On 2023-07-17, Karl Berry wrote: Hi Dimitrios, Bogdan - back on this bug from 2015 (sorry): https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19614 Bogdan sent a patch that splits the tar and compress into

bug#19614: Split packaging invocation to catch errors

2023-07-18 Thread Nick Bowler
On 2023-07-17, Karl Berry wrote: > Hi Dimitrios, Bogdan - back on this bug from 2015 (sorry): > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19614 > > Bogdan sent a patch that splits the tar and compress into separate > invocations. It seems basically good to me, but the dist-formats test >

bug#19614: Split packaging invocation to catch errors

2023-07-17 Thread Karl Berry
Hi Dimitrios, Bogdan - back on this bug from 2015 (sorry): https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19614 Bogdan sent a patch that splits the tar and compress into separate invocations. It seems basically good to me, but the dist-formats test fails because it builds multiple archive

bug#19614: Split packaging invocation to catch errors

2022-12-30 Thread Bogdan
Hello again. This time a patch that splits 'tar ... | gzip/bzip2/whatever' into 2 commands. Yes, this introduces a requirement for a "temporary" .tar file (and i-node allocation, and filesystem free space/performance, and ...), but gives gains (I hope they're gains): 1) when 'tar' exits