Warning about git from 'make test' on Windows

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Jun 2 23:10:09 UTC 2022


On 2022-06-02 21:26, Andrey Turbanov wrote:
> Hello.
> I noticed strange warnings produced by 'make test' recently on my
> Win11 installation. For example:
>
> $ make test TEST="tier1"
> Building target 'test' in configuration 'windows-x86_64-server-release'
> /usr/bin/bash: Files/Git/cmd/git: No such file or directory
> /usr/bin/bash: Files/Git/cmd/git: No such file or directory
> Test selection 'tier1', will run:
>
>
> Also found this in
> build\windows-x86_64-server-release\configure-support\config.log
>
> configure:29274: checking for git
> configure:29502: result:  Files/Git/cmd/git
>
> Seems like space in git path is incorrectly handled.
> Is it a known issue or is it a limitation of autoconf?
Spaces in paths is always tricky and is best avoided. That being said, 
we try to make autoconf robust for tools in directories with space in them.

Are you running in Cygwin?

Can you verify that your C: drive can use short paths. See 
https://openjdk.java.net/groups/build/doc/building.html#spaces-in-path

/Magnus
>
> Andrey Turbanov




More information about the build-dev mailing list