-
Notifications
You must be signed in to change notification settings - Fork 7.5k
[getdns] Build error #21910
Copy link
Copy link
Closed
Labels
category:port-bugThe issue is with a library, which is something the port should already supportThe issue is with a library, which is something the port should already supportrequires:reproThe issue is not currently repro-ableThe issue is not currently repro-able
Description
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 getdnsthen wait for error to occur./vcpkg install --editable getdnsthen 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 getdnssucceeds now
Reactions are currently unavailable
Metadata
Metadata
Labels
category:port-bugThe issue is with a library, which is something the port should already supportThe issue is with a library, which is something the port should already supportrequires:reproThe issue is not currently repro-ableThe issue is not currently repro-able