{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4555","repository_url":"https://api.github.com/repos/Microsoft/vcpkg","labels_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4555/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4555/comments","events_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4555/events","html_url":"https://github.com/Microsoft/vcpkg/issues/4555","id":373559902,"node_id":"MDU6SXNzdWUzNzM1NTk5MDI=","number":4555,"title":"How to work with an already downloaded source code distribution","user":{"login":"Toninoso","id":4206271,"node_id":"MDQ6VXNlcjQyMDYyNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4206271?v=4","gravatar_id":"","url":"https://api.github.com/users/Toninoso","html_url":"https://github.com/Toninoso","followers_url":"https://api.github.com/users/Toninoso/followers","following_url":"https://api.github.com/users/Toninoso/following{/other_user}","gists_url":"https://api.github.com/users/Toninoso/gists{/gist_id}","starred_url":"https://api.github.com/users/Toninoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toninoso/subscriptions","organizations_url":"https://api.github.com/users/Toninoso/orgs","repos_url":"https://api.github.com/users/Toninoso/repos","events_url":"https://api.github.com/users/Toninoso/events{/privacy}","received_events_url":"https://api.github.com/users/Toninoso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T16:05:47Z","updated_at":"2018-10-26T15:28:26Z","closed_at":"2018-10-26T15:28:26Z","author_association":"NONE","body":"Hi,\r\nI have a proxy in the office with the result that some packages get downloaded and built with no issues, but other fail in download phase. I can still get the package but I need to contact my IT department and they acquire it for me. \r\n\r\nIs there a way to install a package that was already downloaded? \r\n\r\nBTW below is the error that I get. Note that HTTPS_PROXY and HTTP_PROXY are both set on my machine and other packages get downloaded as expected - I can also download freetype package tar.bz2 file via the browser but proxy somehow prevents vcpkg download from freetype mirror site):\r\n\r\nE:\\Source\\Repos\\VcPkg>vcpkg install freetype:x64-windows\r\nThe following packages will be built and installed:\r\n    freetype[core]:x64-windows\r\nStarting package 1/1: freetype:x64-windows\r\nBuilding package freetype[core]:x64-windows...\r\n-- Downloading https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.8.1.tar.bz2...\r\n-- Downloading https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.8.1.tar.bz2...\r\nFailed. Status: 22;\"HTTP response code said error\"\r\nCMake Error at scripts/cmake/vcpkg_download_distfile.cmake:156 (message):\r\n\r\n      Failed to download file.\r\n      If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment\r\n      variables to \"https://user:password@your-proxy-ip-address:port/\".\r\n      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues\r\n\r\nCall Stack (most recent call first):\r\n  ports/freetype/portfile.cmake:4 (vcpkg_download_distfile)\r\n  scripts/ports.cmake:71 (include)\r\n\r\n\r\nError: Building package freetype:x64-windows failed with: BUILD_FAILED\r\nPlease ensure you're using the latest portfiles with `.\\vcpkg update`, then\r\nsubmit an issue at https://github.com/Microsoft/vcpkg/issues including:\r\n  Package: freetype:x64-windows\r\n  Vcpkg version: 2018.10.20-nohash\r\n\r\nAdditionally, attach any relevant sections from the log files above.\r\n\r\n"}}
{"actor":{"display_login":"Toninoso"}}