Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install x264:x64-windows
It could not cofigure at first, and I find the cause in vcpkg_configure_make.cmake (line 223):
string(REPLACE ";$ENV{SystemRoot}\\System32;" ";${MSYS_ROOT}/usr/share/automake-1.16;${MSYS_ROOT}/usr/bin;$ENV{SystemRoot}\\System32;" NEWPATH "$ENV{PATH}")
This intends to add some paths, however $ENV{PATH} of my system only contains C:\Windows\system32, not C:\Windows\System32, so it fails.
After I modify this, it configures and builds well, but fails again when installing.
install-x64-windows-dbg-err.log
install-x64-windows-dbg-out.log
It seems to be config errors, I have no idea how to fix it after trying some ways, so I come here to seek some help.
By the way, environment variables in system setting contains exactly C:\Windows\System32, not C:\Windows\system32.
There seems to be a lot of issues building this port (x264). I wonder what's going on!
Just downloaded master branch and no issues at all.

@abcping123 Let us know if we can be of any assistance.
@Neumann-A
Could you please help take a look?
It seems that there are still some problems when building x264after PR #11836 merged.
config-x86-wiindows-dbg-out.log
Unknown option --build=x86_64-pc-mingw32, ignored
Unknown option --disable-silent-rules, ignored
Unknown option --verbose, ignored
Unknown option --disable-static, ignored
Unknown system , edit the configure
config-x86-wiindows-dbg-err.log
./../src/14d026c3bd-bca2ebf740/configure: line 327: rm: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 328: rm: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 344: dirname: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 341: dirname: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 345: grep: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 554: /config.sub: No such file or directory
./../src/14d026c3bd-bca2ebf740/configure: line 565: basename: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 148: rm: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 167: cat: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 171: cat: command not found
./../src/14d026c3bd-bca2ebf740/configure: line 1: rm: command not found
I think it's time for us to switch to ShiftMedia
I met the same questions now. Is there a stable commit of vcpkg which can be used now?
@longnguyen2004 No, there is no need to do that.
@NancyLi1013 That seems to be an error introduced by @ras0219 changes to MSYS. (see https://github.com/microsoft/vcpkg/issues/13327#issue-691726380). It seems like x264 was forgotten to be removed from the skiplist.
This should be fixed by #13450 in master.
Alright I'll test it out
Most helpful comment
@longnguyen2004 No, there is no need to do that.
@NancyLi1013 That seems to be an error introduced by @ras0219 changes to MSYS. (see https://github.com/microsoft/vcpkg/issues/13327#issue-691726380). It seems like x264 was forgotten to be removed from the skiplist.