After install DEPENDENCIES in the gnulib source code, it can run:

hello@world UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo
Module list with included dependencies (indented):
    absolute-header
    alignasof
    alignasof-tests
    assert-h
    assert-h-tests
    attribute
    c-ctype
    c-ctype-tests
    c99
    ctype
    ctype-tests
    extensions
    extern-inline
    gen-header
    havelib
    include_next
    intprops
    intprops-tests
    inttypes
    inttypes-incomplete
    inttypes-tests
    isblank
    isblank-tests
    limits-h
    limits-h-tests
    multiarch
    snippet/_Noreturn
    snippet/arg-nonnull
    snippet/c++defs
    snippet/warn-on-use
    ssize_t
    std-gnu11
    stdbool
    stdbool-tests
    stddef
    stddef-tests
    stdint
    stdint-tests
    stdlib
    stdlib-tests
    sys_types
    sys_types-tests
  terminfo
    terminfo-h
    terminfo-tests
    test-framework-sh
    test-framework-sh-tests
    unistd
    unistd-tests
    verify
    verify-tests
    wchar
    wchar-tests
File list:
  build-aux/config.rpath
  lib/_Noreturn.h
  lib/arg-nonnull.h
  lib/assert.in.h
  lib/attribute.h
  lib/c++defs.h
  lib/c-ctype.c
  lib/c-ctype.h
  lib/ctype.in.h
  lib/intprops-internal.h
  lib/intprops.h
  lib/inttypes.in.h
  lib/isblank.c
  lib/limits.in.h
  lib/stddef.in.h
  lib/stdint.in.h
  lib/stdlib.in.h
  lib/sys_types.in.h
  lib/terminfo.h
  lib/tparm.c
  lib/tputs.c
  lib/unistd.c
  lib/unistd.in.h
  lib/verify.h
  lib/warn-on-use.h
  lib/wchar.in.h
  m4/00gnulib.m4
  m4/absolute-header.m4
  m4/assert_h.m4
  m4/c-bool.m4
  m4/codeset.m4
  m4/ctype_h.m4
  m4/curses.m4
  m4/extensions.m4
  m4/extern-inline.m4
  m4/gnulib-common.m4
  m4/host-cpu-c-abi.m4
  m4/include_next.m4
  m4/inttypes.m4
  m4/isblank.m4
  m4/lib-ld.m4
  m4/lib-link.m4
  m4/lib-prefix.m4
  m4/limits-h.m4
  m4/locale-fr.m4
  m4/multiarch.m4
  m4/off64_t.m4
  m4/off_t.m4
  m4/pid_t.m4
  m4/ssize_t.m4
  m4/std-gnu11.m4
  m4/stdalign.m4
  m4/stddef_h.m4
  m4/stdint.m4
  m4/stdlib_h.m4
  m4/sys_types_h.m4
  m4/terminfo.m4
  m4/unistd_h.m4
  m4/warn-on-use.m4
  m4/wchar_h.m4
  m4/wchar_t.m4
  m4/wint_t.m4
  m4/zzgnulib.m4
  tests/init.sh
  tests/macros.h
  tests/signature.h
  tests/test-alignasof.c
  tests/test-assert.c
  tests/test-c-ctype.c
  tests/test-ctype.c
  tests/test-init.sh
  tests/test-intprops.c
  tests/test-inttypes.c
  tests/test-isblank.c
  tests/test-limits-h.c
  tests/test-stdbool.c
  tests/test-stddef.c
  tests/test-stdint.c
  tests/test-stdlib.c
  tests/test-sys_types.c
  tests/test-sys_wait.h
  tests/test-terminfo.c
  tests/test-unistd.c
  tests/test-verify-try.c
  tests/test-verify.c
  tests/test-verify.sh
  tests/test-wchar.c
executing aclocal -I glm4
executing autoconf
executing autoheader
executing touch config.h.in
executing automake --add-missing --copyconfigure.ac:8: installing
'build-aux/compile'configure.ac:4: installing
'build-aux/install-sh'configure.ac:4: installing 'build-aux/missing'
gllib/Makefile.am: installing 'build-aux/depcomp'
executing aclocal -I ../glm4
executing autoconf
executing autoheader
executing touch config.h.in
executing automake --add-missing --copy
parallel-tests: installing '../build-aux/test-driver'
patching file build-aux/test-driver

But only /tmp folder can be run, or “not overwriting destination directory”
error still occurs, why?

On Fri, Jul 5, 2024 at 1:34 AM Bruno Haible <br...@clisp.org> wrote:

> anlex N wrote:
> > patching file build-aux/test-driver
> > /e/workspace/github.com/gnu/gnulib/gnulib-tool.py: *** could not patch
> > test-driver script
> > /e/workspace/github.com/gnu/gnulib/gnulib-tool.py: *** Stop.
>
> I would guess that you don't have a 'patch' program in your PATH.
> Try
>   $ type patch
>   $ type patch.exe
>
> And review the DEPENDENCIES file, to see whether you are missing some
> other programs.
>
> Bruno
>
>
>
>

Reply via email to