{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/10","labels_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/10/comments","events_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/10/events","html_url":"https://github.com/JuliaWeb/MbedTLS.jl/issues/10","id":113239816,"number":10,"title":"MbedTLS had build errors","user":{"login":"weijianzhang","id":7595454,"avatar_url":"https://avatars.githubusercontent.com/u/7595454?v=3","gravatar_id":"","url":"https://api.github.com/users/weijianzhang","html_url":"https://github.com/weijianzhang","followers_url":"https://api.github.com/users/weijianzhang/followers","following_url":"https://api.github.com/users/weijianzhang/following{/other_user}","gists_url":"https://api.github.com/users/weijianzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/weijianzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijianzhang/subscriptions","organizations_url":"https://api.github.com/users/weijianzhang/orgs","repos_url":"https://api.github.com/users/weijianzhang/repos","events_url":"https://api.github.com/users/weijianzhang/events{/privacy}","received_events_url":"https://api.github.com/users/weijianzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-25T17:56:45Z","updated_at":"2015-10-25T22:22:39Z","closed_at":"2015-10-25T22:22:39Z","body":"Hi, I received the following build error. \r\n```julia\r\njulia> Pkg.build(\"MbedTLS\")\r\nINFO: Building MbedTLS\r\nINFO: Attempting to Create directory /home/weijian/.julia/v0.4/MbedTLS/deps/downloads\r\nINFO: Directory /home/weijian/.julia/v0.4/MbedTLS/deps/downloads already created\r\nINFO: Downloading file https://tls.mbed.org/download/mbedtls-2.1.1-apache.tgz\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (77) error setting certificate verify locations:\r\n  CAfile: /etc/pki/tls/certs/ca-bundle.crt\r\n  CApath: none\r\n===============================[ ERROR: MbedTLS ]===============================\r\n\r\nLoadError: failed process: Process(`curl -f -o /home/weijian/.julia/v0.4/MbedTLS/deps/downloads/mbedtls-2.1.1-apache.tgz -L https://tls.mbed.org/download/mbedtls-2.1.1-apache.tgz`, ProcessExited(77)) [77]\r\nwhile loading /home/weijian/.julia/v0.4/MbedTLS/deps/build.jl, in expression starting on line 68\r\n\r\n================================================================================\r\n\r\n================================[ BUILD ERRORS ]================================\r\n\r\nWARNING: MbedTLS had build errors.\r\n\r\n - packages with build errors remain installed in /home/weijian/.julia/v0.4\r\n - build the package(s) and all dependencies with `Pkg.build(\"MbedTLS\")`\r\n - build a single package by running its `deps/build.jl` script\r\n\r\n================================================================================\r\n```\r\n\r\nThis is my Julia version\r\n```julia\r\njulia> versioninfo()\r\nJulia Version 0.4.0\r\nCommit 0ff703b* (2015-10-08 06:20 UTC)\r\nPlatform Info:\r\n  System: Linux (x86_64-linux-gnu)\r\n  CPU: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Sandybridge)\r\n  LAPACK: liblapack.so.3\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.3\r\n```\r\nDo you know how should I fix this? \r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/comments/150980075","html_url":"https://github.com/JuliaWeb/MbedTLS.jl/issues/10#issuecomment-150980075","issue_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/10","id":150980075,"user":{"login":"weijianzhang","id":7595454,"avatar_url":"https://avatars.githubusercontent.com/u/7595454?v=3","gravatar_id":"","url":"https://api.github.com/users/weijianzhang","html_url":"https://github.com/weijianzhang","followers_url":"https://api.github.com/users/weijianzhang/followers","following_url":"https://api.github.com/users/weijianzhang/following{/other_user}","gists_url":"https://api.github.com/users/weijianzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/weijianzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijianzhang/subscriptions","organizations_url":"https://api.github.com/users/weijianzhang/orgs","repos_url":"https://api.github.com/users/weijianzhang/repos","events_url":"https://api.github.com/users/weijianzhang/events{/privacy}","received_events_url":"https://api.github.com/users/weijianzhang/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T22:22:39Z","updated_at":"2015-10-25T22:22:39Z","body":"Yes, you are right. curl is not working. I just put that file into MbedTLS. It solved the problem. \r\nThanks very much.\r\n```\r\n$ curl -f -o /home/weijian/.julia/v0.4/MbedTLS/deps/downloads/mbedtls-2.1.1-apache.tgz -L https://tls.mbed.org/download/mbedtls-2.1.1-apache.tg\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (77) error setting certificate verify locations:\r\n  CAfile: /etc/pki/tls/certs/ca-bundle.crt\r\n  CApath: none\r\n```"}}