GNU bug report logs - #10444
"make dist" fails if more than two compression formats are used

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Fri, 6 Jan 2012 19:23:01 UTC

Severity: grave

Tags: patch

Merged with 10448

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org, bug-strong-list <at> debbugs.gnu.org
Subject: bug#10444: closed ("make dist" fails if more than two compression
 formats are used)
Date: Wed, 11 Jan 2012 18:00:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 11 Jan 2012 18:59:17 +0100
with message-id <4F0DCDF5.3010901 <at> gmail.com>
and subject line Re: [PATCHES] {master}  dist: distdir not unconditionally removed anymore for xz and lzip
has caused the debbugs.gnu.org bug report #10444,
regarding "make dist" fails if more than two compression formats are used
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
10444: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10444
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: "make dist" fails if more than two compression formats are used
Date: Fri, 06 Jan 2012 20:18:42 +0100
Severity: grave

If I try to run "make dist" from an autoamke master checkout, I see this error:

  tardir=automake-1.11a && ${TAR-tar} chof - "$tardir" \
    | XZ_OPT=${XZ_OPT--e} xz -c >automake-1.11a.tar.xz
  ## The distdir gets removed ##
  ... rm -fr "automake-1.11a" ...
  ## And then make tries to tar it again ##
  tardir=automake-1.11a && ${TAR-tar} chof - "$tardir" \
    | GZIP=--best gzip -c >automake-1.11a.tar.gz
  ## Failure ensues
  tar: automake-1.11a: Cannot stat: No such file or directory
  tar: Exiting with failure status due to previous errors

This is pretty bad.  What is even worse is that the error is very likely to go
unnoticed (it has until now), since, due to implementation reasons, the `tar'
failure isn't reflected in the exit status of "make dist".

I will try to follow-up on this soonish.

Regards,
  Stefano


[Message part 3 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: automake-patches <at> gnu.org
Cc: 10444-done <at> debbugs.gnu.org, 10448-done <at> debbugs.gnu.org
Subject: Re: [PATCHES] {master}  dist: distdir not unconditionally removed
	anymore for xz and lzip
Date: Wed, 11 Jan 2012 18:59:17 +0100
On 01/08/2012 10:19 AM, Stefano Lattarini wrote:
> References:
>  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10444>
>  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10448>
> 
> I will push the patches to master in a day or two if there is no objection.
> 
Pushed now.

Thanks,
  Stefano


This bug report was last modified 13 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.