-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[thread] build failure on x64-windows #10218
Comments
Thanks for posting this issue. |
Thanks, Nancy! Tried your suggestion, and it went past boost-thread but got similar problems with
|
Went through similar exercise for boost-spirit, but it doesn't work for that case! :-(
|
Could you please try to use |
Same error in powershell:
|
@AjitDingankar |
Just confirmed that I can rename the above file manually.
However, I'm confused by the fact that the original script tried to use the rename command to move the file from TEMP to the parent directory src. |
Built after removing
and got the same error as before. |
@AjitDingankar |
I don't understand; ALL my files are under C: on the Windows laptop which only has one disk! |
Sorry, I don't know you only have one disk. |
Re: "Sorry, I don't know you only have one disk." Re: "I cannot reproduce this issue and also have no idea about this." Re: "I suggest that you clone vcpkg to a clean environment and try it again." |
Removed the buildtrees folder Still got the same errors! I'm about to give up on vcpkg... |
There are actually two reasons for this:
|
Thanks for the pointers!
|
I just cloned vcpkg again in %USERPROFILE%/git folder and tried it again:
After installing 5 packages it fails with the same error:
However, the source directory exists and the parent of the target is writeable:
|
@dan-shaw Could you please have a look? We cannot roll back the cmake version because we need some new cmake functionality (a Robert's PR). And I can occasionally reproduce this issue on a Windows machine. |
Duplicated to #8199 |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install boost:x64-windows
Failure logs
Starting package 67/148: boost-thread:x64-windows
Building package boost-thread[core]:x64-windows...
-- Using cached C:/Users/adingank/git/vcpkg/downloads/boostorg-thread-boost-1.72.0.tar.gz
-- Extracting source C:/Users/adingank/git/vcpkg/downloads/boostorg-thread-boost-1.72.0.tar.gz
CMake Error at scripts/cmake/vcpkg_extract_source_archive_ex.cmake:140 (file):
file RENAME failed to rename
to
because: No such file or directory
Call Stack (most recent call first):
scripts/cmake/vcpkg_from_github.cmake:139 (vcpkg_extract_source_archive_ex)
ports/boost-thread/portfile.cmake:5 (vcpkg_from_github)
scripts/ports.cmake:90 (include)
Error: Building package boost-thread:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-thread:x64-windows
Vcpkg version: 2020.02.04-nohash
Additional context
Previously I had tried just the
vcpkg install boost
which defaulted to the x86 architecture,and ran into similar issues.
The text was updated successfully, but these errors were encountered: