-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
Host Environment
- OS: [Microsoft Windows [Version 10.0.19041.331]]
- Compiler: Visual Studio 2019 Version: 16.6.3 VS Tools Version: 14.26.28801
To Reproduce
Steps to reproduce the behavior:
SYSTEM@ANDROMEDA 07/02/2020 21:20:49 D:\Git\vs2019.prod
->vcpkg install gmp[core]:x64-windows nettle[core]:x64-windows
Additionally, attach any relevant sections from the log files above.
Failure logs
- Cut and past the appropriate build messages from the console output.
Computing installation plan...
The following packages will be built and installed:
gmp[core]:x64-windows
nettle[core]:x64-windows
Starting package 1/2: gmp:x64-windows
Building package gmp[core]:x64-windows...
-- Using cached D:/Git/vcpkg.downloads/ShiftMediaProject-gmp-e140dfc8668e96d7e56cbd46467945adcc6b3cc4.tar.gz
-- Extracting source D:/Git/vcpkg.downloads/ShiftMediaProject-gmp-e140dfc8668e96d7e56cbd46467945adcc6b3cc4.tar.gz
-- Applying patch vs.build.patch
-- Applying patch runtime.patch
-- Applying patch prefix.patch
-- Using source at D:/Git/vs2019.prod/buildtrees/gmp/src/adcc6b3cc4-2b6258d695
-- Building SMP/libgmp.sln for Release
-- Building SMP/libgmp.sln for Debug
-- Installing: D:/Git/vs2019.prod/packages/gmp_x64-windows/share/gmp/copyright
CMake Error at ports/gmp/portfile.cmake:61 (file):
file RENAME failed to rename
D:/Git/vs2019.prod/buildtrees/gmp/x64-windows-rel/adcc6b3cc4-2b6258d695/msvc/include
to
D:/Git/vs2019.prod/packages/gmp_x64-windows/include
because: File exists
Call Stack (most recent call first):
scripts/ports.cmake:76 (include)
Error: Building package gmp:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: gmp:x64-windows
Vcpkg version: 2020.02.04-nohash
- Please attach any additional failure logs mentioned in the console output.
See [libqcow] Update baseline #11238
Additional context
It appears gmp is trying to install its header (include) files in <vcpkg-root>\installed\x64-windows\include\include
-- which fails because I also have the LLGL port installed and it also has installed its header (include) files into <vcpkg-root>\installed\x64-windows\include\include\LLGL
(a separate issue I will submit under a separate issue.
Both are incorrect, I believe the gmp port files should just be in the <vcpkg-root>\install\x64-windows\include
and LLGL port should be in <vcpkg-port>\installed\x64-windows\include\LLGL
.
In other words there is one too many include
in the file destination paths.