GNU bug report logs - #10448
dist-xz and dist-gzip cannot be combined?

Previous Next

Package: automake;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Sat, 7 Jan 2012 21:56:02 UTC

Severity: grave

Tags: patch

Merged with 10444

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10448 in the body.
You can then email your comments to 10448 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#10448; Package automake. (Sat, 07 Jan 2012 21:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Sat, 07 Jan 2012 21:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-automake <at> gnu.org
Subject: dist-xz and dist-gzip cannot be combined?
Date: Sat, 07 Jan 2012 22:55:28 +0100
Hi,

The ‘master’ branch of Automake fails to produce both a tar.gz and
tar.xz tarball.  The former is empty, apparently because the source tree
gets removed after the tar.xz is created:

--8<---------------cut here---------------start------------->8---
tardir=automake-1.11a && ${TAR-tar} chof - "$tardir" | XZ_OPT=${XZ_OPT--e} xz -c >automake-1.11a.tar.xz
{ test ! -d "automake-1.11a" || { find "automake-1.11a" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "automake-1.11a"; }; }
atardir=automake-1.11a && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >automake-1.11a.tar.gz
tar: automake-1.11a: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
--8<---------------cut here---------------end--------------->8---

(This is from the ‘tarball’ job at
<http://hydra.nixos.org/jobset/gnu/automake-master>.)

Thanks,
Ludo’.




Information forwarded to bug-automake <at> gnu.org:
bug#10448; Package automake. (Sat, 07 Jan 2012 22:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 10448 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 10448 <at> debbugs.gnu.org
Subject: Re: bug#10448: dist-xz and dist-gzip cannot be combined?
Date: Sat, 07 Jan 2012 23:13:56 +0100
merge 10448 10444
thanks

Hi Ludo, thanks for the report.

On 01/07/2012 10:55 PM, Ludovic Courtès wrote:
> Hi,
> 
> The ‘master’ branch of Automake fails to produce both a tar.gz and
> tar.xz tarball.  The former is empty, apparently because the source tree
> gets removed after the tar.xz is created:
>
Yes, I've noticed this too:
  <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10444>

Patch coming up tomorrow.

Thanks,
  Stefano




Severity set to 'grave' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 07 Jan 2012 22:23:02 GMT) Full text and rfc822 format available.

Merged 10444 10448. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 07 Jan 2012 22:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#10448; Package automake. (Sun, 08 Jan 2012 09:20:02 GMT) Full text and rfc822 format available.

Message #15 received at 10448 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: automake-patches <at> gnu.org
Cc: 10444 <at> debbugs.gnu.org, 10448 <at> debbugs.gnu.org
Subject: [PATCHES] {master} dist: distdir not unconditionally removed anymore
	for xz and lzip
Date: Sun, 08 Jan 2012 10:19:08 +0100
[Message part 1 (text/plain, inline)]
References:
 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10444>
 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10448>

And here is a two-patch series fixing the bug.  The first patch enhances
the testsuite coverage for the various `dist-*' options and formats and
for the "make dist" usages (and in doing so exposes the bug), the second
patch fixes the problem (which, it turns out, was simply due to missing
edits after a merge).

Tested on Debian unstable (GNU make 3.81 and 3.80), Solaris 10 (with
GNU make 3.82, CCS make and Sun Distributed Make) and NetBSD 5.1 (with
system make and GNU make 3.82).

I will push the patches to master in a day or two if there is no objection.

Regards,
  Stefano
[0001-coverage-archive-and-compression-formats-used-by-mak.patch (text/x-diff, attachment)]
[0002-dist-distdir-not-unconditionally-removed-anymore-for.patch (text/x-diff, attachment)]

Added tag(s) patch. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 08 Jan 2012 09:21:01 GMT) Full text and rfc822 format available.

Message #18 received at 10448-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Feb 2012 12:24:02 GMT) Full text and rfc822 format available.

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.