{"action":"opened","issue":{"url":"https://api.github.com/repos/EricssonResearch/cerbero/issues/36","labels_url":"https://api.github.com/repos/EricssonResearch/cerbero/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/EricssonResearch/cerbero/issues/36/comments","events_url":"https://api.github.com/repos/EricssonResearch/cerbero/issues/36/events","html_url":"https://github.com/EricssonResearch/cerbero/issues/36","id":113687891,"number":36,"title":"handle download errors","user":{"login":"shoreflyer","id":622232,"avatar_url":"https://avatars.githubusercontent.com/u/622232?v=3","gravatar_id":"","url":"https://api.github.com/users/shoreflyer","html_url":"https://github.com/shoreflyer","followers_url":"https://api.github.com/users/shoreflyer/followers","following_url":"https://api.github.com/users/shoreflyer/following{/other_user}","gists_url":"https://api.github.com/users/shoreflyer/gists{/gist_id}","starred_url":"https://api.github.com/users/shoreflyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoreflyer/subscriptions","organizations_url":"https://api.github.com/users/shoreflyer/orgs","repos_url":"https://api.github.com/users/shoreflyer/repos","events_url":"https://api.github.com/users/shoreflyer/events{/privacy}","received_events_url":"https://api.github.com/users/shoreflyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-27T21:00:06Z","updated_at":"2015-10-27T21:00:06Z","closed_at":null,"body":"Cerbero doesn't seem to handle download errors efficiently:\r\n\r\n[(3/24) xz -> fetch ]\r\n-----> Fetching tarball http://tukaani.org/xz/xz-5.2.0.tar.bz2 to /Users/christian/cerbero/sources/local/xz-5.2.0/xz-5.2.0.tar.bz2\r\n[(3/24) xz -> extract ]\r\n-----> Extracting tarball to /Users/christian/cerbero/sources/build-tools/xz-5.2.0\r\nUnpacking /Users/christian/cerbero/sources/local/xz-5.2.0/xz-5.2.0.tar.bz2 in /Users/christian/cerbero/sources/build-tools\r\n***** Error running 'bootstrap' command:\r\nRecipe 'xz' failed at the build step 'extract'...\r\n\r\nIf you try to access the file using a browser you get 403 forbidden, hence why the unzip fails if its trying to unzip source code of a resulting 403 page. I know you cannot do anything about where files are being hosted and how, but surely something can be done in handling the http error codes whilst downloading the files in question."}}