bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] bootstrap difficulties


From: Eric Blake
Subject: [Bug-tar] bootstrap difficulties
Date: Mon, 22 Dec 2008 16:40:24 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I tried bootstrapping tar with the latest gnulib (to test out gnulib's mbiter 
fixes), and got some warnings followed by a hard error:

...
Notice from module memset:
  This module is obsolete.
Notice from module rmdir:
  This module is obsolete.
Notice from module strdup:
  This module is obsolete. But you may want to use the strdup-posix module.
...
./bootstrap: aclocal --force -I m4 ...
configure.ac:86: warning: gl_SIZE_MAX is m4_require'd but not m4_defun'd
m4/xsize.m4:7: gl_XSIZE is expanded from...
m4/gnulib-comp.m4:43: gl_INIT is expanded from...
configure.ac:86: the top level

This patch resolves things for me (also, the ChangeLog has a lot of whitespace 
errors, where it uses spaces instead of tabs at the beginning of a line, as 
well as some trailing whitespace).

Index: ChangeLog
===================================================================
RCS file: /sources/tar/tar/ChangeLog,v
retrieving revision 1.441
diff -u -p -r1.441 ChangeLog
--- ChangeLog   30 Nov 2008 12:33:12 -0000      1.441
+++ ChangeLog   22 Dec 2008 16:36:58 -0000
@@ -1,3 +1,11 @@
+2008-12-22  Eric Blake  <address@hidden>
+
+       Fix bootstrap with latest gnulib.
+       * gnulib.modules: Remove memset, rmdir.  Replace strdup with
+       strdup-posix.
+       * bootstrap.conf (avoided_gnulib_modules): No longer avoid
+       size_max.
+
 2008-11-30  Sergey Poznyakoff  <address@hidden>
 
        * src/xheader.c: Remove duplicate inclusion of fnmatch.h. Reported
Index: bootstrap.conf
===================================================================
RCS file: /sources/tar/tar/bootstrap.conf,v
retrieving revision 1.3
diff -u -p -r1.3 bootstrap.conf
--- bootstrap.conf      27 Jun 2007 14:06:55 -0000      1.3
+++ bootstrap.conf      22 Dec 2008 16:36:58 -0000
@@ -1,6 +1,6 @@
 # Bootstrap configuration.
 
-# Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -22,7 +22,6 @@
 # includes them because of gettext dependencies.
 avoided_gnulib_modules='
        --avoid=lock
-       --avoid=size_max
 '
 
 # gnulib modules used by this package.
@@ -52,7 +51,6 @@ excluded_files='
     m4/lcmessage.m4
     m4/lock.m4
     m4/printf-posix.m4
-    m4/size_max.m4
     m4/uintmax_t.m4
     m4/ulonglong.m4
     m4/visibility.m4
Index: gnulib.modules
===================================================================
RCS file: /sources/tar/tar/gnulib.modules,v
retrieving revision 1.13
diff -u -p -r1.13 gnulib.modules
--- gnulib.modules      7 Nov 2007 08:48:28 -0000       1.13
+++ gnulib.modules      22 Dec 2008 16:36:58 -0000
@@ -27,13 +27,11 @@ human
 inttypes
 lchown
 localcharset
-memset
 mkdtemp
 modechange
 obstack
 quote
 quotearg
-rmdir
 rpmatch
 safe-read
 save-cwd
@@ -44,7 +42,7 @@ stat-time
 stdbool
 stdint
 stpcpy
-strdup
+strdup-posix
 strerror
 strtol
 strtoul







reply via email to

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