{"action":"created","issue":{"url":"https://api.github.com/repos/zoglauer/megalib/issues/13","repository_url":"https://api.github.com/repos/zoglauer/megalib","labels_url":"https://api.github.com/repos/zoglauer/megalib/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/zoglauer/megalib/issues/13/comments","events_url":"https://api.github.com/repos/zoglauer/megalib/issues/13/events","html_url":"https://github.com/zoglauer/megalib/issues/13","id":153499637,"number":13,"title":"Setup script fails when downloading Geant4 data","user":{"login":"markbandstra","id":1197880,"avatar_url":"https://avatars.githubusercontent.com/u/1197880?v=3","gravatar_id":"","url":"https://api.github.com/users/markbandstra","html_url":"https://github.com/markbandstra","followers_url":"https://api.github.com/users/markbandstra/followers","following_url":"https://api.github.com/users/markbandstra/following{/other_user}","gists_url":"https://api.github.com/users/markbandstra/gists{/gist_id}","starred_url":"https://api.github.com/users/markbandstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbandstra/subscriptions","organizations_url":"https://api.github.com/users/markbandstra/orgs","repos_url":"https://api.github.com/users/markbandstra/repos","events_url":"https://api.github.com/users/markbandstra/events{/privacy}","received_events_url":"https://api.github.com/users/markbandstra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-06T17:27:32Z","updated_at":"2016-05-06T19:29:45Z","closed_at":null,"body":"A clean install of MEGAlib today on Mac OSX using:\r\n\r\n```\r\ngit clone https://github.com/zoglauer/megalib MEGAlib\r\ncd MEGAlib\r\nbash setup.sh --release=dev --patch=yes --clean=yes\r\n```\r\n\r\nLed to the following error retrieving data for Geant:\r\n\r\n```\r\nCMake Error at /Users/<username>/Downloads/MEGAlib/external/geant4_v10.02.p01/geant4_v10.02.p01-build/Externals/G4SAIDDATA-1.1/src/G4SAIDDATA-stamp/download-G4SAIDDATA.cmake:27 (message):\r\n  error: downloading\r\n  'http://geant4.cern.ch/support/source/G4SAIDDATA.1.1.tar.gz' failed\r\n\r\n    status_code: 7\r\n    status_string: \"Couldn't connect to server\"\r\n    log: Adding handle: conn: 0x7fbe5a803e00\r\n\r\n  Adding handle: send: 0\r\n\r\n  Adding handle: recv: 0\r\n\r\n  Curl_addHandleToPipeline: length: 1\r\n\r\n  - Conn 0 (0x7fbe5a803e00) send_pipe: 1, recv_pipe: 0\r\n\r\n  About to connect() to geant4.cern.ch port 80 (#0)\r\n\r\n    Trying 188.184.163.48...\r\n\r\n  Failed connect to geant4.cern.ch:80; Operation timed out\r\n\r\n  Closing connection 0\r\n  \r\n\r\n\r\n\r\nmake[2]: *** [Externals/G4SAIDDATA-1.1/src/G4SAIDDATA-stamp/G4SAIDDATA-download] Error 1\r\nmake[1]: *** [CMakeFiles/G4SAIDDATA.dir/all] Error 2\r\n```\r\n\r\nI noticed that you can download the file straight from the [website](http://geant4.cern.ch/support/source). Curiously though, the following command hangs:\r\n\r\n```\r\nwget http://geant4.cern.ch/support/source/G4SAIDDATA.1.1.tar.gz\r\n```\r\n\r\nThis command, however, does not (although they need to fix their https certificate):\r\n```\r\nwget https://geant4.cern.ch/support/source/G4SAIDDATA.1.1.tar.gz --no-check-certificate\r\n```"},"comment":{"url":"https://api.github.com/repos/zoglauer/megalib/issues/comments/217537504","html_url":"https://github.com/zoglauer/megalib/issues/13#issuecomment-217537504","issue_url":"https://api.github.com/repos/zoglauer/megalib/issues/13","id":217537504,"user":{"login":"markbandstra","id":1197880,"avatar_url":"https://avatars.githubusercontent.com/u/1197880?v=3","gravatar_id":"","url":"https://api.github.com/users/markbandstra","html_url":"https://github.com/markbandstra","followers_url":"https://api.github.com/users/markbandstra/followers","following_url":"https://api.github.com/users/markbandstra/following{/other_user}","gists_url":"https://api.github.com/users/markbandstra/gists{/gist_id}","starred_url":"https://api.github.com/users/markbandstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbandstra/subscriptions","organizations_url":"https://api.github.com/users/markbandstra/orgs","repos_url":"https://api.github.com/users/markbandstra/repos","events_url":"https://api.github.com/users/markbandstra/events{/privacy}","received_events_url":"https://api.github.com/users/markbandstra/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:29:44Z","updated_at":"2016-05-06T19:29:44Z","body":"No, it is failing when building Geant, but for other (unknown) reasons, and after it has downloaded those files."}}