{"action":"closed","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/844","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/844/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/844/events","html_url":"https://github.com/LLNL/spack/issues/844","id":151289858,"number":844,"title":"Cannot install openssl from a machine without internet access","user":{"login":"KineticTheory","id":17579601,"avatar_url":"https://avatars.githubusercontent.com/u/17579601?v=3","gravatar_id":"","url":"https://api.github.com/users/KineticTheory","html_url":"https://github.com/KineticTheory","followers_url":"https://api.github.com/users/KineticTheory/followers","following_url":"https://api.github.com/users/KineticTheory/following{/other_user}","gists_url":"https://api.github.com/users/KineticTheory/gists{/gist_id}","starred_url":"https://api.github.com/users/KineticTheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KineticTheory/subscriptions","organizations_url":"https://api.github.com/users/KineticTheory/orgs","repos_url":"https://api.github.com/users/KineticTheory/repos","events_url":"https://api.github.com/users/KineticTheory/events{/privacy}","received_events_url":"https://api.github.com/users/KineticTheory/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-27T03:16:15Z","updated_at":"2016-04-27T20:29:50Z","closed_at":"2016-04-27T20:29:50Z","body":"I expect to use sources from a local mirror when installing software on machines without internet access.  Spack fails to install openssl on such a system because it requires a ping of the download url.  The error is:\r\n\r\n```\r\n% spack install -v openssl%gcc\r\n==> Error: Class constructor failed for package 'openssl'.\r\n\r\nCaused by:\r\nIOError: [Errno socket error] [Errno 101] Network is unreachable\r\n```\r\n\r\nI can hack the `openssl/package.py` to make it work, but I think there should be a requirement that packages work for offline machines.\r\n\r\nComments?"}}