GNU bug report logs - #5927
`xz' command not found when running 'make dist and distcheck'

Previous Next

Package: coreutils;

Reported by: "jeff.liu" <jeff.liu <at> oracle.com>

Date: Sun, 11 Apr 2010 14:43:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


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

From: Jim Meyering <jim <at> meyering.net>
To: "jeff.liu" <jeff.liu <at> oracle.com>
Cc: 5927 <at> debbugs.gnu.org
Subject: Re: bug#5927: `xz' command not found when running 'make dist and
	distcheck'
Date: Sun, 11 Apr 2010 17:16:03 +0200
jeff.liu wrote:
> 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?
>
> Subject: [PATCH] Add `xz-utils` pre-checking in bootstrap.conf
>
> Signed-off-by: Jie Liu <jeff.liu <at> oracle.com>

Good idea.  Thanks for the patch.
I've applied that, but adjusted the commit log:
  - remove the signed-off-by part (you're the Author:)
  - add ChangeLog-style line, since a ChangeLog file is generated
      from the commit logs.

      * bootstrap.conf (buildreq): Add xz to the list.

  - prefix one-line summary with "build: " and omit leading capital

For future reference, some of the above is mentioned in HACKING.
Here's what I pushed:

From 20a5a60c61a2a9f6b386b33533203c180de97a6c Mon Sep 17 00:00:00 2001
From: Jie Liu <jeff.liu <at> oracle.com>
Date: Sun, 11 Apr 2010 22:40:52 +0800
Subject: [PATCH] build: tell ./bootstrap to check for xz up-front

* bootstrap.conf (buildreq): Add xz to the list.
---
 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.7.1.rc1.237.ge1730




This bug report was last modified 15 years and 47 days ago.

Previous Next


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