-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gmp:x64-windows] build failure #12237
Comments
@LilyWangL Yes it will install fine if port LLGL is not installed (at least on vs2017, I still can not install it on vs2019 as it keeps saying the |
@LilyWangL cc: @JackBoosY - I finally was able to get gmp to install by changing file portfile.cmake from: |
Did you install cmake manually before cloning VCPKG? I install port LLGL and its all features, and I can install |
I have created my own portfile.cmake for gmp, nettle as they are the only 2 so far that keep failing if left in the vcpkg configuration being downloaded, well besides adding SKIP_CLEAN to all the ports using The other differences I can think of would be vcpkg itself is built 64 bit ( Only other difference could be... I am not sure, In other words, I use as much as a true 64-bit build environment as can be to create 64-bit binaries, as we have already seen in both shiva (64-bit python #7411) and nettle (64-bit yasm #12240) ports need 64-bit tools to properly build the 64-bit binaries |
I hear symlinks. Maybe @BillyONeal can comment since there were also issues using symlinks when rewriting vcpkg's CI and he might have encountered them all? |
@Neumann-A The issues we were having with symlinks were primarily infrastructure issues, not issues with any individual ports; e.g. problems with updating where the symlinks target or symlinks getting erroneously followed by 'git clean'. The solution was to cut symlinks out of the equation entirely, but the tool should still work in their presence. |
The problem that we're seeing is of the form:
https://james.darpinian.com/decoder/?q=-1073741819 says 'probably |
I close, I no longer use product. |
@ghost Reopening because I believe @JackBoosY was investigating |
… from source. Works around yasm/yasm#153 . Should resolve microsoft#12237 .
Host Environment
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
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
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.The text was updated successfully, but these errors were encountered: