bug-gnulib
[Top][All Lists]
Advanced

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

Re: We can not run gnulib-tool in the MinGW.


From: anlex N
Subject: Re: We can not run gnulib-tool in the MinGW.
Date: Thu, 4 Jul 2024 11:26:54 +0800

me@DESKTOP UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool --list

I run this command in the gnulib source code, but have no output, why?

me@DESKTOP UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool --create-testdir --dir=tmp/testdir terminfo
E:/workspace/github.com/gnu/gnulib/gnulib-tool.py: *** not overwriting destination directory: tmp/testdir
E:/workspace/github.com/gnu/gnulib/gnulib-tool.py: *** Stop.

I also can not run a simple example, why?

Google has no solution to these silly problems. so crazy.

I also run other style gnulib-tool command:

me@DESKTOP UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool.sh --create-testdir --dir=./tmp/testdir terminfo
./gnulib-tool.sh: *** not overwriting destination directory: ./tmp/testdir
./gnulib-tool.sh: *** Stop.

me@DESKTOP UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool.sh --create-testdir --dir='/e/workspace/github.com/gnu/gnulib/tmp/testdir' terminfo
./gnulib-tool.sh: *** not overwriting destination directory: /e/workspace/github.com/gnu/gnulib/tmp/testdir
./gnulib-tool.sh: *** Stop.

me@DESKTOP UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool.sh --create-testdir --dir='E:\workspace\github.com\gnu\gnulib\tmp\testdir' terminfo
./gnulib-tool.sh: *** not overwriting destination directory: E:\workspace\github.com\gnu\gnulib\tmp\testdir
./gnulib-tool.sh: *** Stop.

Although I run command on the non gnulib source code folder:

me@DESKTOPUCRT64 /e/workspace/github.com/gnu
$ gnulib/gnulib-tool --create-testdir --dir=tmp/testdir terminfo
E:/workspace/github.com/gnu/gnulib/gnulib-tool.py: *** not overwriting destination directory: tmp/testdir
E:/workspace/github.com/gnu/gnulib/gnulib-tool.py: *** Stop.

These all can not be overwritten, so crazy. oh my god.

Hello simon, I also follow your [.gitlab-ci.yml](https://gitlab.com/gsasl/libntlm/-/blob/master/.gitlab-ci.yml)


I get these error:

```shell
angle-n@DESKTOP-5HNPO12 UCRT64 /e/workspace/github.com/gnu/gnulib
$ ./gnulib-tool --create-testdir --dir=/tmp/testdir2 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 --copy
configure.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
/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.
``


On Thu, Jul 4, 2024 at 1:53 AM Simon Josefsson <simon@josefsson.org> wrote:
anlex N <an0291170@gmail.com> writes:

> Hello Teacher!
> I value your feedback very much
>
> Nice to meet you. My name is anlex N <https://github.com/anlexN>.
>
> I am a verified google maintainer of popular open source projects.
>
> I am reviewing gnulib
> <https://www.gnu.org/software/gnulib/manual/gnulib.html>. I can not run
> gnulib-tool in the MinGW.
>
> please see the detail in this dicord
> <https://discord.com/channels/792780131906617355/1257539661434327132>
>
> How to solve?

Hi.  Please include the details in your bug report, logging into discord
to read things is a bad idea.

I am building libntlm that uses gnulib-tool on Windows with MinGW and it
works fine:

https://gitlab.com/gsasl/libntlm/-/jobs/6629527098

/Simon

reply via email to

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