GNU bug report logs -
#5927
`xz' command not found when running 'make dist and distcheck'
Previous Next
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 #25 received at 5927 <at> debbugs.gnu.org (full text, mbox):
----- Original Message -----
From: "jeff.liu" <jeff.liu <at> oracle.com>
To: "Pádraig Brady" <P <at> draigBrady.com>
Cc: <5927 <at> debbugs.gnu.org>
Sent: Monday, April 12, 2010 7:54 AM
Subject: bug#5927: `xz' command not found when running 'make dist
anddistcheck'
Pádraig Brady wrote:
> On 11/04/10 15:42, jeff.liu wrote:
>> 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
>>
there, tar is used with a pipe, so tar has no xz requirement
...
> But I am facing another 'make distcheck' issue even if `xz' available but
the `tar' does not updated
> to the version which support '-J' or '-xz' options.
>
> The 'make distcheck' error shown as following:
> .....
> .....
> mkdir -p /home/jeff/opensource_dev/coreutils/tests/torture/coreutils/test
> /bin/bash /home/jeff/opensource_dev/coreutils/build-aux/missing --run
tar -Jxf
> coreutils-8.4.86-e6f6bb.tar.xz -C
/home/jeff/opensource_dev/coreutils/tests/torture/coreutils/test
> tar: invalid option -- J
>
why not use a pipe there too instead of -J?
Gilles
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.