Host Environment
- OS: Windows
- Compiler: Version 19.29.30137 for x86
To Reproduce
Steps to reproduce the behavior:
- fresh vcpkg repo clone
vcpkg install getdns
Failure logs
Tail of C:\work\vcpkg>type C:\work\vcpkg\buildtrees\getdns\install-x86-windows-dbg-out.log:
...
-- Installing: C:/work/vcpkg/packages/getdns_x86-windows/debug/share/doc/getdns/ChangeLog
FAILED: CMakeFiles/install.util
cmd.exe /C "cd /D C:\work\vcpkg\buildtrees\getdns\x86-windows-dbg && C:\work\vcpkg\downloads\tools\cmake-3.21.1-windows\cmake-3.21.1-windows-i386\bin\cmake.exe -P cmake_install.cmake"
ninja: build stopped: subcommand failed.
C:\work\vcpkg>type C:\work\vcpkg\buildtrees\getdns\install-x86-windows-dbg-err.log:
CMake Error at cmake_install.cmake:52 (file):
file INSTALL cannot find
"C:/work/vcpkg/buildtrees/getdns/src/1.7.0-0577a67b18.clean/COPYING": File
exists.
Workaround
Create the COPYING file and use the --editable Flag of vcpkg to build the port:
./vcpkg install getdns then wait for error to occur
./vcpkg install --editable getdns then wait again for error to occur
- create the file mentioned in
C:\work\vcpkg>type C:\work\vcpkg\buildtrees\getdns\install-x86-windows-dbg-err.log. E. g. C:/work/vcpkg/buildtrees/getdns/src/1.7.0-0577a67b18.clean/COPYING
./vcpkg install --editable getdns succeeds now
Host Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg install getdnsFailure logs
Tail of
C:\work\vcpkg>type C:\work\vcpkg\buildtrees\getdns\install-x86-windows-dbg-out.log:C:\work\vcpkg>type C:\work\vcpkg\buildtrees\getdns\install-x86-windows-dbg-err.log:Workaround
Create the
COPYINGfile and use the--editableFlag of vcpkg to build the port:./vcpkg install getdnsthen wait for error to occur./vcpkg install --editable getdnsthen wait again for error to occurC:\work\vcpkg>type C:\work\vcpkg\buildtrees\getdns\install-x86-windows-dbg-err.log. E. g.C:/work/vcpkg/buildtrees/getdns/src/1.7.0-0577a67b18.clean/COPYING./vcpkg install --editable getdnssucceeds now