bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15255: coreutils should requires "patch" command 2.6 or later


From: FUJIWARA Katsunori
Subject: bug#15255: coreutils should requires "patch" command 2.6 or later
Date: Tue, 03 Sep 2013 19:02:12 +0900
User-agent: Wanderlust/2.15.7 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.3 (i386-msvc-nt6.1.7601) MULE/5.0 (SAKAKI) Meadow/3.02-dev (RINDOU) (2009-06-17 Rev.4261)

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]                             address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]