Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install _**x**_265:x64-windows
Failure logs
**C**:\src\vcpkg-2020.07>vcpkg install x265:x64-windows
Computing installation plan...
The following packages will be built and installed:
x265[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: x265:x64-windows
Building package x265[core]:x64-windows...
Could not locate cached archive: C:\Users\joao2\AppData\Local\vcpkg\archives\11\11e7d51cf7e10e39e8bfef30cb766b2051a88940.zip
-- Downloading https://bitbucket.com/multicoreware/x265/get/3.2.tar.gz...
-- Downloading https://bitbucket.com/multicoreware/x265/get/3.2.tar.gz... Failed. Status: 22;"HTTP response code said error"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:176 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first):
scripts/cmake/vcpkg_from_bitbucket.cmake:127 (vcpkg_download_distfile)
ports/x265/portfile.cmake:3 (vcpkg_from_bitbucket)
scripts/ports.cmake:79 (include)
Error: Building package x265: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: x265:x64-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
C:\src\vcpkg-2020.07>vcpkg install x265:x64-windows
Computing installation plan...
The following packages will be built and installed:
x265[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: x265:x64-windows
Building package x265[core]:x64-windows...
Could not locate cached archive: C:\Users\joao2\AppData\Local\vcpkg\archives\11\11e7d51cf7e10e39e8bfef30cb766b2051a88940.zip
-- Downloading https://bitbucket.com/multicoreware/x265/get/3.2.tar.gz...
-- Downloading https://bitbucket.com/multicoreware/x265/get/3.2.tar.gz... Failed. Status: 22;"HTTP response code said error"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:176 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first):
scripts/cmake/vcpkg_from_bitbucket.cmake:127 (vcpkg_download_distfile)
ports/x265/portfile.cmake:3 (vcpkg_from_bitbucket)
scripts/ports.cmake:79 (include)
Error: Building package x265: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: x265:x64-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
Additional context
Basically, tried (it (all)_)_ twice, thinking it) to be only a (little) network problem. _:_-( ;-)
Appears you need to refresh vcpkg as you have an old port file pulling v3.2 from a now defunct URL. The new portfile pulls v3.4 from bitbucket...
cd [vcpkg-root]git pull.\bootstrap-vcpkg.sh.\vcpkg update and/or .\vcpkg upgrade.\vcpkg install x265:x64-windows againHi @MrBolt2005 ,Thanks for reporting this issue!
You can try @StarGate-One 's method first. I cannot reproduce your problem locally. I suggest you try it on the latest x256 version.
````
-- Installing: F:/test/vcpkg/packages/x265_x64-windows/share/x265/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:Users\vzhli17\AppData\Local\vcpkgarchives\e8\e8b3f59b99902d31589f46781f7a5c4357fd9bd5.zip
Building package x265[core]:x64-windows... done
Installing package x265[core]:x64-windows...
Installing package x265[core]:x64-windows... done
Elapsed time for package x265:x64-windows: 6.118 min
Total elapsed time: 6.179 min
````
Trying to update the git gives me:
c:\src\vcpkg-2020.07>git pull
fatal: not a git repository (or any of the parent directories): .git
Enviado do Emailhttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
De: JonLiu1993notifications@github.com
Enviado:quarta-feira, 28 de outubro de 2020 00:15
Para: microsoft/vcpkgvcpkg@noreply.github.com
Cc:MrBolt2005joao2ojf@hotmail.com; Mentionmention@noreply.github.com
Assunto: Re: [microsoft/vcpkg] [x265:x64-windows] build failure (#14251)
Hi @MrBolt2005https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMrBolt2005&data=04%7C01%7C%7C4cc3115ebab44d13b9ef08d87aefb83b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637394517285955520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=l2cv%2BFd098qN12F6j34I%2FxePm4wfFe8DQ33DB6wmvNc%3D&reserved=0 ,Thanks for reporting this issue!
You can try @StarGate-Onehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStarGate-One&data=04%7C01%7C%7C4cc3115ebab44d13b9ef08d87aefb83b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637394517285965515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7dMfD7M6NhSSTRIUAWYnbs7qQlJmy8PJYoPPRzQ%2F7Lw%3D&reserved=0 's method first. I cannot reproduce your problem locally. I suggest you try it on the latest x256 version.
-- Installing: F:/test/vcpkg/packages/x265_x64-windows/share/x265/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:Users\vzhli17\AppData\Local\vcpkgarchives\e8\e8b3f59b99902d31589f46781f7a5c4357fd9bd5.zip
Building package x265[core]:x64-windows... done
Installing package x265[core]:x64-windows...
Installing package x265[core]:x64-windows... done
Elapsed time for package x265:x64-windows: 6.118 min
Total elapsed time: 6.179 min
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvcpkg%2Fissues%2F14251%23issuecomment-717668605&data=04%7C01%7C%7C4cc3115ebab44d13b9ef08d87aefb83b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637394517285965515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=88L%2Fy2QQTeFjHEFsdopZRojWH6QPZNhgchfgv2GSmq8%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQLMPX7ZDFVYWRMQYNEK7VLSM6EE7ANCNFSM4TAWPLUQ&data=04%7C01%7C%7C4cc3115ebab44d13b9ef08d87aefb83b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637394517285975512%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Hx6MenEeTfMcsnifOWbnpwPlJUu3SjL7w7dCW0XpYXc%3D&reserved=0.
How did you install vcpkg to begin with?
Normally it is installed with a git clone command... see https://github.com/microsoft/vcpkg#quick-start-windows
Most helpful comment
How did you install vcpkg to begin with?
Normally it is installed with a
git clonecommand... see https://github.com/microsoft/vcpkg#quick-start-windows