From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: "jeff.liu" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 11 Apr 2010 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 5927@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127099693815336 (code B ref -1); Sun, 11 Apr 2010 14:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Apr 2010 14:42:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yMb-0003zH-Tp for submit@debbugs.gnu.org; Sun, 11 Apr 2010 10:42:18 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yMZ-0003zC-KA for submit@debbugs.gnu.org; Sun, 11 Apr 2010 10:42:16 -0400 Received: from lists.gnu.org ([199.232.76.165]:48385) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O0yMU-0000NA-NA for submit@debbugs.gnu.org; Sun, 11 Apr 2010 10:42:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0yMU-0007I8-Dq for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:10 -0400 Received: from [140.186.70.92] (port=36463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0yMR-0007Fy-JV for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0yMP-0004Vt-Vz for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:07 -0400 Received: from rcsinet11.oracle.com ([148.87.113.123]:39467) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yMP-0004Vn-Qn for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:05 -0400 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3BEg1F9010913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 11 Apr 2010 14:42:02 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3BDlEqA011977 for ; Sun, 11 Apr 2010 14:42:00 GMT Received: from abhmt003.oracle.com by acsmt355.oracle.com with ESMTP id 151710461270996907; Sun, 11 Apr 2010 07:41:47 -0700 Received: from [123.119.101.109] (/123.119.101.109) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Apr 2010 07:41:47 -0700 Message-ID: <4BC1DFC8.8050204@oracle.com> Date: Sun, 11 Apr 2010 22:42:16 +0800 From: "jeff.liu" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4BC1DFB9.004F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) 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 Date: Sun, 11 Apr 2010 22:40:52 +0800 Subject: [PATCH] Add `xz-utils` pre-checking in bootstrap.conf Signed-off-by: Jie Liu --- 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 From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 11 Apr 2010 15:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: "jeff.liu" Cc: 5927@debbugs.gnu.org Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.127099897816200 (code B ref 5927); Sun, 11 Apr 2010 15:17:01 +0000 Received: (at 5927) by debbugs.gnu.org; 11 Apr 2010 15:16:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0ytW-0004DF-FF for submit@debbugs.gnu.org; Sun, 11 Apr 2010 11:16:18 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0ytS-0004DA-SQ for 5927@debbugs.gnu.org; Sun, 11 Apr 2010 11:16:16 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id 54D9A81803D; Sun, 11 Apr 2010 17:16:05 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp3-g21.free.fr (Postfix) with ESMTP id 76DD4818047; Sun, 11 Apr 2010 17:16:03 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 5A187682; Sun, 11 Apr 2010 17:16:03 +0200 (CEST) From: Jim Meyering In-Reply-To: <4BC1DFC8.8050204@oracle.com> (jeff liu's message of "Sun, 11 Apr 2010 22:42:16 +0800") References: <4BC1DFC8.8050204@oracle.com> Date: Sun, 11 Apr 2010 17:16:03 +0200 Message-ID: <87fx32rpe4.fsf@meyering.net> Lines: 57 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 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 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 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 From unknown Sun Jun 22 22:48:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "jeff.liu" Subject: bug#5927 closed by Jim Meyering (Re: bug#5927: `xz' command not found when running 'make dist and distcheck') Message-ID: References: <87aatarp5b.fsf@meyering.net> <4BC1DFC8.8050204@oracle.com> X-Gnu-PR-Message: they-closed 5927 X-Gnu-PR-Package: coreutils Reply-To: 5927@debbugs.gnu.org Date: Sun, 11 Apr 2010 15:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1270999322-16362-1" This is a multi-part message in MIME format... ------------=_1270999322-16362-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 . 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 by replying to this email. --=20 5927: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5927 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1270999322-16362-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5927-done) by debbugs.gnu.org; 11 Apr 2010 15:21:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yyb-0004Fh-9Y for submit@debbugs.gnu.org; Sun, 11 Apr 2010 11:21:33 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yyZ-0004Fb-85 for 5927-done@debbugs.gnu.org; Sun, 11 Apr 2010 11:21:31 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id C84C08180EC for <5927-done@debbugs.gnu.org>; Sun, 11 Apr 2010 17:21:23 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp3-g21.free.fr (Postfix) with ESMTP id E5710818167 for <5927-done@debbugs.gnu.org>; Sun, 11 Apr 2010 17:21:20 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 49B3B584; Sun, 11 Apr 2010 17:21:20 +0200 (CEST) From: Jim Meyering To: 5927-done@debbugs.gnu.org Subject: Re: bug#5927: `xz' command not found when running 'make dist and distcheck' In-Reply-To: <4BC1DFC8.8050204@oracle.com> (jeff liu's message of "Sun, 11 Apr 2010 22:42:16 +0800") References: <4BC1DFC8.8050204@oracle.com> Date: Sun, 11 Apr 2010 17:21:20 +0200 Message-ID: <87aatarp5b.fsf@meyering.net> Lines: 1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 5927-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) marking this as "done" in the tracker... ------------=_1270999322-16362-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Apr 2010 14:42:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yMb-0003zH-Tp for submit@debbugs.gnu.org; Sun, 11 Apr 2010 10:42:18 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yMZ-0003zC-KA for submit@debbugs.gnu.org; Sun, 11 Apr 2010 10:42:16 -0400 Received: from lists.gnu.org ([199.232.76.165]:48385) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O0yMU-0000NA-NA for submit@debbugs.gnu.org; Sun, 11 Apr 2010 10:42:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0yMU-0007I8-Dq for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:10 -0400 Received: from [140.186.70.92] (port=36463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0yMR-0007Fy-JV for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0yMP-0004Vt-Vz for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:07 -0400 Received: from rcsinet11.oracle.com ([148.87.113.123]:39467) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0yMP-0004Vn-Qn for bug-coreutils@gnu.org; Sun, 11 Apr 2010 10:42:05 -0400 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3BEg1F9010913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 11 Apr 2010 14:42:02 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3BDlEqA011977 for ; Sun, 11 Apr 2010 14:42:00 GMT Received: from abhmt003.oracle.com by acsmt355.oracle.com with ESMTP id 151710461270996907; Sun, 11 Apr 2010 07:41:47 -0700 Received: from [123.119.101.109] (/123.119.101.109) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Apr 2010 07:41:47 -0700 Message-ID: <4BC1DFC8.8050204@oracle.com> Date: Sun, 11 Apr 2010 22:42:16 +0800 From: "jeff.liu" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: `xz' command not found when running 'make dist and distcheck' Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4BC1DFB9.004F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) 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 Date: Sun, 11 Apr 2010 22:40:52 +0800 Subject: [PATCH] Add `xz-utils` pre-checking in bootstrap.conf Signed-off-by: Jie Liu --- 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 ------------=_1270999322-16362-1-- From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 11 Apr 2010 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: "jeff.liu" Cc: 5927@debbugs.gnu.org Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.127099971016529 (code B ref 5927); Sun, 11 Apr 2010 15:29:02 +0000 Received: (at 5927) by debbugs.gnu.org; 11 Apr 2010 15:28:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0z5J-0004IY-Jo for submit@debbugs.gnu.org; Sun, 11 Apr 2010 11:28:30 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O0z5H-0004IT-A4 for 5927@debbugs.gnu.org; Sun, 11 Apr 2010 11:28:28 -0400 Received: (qmail 87989 invoked from network); 11 Apr 2010 15:28:21 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 11 Apr 2010 15:28:21 -0000 Message-ID: <4BC1EA82.60508@draigBrady.com> Date: Sun, 11 Apr 2010 16:28:02 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 References: <4BC1DFC8.8050204@oracle.com> In-Reply-To: <4BC1DFC8.8050204@oracle.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) 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 > > > 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 > Date: Sun, 11 Apr 2010 22:40:52 +0800 > Subject: [PATCH] Add `xz-utils` pre-checking in bootstrap.conf > > Signed-off-by: Jie Liu > --- > 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. Note we used to have a requirement on the equivalent lzma util but that was removed due to being unavailable on our build bot for example http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=cc0f637b However things have moved forward and xz should be packaged for most systems, so I think we should probably apply this to get early warning about the xz dependency. cheers, Pádraig. From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: "jeff.liu" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 12 Apr 2010 05:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady Cc: 5927@debbugs.gnu.org Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.12710517427407 (code B ref 5927); Mon, 12 Apr 2010 05:56:01 +0000 Received: (at 5927) by debbugs.gnu.org; 12 Apr 2010 05:55:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1CcX-0001vQ-Iq for submit@debbugs.gnu.org; Mon, 12 Apr 2010 01:55:41 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1CcV-0001vL-91 for 5927@debbugs.gnu.org; Mon, 12 Apr 2010 01:55:40 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3C5tX9W028303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Apr 2010 05:55:35 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3BHeWBj016826; Mon, 12 Apr 2010 05:55:32 GMT Received: from abhmt010.oracle.com by acsmt354.oracle.com with ESMTP id 152412581271051654; Sun, 11 Apr 2010 22:54:14 -0700 Received: from [10.182.120.235] (/10.182.120.235) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Apr 2010 22:54:14 -0700 Message-ID: <4BC2B5A3.80302@oracle.com> Date: Mon, 12 Apr 2010 13:54:43 +0800 From: "jeff.liu" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 References: <4BC1DFC8.8050204@oracle.com> <4BC1EA82.60508@draigBrady.com> In-Reply-To: <4BC1EA82.60508@draigBrady.com> Content-Type: text/plain; charset=ISO-8859-1 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4BC2B5D5.00C0:SCFMA4539814,ss=1,fgs=0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rcsinet12.oracle.com id o3C5tX9W028303 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) P=E1draig 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=3Dcoreutils-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 th= e >> command line arguments. >> make: *** [dist] Error 127 >> >> >> Is it make sense to add the pre-checking for `xz-utils' in 'boottrap.c= onf' like below? >> >> >From e6f6bb41a4bb443cf894c151390182d23b2f957d Mon Sep 17 00:00:00 200= 1 >> From: Jie Liu >> Date: Sun, 11 Apr 2010 22:40:52 +0800 >> Subject: [PATCH] Add `xz-utils` pre-checking in bootstrap.conf >> >> Signed-off-by: Jie Liu >> --- >> 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. >=20 > Note we used to have a requirement on the equivalent lzma util > but that was removed due to being unavailable on our build bot for exam= ple > http://git.savannah.gnu.org/gitweb/?p=3Dcoreutils.git;a=3Dcommitdiff;h=3D= cc0f637b > However things have moved forward and xz should be packaged for most > systems, so I think we should probably apply this to get early warning > about the xz dependency. Thanks for the info! 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/tes= ts/torture/coreutils/test tar: invalid option -- J Try `tar --help' or `tar --usage' for more information. 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[2]: *** [my-distcheck] Error 1 make[2]: Leaving directory `/home/jeff/opensource_dev/coreutils' make[1]: *** [distcheck-hook] Error 2 make[1]: Leaving directory `/home/jeff/opensource_dev/coreutils' make: *** [distcheck] Error 1 AFAICS, there have 3 ways to fix this problem: 1st, add `tar' version requirement for which at least support the xz pack= age format in bootstrap.conf, but looks this fix is not reasonable. 2nd, by referring to the link http://git.savannah.gnu.org/gitweb/?p=3Dcoreutils.git;a=3Dcommitdiff;h=3D= cc0f637b), maybe a better way is just skipping the pre-checking for `xz' as well as 'tar -Jxf' during 'mak= e distcheck' if the 'xz-utils' does not shipped with the system. 3rd, still enable the pre-checking for `xz' in bootstrap.conf, but skip `= tar -Jxf' in 'make distcheck' stage. > cheers, > P=E1draig. Cheers, -Jeff From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: "jeff.liu" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 12 Apr 2010 05:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jim Meyering Cc: 5927@debbugs.gnu.org Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.12710519327496 (code B ref 5927); Mon, 12 Apr 2010 05:59:02 +0000 Received: (at 5927) by debbugs.gnu.org; 12 Apr 2010 05:58:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1Cfc-0001wr-2L for submit@debbugs.gnu.org; Mon, 12 Apr 2010 01:58:52 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1Cfa-0001wg-42 for 5927@debbugs.gnu.org; Mon, 12 Apr 2010 01:58:50 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3C5wjKa025116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Apr 2010 05:58:46 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3C1Kxcn012828; Mon, 12 Apr 2010 05:58:44 GMT Received: from abhmt015.oracle.com by acsmt355.oracle.com with ESMTP id 165753731271051846; Sun, 11 Apr 2010 22:57:26 -0700 Received: from [10.182.120.235] (/10.182.120.235) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Apr 2010 22:57:26 -0700 Message-ID: <4BC2B663.6040600@oracle.com> Date: Mon, 12 Apr 2010 13:57:55 +0800 From: "jeff.liu" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 References: <4BC1DFC8.8050204@oracle.com> <87fx32rpe4.fsf@meyering.net> In-Reply-To: <87fx32rpe4.fsf@meyering.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4BC2B694.0132:SCFMA4539814,ss=1,fgs=0 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Jim Meyering wrote: > 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 > > 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 > 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 > > > > Thanks! but unfortunately, I run into another issue for 'make distcheck' regarding to the `tar -J' option: ..... 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 Try `tar --help' or `tar --usage' for more information. 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[2]: *** [my-distcheck] Error 1 make[2]: Leaving directory `/home/jeff/opensource_dev/coreutils' make[1]: *** [distcheck-hook] Error 2 make[1]: Leaving directory `/home/jeff/opensource_dev/coreutils' make: *** [distcheck] Error 1 Maybe we need another approach to handle the `xz` not available case. Thanks, -Jeff From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist anddistcheck' In-Reply-To: <4BC1DFC8.8050204@oracle.com> Resent-From: "Gilles Espinasse" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 12 Apr 2010 06:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady , "jeff.liu" Cc: 5927@debbugs.gnu.org Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.12710532498144 (code B ref 5927); Mon, 12 Apr 2010 06:21:02 +0000 Received: (at 5927) by debbugs.gnu.org; 12 Apr 2010 06:20:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1D0r-00027J-C3 for submit@debbugs.gnu.org; Mon, 12 Apr 2010 02:20:49 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1Cuh-00024a-As for 5927@debbugs.gnu.org; Mon, 12 Apr 2010 02:14:28 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id D91E29400C6; Mon, 12 Apr 2010 08:14:19 +0200 (CEST) Received: from pii350 (vir91-2-82-236-101-3.fbx.proxad.net [82.236.101.3]) by smtp1-g21.free.fr (Postfix) with SMTP id D6D1A9400E3; Mon, 12 Apr 2010 08:14:16 +0200 (CEST) Message-ID: <15c201cada07$20d75690$f9b5a8c0@pii350> From: "Gilles Espinasse" References: <4BC1DFC8.8050204@oracle.com> <4BC1EA82.60508@draigBrady.com> <4BC2B5A3.80302@oracle.com> Date: Mon, 12 Apr 2010 08:12:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Mailman-Approved-At: Mon, 12 Apr 2010 02:20:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) ----- Original Message -----=20 From: "jeff.liu" To: "P=E1draig Brady" Cc: <5927@debbugs.gnu.org> Sent: Monday, April 12, 2010 7:54 AM Subject: bug#5927: `xz' command not found when running 'make dist anddistcheck' P=E1draig 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=3Dcoreutils-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 th= e >> 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 b= ut 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/te= st > /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 From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 12 Apr 2010 06:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: "jeff.liu" Cc: 5927@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.12710533928221 (code B ref 5927); Mon, 12 Apr 2010 06:24:01 +0000 Received: (at 5927) by debbugs.gnu.org; 12 Apr 2010 06:23:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1D38-00028Y-SV for submit@debbugs.gnu.org; Mon, 12 Apr 2010 02:23:11 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1D35-00028B-Lt for 5927@debbugs.gnu.org; Mon, 12 Apr 2010 02:23:09 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id 89821818122; Mon, 12 Apr 2010 08:22:55 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp3-g21.free.fr (Postfix) with ESMTP id A1D338180E5; Mon, 12 Apr 2010 08:22:53 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 82A39EB8; Mon, 12 Apr 2010 08:22:53 +0200 (CEST) From: Jim Meyering In-Reply-To: <4BC2B5A3.80302@oracle.com> (jeff liu's message of "Mon, 12 Apr 2010 13:54:43 +0800") References: <4BC1DFC8.8050204@oracle.com> <4BC1EA82.60508@draigBrady.com> <4BC2B5A3.80302@oracle.com> Date: Mon, 12 Apr 2010 08:22:53 +0200 Message-ID: <87ljctp4ua.fsf@meyering.net> Lines: 36 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) jeff.liu wrote: ... > 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: > /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 > Try `tar --help' or `tar --usage' for more information. > 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. For now, I suggest you simply install a new enough version of tar, as suggested. We assume that someone interested enough to run "make distcheck" is also using a system that is sufficiently modern. If your system/tools are not up to date enough, you'll probably encounter other problems, too. >From HACKING, Run "make syntax-check", or even "make distcheck" ================================================ Making either of those targets runs many integrity and project-specific policy-conformance tests. For example, the former ensures that you add no trailing blanks and no uses of certain deprecated functions. The latter performs all "syntax-check" tests, and also ensures that the build completes with no warnings when using a certain set of gcc -W... options. ** Don't even bother running "make distcheck" ** unless you have a reasonably up to date installation including recent ** versions of gcc and the linux kernel, and modern GNU tools. From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist and distcheck' Resent-From: "jeff.liu" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 12 Apr 2010 06:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jim Meyering Cc: 5927@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.127105385110463 (code B ref 5927); Mon, 12 Apr 2010 06:31:01 +0000 Received: (at 5927) by debbugs.gnu.org; 12 Apr 2010 06:30:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1DAY-0002ii-QY for submit@debbugs.gnu.org; Mon, 12 Apr 2010 02:30:51 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1DAW-0002id-Vs for 5927@debbugs.gnu.org; Mon, 12 Apr 2010 02:30:49 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3C6Uh4l028710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Apr 2010 06:30:45 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3C0UgYu018591; Mon, 12 Apr 2010 06:30:43 GMT Received: from abhmt005.oracle.com by acsmt354.oracle.com with ESMTP id 152476781271053749; Sun, 11 Apr 2010 23:29:09 -0700 Received: from [10.182.120.235] (/10.182.120.235) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Apr 2010 23:29:09 -0700 Message-ID: <4BC2BDD1.4020506@oracle.com> Date: Mon, 12 Apr 2010 14:29:37 +0800 From: "jeff.liu" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 References: <4BC1DFC8.8050204@oracle.com> <4BC1EA82.60508@draigBrady.com> <4BC2B5A3.80302@oracle.com> <87ljctp4ua.fsf@meyering.net> In-Reply-To: <87ljctp4ua.fsf@meyering.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4BC2BE13.00FF:SCFMA4539814,ss=1,fgs=0 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Jim Meyering wrote: > jeff.liu wrote: > ... >> 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: >> /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 >> Try `tar --help' or `tar --usage' for more information. >> 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. > > For now, I suggest you simply install a new enough version of tar, > as suggested. > Yeah, I updated to the upstream tar, its ok now. > We assume that someone interested enough to run "make distcheck" is > also using a system that is sufficiently modern. > If your system/tools are not up to date enough, you'll probably > encounter other problems, too. > > From HACKING, > > Run "make syntax-check", or even "make distcheck" > ================================================ > Making either of those targets runs many integrity and > project-specific policy-conformance tests. For example, the former > ensures that you add no trailing blanks and no uses of certain deprecated > functions. The latter performs all "syntax-check" tests, and also > ensures that the build completes with no warnings when using a certain > set of gcc -W... options. > > ** Don't even bother running "make distcheck" > ** unless you have a reasonably up to date installation including recent > ** versions of gcc and the linux kernel, and modern GNU tools. Thanks, -Jeff From unknown Sun Jun 22 22:48:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5927: `xz' command not found when running 'make dist anddistcheck' Resent-From: "jeff.liu" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 12 Apr 2010 06:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5927 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Gilles Espinasse Cc: 5927@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady Received: via spool by 5927-submit@debbugs.gnu.org id=B5927.127105422510908 (code B ref 5927); Mon, 12 Apr 2010 06:38:02 +0000 Received: (at 5927) by debbugs.gnu.org; 12 Apr 2010 06:37:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1DGb-0002ps-Fa for submit@debbugs.gnu.org; Mon, 12 Apr 2010 02:37:05 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1DGY-0002p0-TM for 5927@debbugs.gnu.org; Mon, 12 Apr 2010 02:37:03 -0400 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3C6avOb011681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Apr 2010 06:36:59 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3BNjtqQ027060; Mon, 12 Apr 2010 06:36:56 GMT Received: from abhmt004.oracle.com by acsmt353.oracle.com with ESMTP id 152489401271054163; Sun, 11 Apr 2010 23:36:03 -0700 Received: from [10.182.120.235] (/10.182.120.235) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Apr 2010 23:36:02 -0700 Message-ID: <4BC2BF6E.5060406@oracle.com> Date: Mon, 12 Apr 2010 14:36:30 +0800 From: "jeff.liu" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 References: <4BC1DFC8.8050204@oracle.com> <4BC1EA82.60508@draigBrady.com> <4BC2B5A3.80302@oracle.com> <15c201cada07$20d75690$f9b5a8c0@pii350> In-Reply-To: <15c201cada07$20d75690$f9b5a8c0@pii350> Content-Type: text/plain; charset=iso-8859-1 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4BC2BF89.00DD:SCFMA4539814,ss=1,fgs=0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by acsinet11.oracle.com id o3C6avOb011681 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Gilles Espinasse wrote: > ----- Original Message -----=20 > From: "jeff.liu" > To: "P=E1draig Brady" > Cc: <5927@debbugs.gnu.org> > Sent: Monday, April 12, 2010 7:54 AM > Subject: bug#5927: `xz' command not found when running 'make dist > anddistcheck' >=20 >=20 > P=E1draig 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=3Dcoreutils-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 argument= s. >>> You may want to install GNU tar or Free paxutils, or check t= he >>> command line arguments. >>> make: *** [dist] Error 127 >>> > there, tar is used with a pipe, so tar has no xz requirement >=20 > ... >=20 >> 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/t= est >> /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? hah, really a good idea, but as Jim mentioned, update tar to the proper v= ersion conform to the 'HACKING' preferences. >=20 > Gilles >=20 Thanks, -Jeff