bug-gnulib
[Top][All Lists]
Advanced

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

Re: recent gnulib changes require coreutils adaptations


From: Jim Meyering
Subject: Re: recent gnulib changes require coreutils adaptations
Date: Fri, 13 Jul 2007 22:00:57 +0200

Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>
>> I had to make some changes in order to get coreutils'
>> bootstrap procedure to succeed once again:
>
> That didn't quite work for me:
>
>    $ ./bootstrap --gnulib-srcdir=../gnulib
>    ./bootstrap: Bootstrapping from checked-out coreutils sources...
>    ...
>    ./bootstrap: ln -fs ../../gnulib/lib/yesno.c lib/yesno.c
>    ./bootstrap: ln -fs ../../gnulib/lib/yesno.h lib/yesno.h
>    ./bootstrap: cp -f ._bootmp/lib/uniwidth/.gitignore lib/uniwidth/.gitignore
>    ./bootstrap: line 354: lib/uniwidth/.gitignore: No such file or directory
>
> The following patch worked around the problem, though I admit I didn't
> try to understand the changes you made.
>
> * bootstrap (slurp): Make sure destination directory exists.
> diff --git a/bootstrap b/bootstrap
> index 442309c..4ca95e1 100755
> --- a/bootstrap
> +++ b/bootstrap
> @@ -396,6 +396,7 @@ slurp() {
>        for excluded_file in $excluded_files; do
>       test "$dir/$file" = "$excluded_file" && continue 2
>        done
> +      test -d $dir || mkdir -p $dir || exit
>        if test $file = Makefile.am; then
>          copied=$copied${sep}$gnulib_mk; sep=$nl
>       remove_intl='/^[^#].*\/intl/s/^/#/;'"s!$bt_regex/!!g"
> M ChangeLog
> M bootstrap
> Committed as 651a1d12aab2659a8b5b82172f7c8e0ab5ba96b2

Hi Paul,

Thanks for the report and patch.
However, I can't reproduce that:

    $ git clone git://git.sv.gnu.org/coreutils.git cu \
      && cd cu && ./bootstrap --gnulib-srcdir=/gnulib
    ...
    Creating ./._bootmp/lib/uniwidth/.gitignore
    ...
    ./bootstrap: done.  Now you can run './configure'.

Are you sure your copy of coreutils was up to date?




reply via email to

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