GNU bug report logs - #15255
coreutils should requires "patch" command 2.6 or later

Previous Next

Package: coreutils;

Reported by: FUJIWARA Katsunori <foozy <at> lares.dti.ne.jp>

Date: Tue, 3 Sep 2013 10:04:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: FUJIWARA Katsunori <foozy <at> lares.dti.ne.jp>
To: 15255 <at> debbugs.gnu.org
Subject: bug#15255: coreutils should requires "patch" command 2.6 or later
Date: Tue, 03 Sep 2013 19:02:12 +0900
With recent coreutils, "patch" command 2.5.9 causes failure of
"./bootstrap" as below:

  gnulib/gnulib-tool: *** patch file gl/modules/tempname.diff didn't apply cleanly
  gnulib/gnulib-tool: *** Stop.
  missing header for unified diff at line 12 of patch
  The text leading up to this was:
  --------------------------
  |
  | Files:
  | lib/tempname.c
  --------------------------
  File to patch: EOF
  Skip this patch? [y]
  1 out of 1 hunk ignored
  gnulib/gnulib-tool: *** patch file gl/modules/tempname.diff didn't apply cleanly
  gnulib/gnulib-tool: *** Stop.
  ./bootstrap[348]: build-aux/prefix-gnulib-mk: not found [No such file or directory]
  ./bootstrap: bootstrap_post_import_hook failed

"patch" command 2.6 or later can avoid this error.

"./bootstrap" should check not only availability of "patch" command,
but also version of it.

diff --git a/bootstrap.conf b/bootstrap.conf
index 0863590..2535b20 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -324,7 +324,7 @@ git        1.4.4
 gperf      -
 gzip       -
 makeinfo   4.13
-patch      -
+patch      2.6
 perl       5.5
 rsync      -
 tar        -

----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy <at> lares.dti.ne.jp




This bug report was last modified 11 years and 263 days ago.

Previous Next


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