Skip to content

[getdns] Build error #21910

@xgcssch

Description

@xgcssch

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:

  1. ./vcpkg install getdns then wait for error to occur
  2. ./vcpkg install --editable getdns then wait again for error to occur
  3. 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
  4. ./vcpkg install --editable getdns succeeds now

Metadata

Metadata

Labels

category:port-bugThe issue is with a library, which is something the port should already supportrequires:reproThe issue is not currently repro-able

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions