Subject: bug#5927 closed by Jim Meyering <[email-masked]> (Re: bug#5927: `xz' command not found when running 'make dist and distcheck')

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 11 Apr 2010 15:22:02 +0000

This is an automatic notification regarding your bug report
which was filed against the coreutils package:

#5927: `xz' command not found when running 'make dist and distcheck'

It has been closed by Jim Meyering <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jim Meyering <[email-masked]> by
replying to this email.

-- 
5927: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5927
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#5927: `xz' command not found when running 'make dist and distcheck'
From: Jim Meyering <[email-masked]>
To: [email-masked]
Date: Sun, 11 Apr 2010 17:21:20 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

marking this as "done" in the tracker...

Subject: `xz' command not found when running 'make dist and distcheck'
From: "jeff.liu" <[email-masked]>
To: [email-masked]
Date: Sun, 11 Apr 2010 22:42:16 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

I run into a problem when running `make dist/distcheck' on "uBuntu 8.0.4 - the Hardy Heron".

The error message shows the `xz` command not found:
...
tardir=coreutils-8.4.84-8c4b6-dirty && /bin/bash
/home/jeff/opensource_dev/coreutils/build-aux/missing --run tar chof - "$tardir" | xz -c
>coreutils-8.4.84-8c4b6-dirty.tar.xz
/bin/bash: xz: command not found
WARNING: I can't seem to be able to run `tar' with the given arguments.
         You may want to install GNU tar or Free paxutils, or check the
         command line arguments.
make: *** [dist] Error 127

Is it make sense to add the pre-checking for `xz-utils' in 'boottrap.conf' like below?

>From e6f6bb41a4bb443cf894c151390182d23b2f957d Mon Sep 17 00:00:00 2001
From: Jie Liu <[email-masked]>
Date: Sun, 11 Apr 2010 22:40:52 +0800
Subject: [PATCH] Add `xz-utils` pre-checking in bootstrap.conf

Signed-off-by: Jie Liu <[email-masked]>
---
 bootstrap.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index ad7d6d5..55b2f60 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -321,6 +321,7 @@ makeinfo   -
 perl       5.5
 rsync      -
 tar        -
+xz         -
 "

 # Automake requires that ChangeLog exist.
-- 
1.5.4.3

Cheers,
-Jeff