{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/18693","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/18693/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/18693/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/18693/events","html_url":"https://github.com/JuliaLang/julia/issues/18693","id":179431453,"number":18693,"title":"Make fails in 0.6-dev: \"error initializing LibGit2 module\"","user":{"login":"colbec","id":14130995,"avatar_url":"https://avatars.githubusercontent.com/u/14130995?v=3","gravatar_id":"","url":"https://api.github.com/users/colbec","html_url":"https://github.com/colbec","followers_url":"https://api.github.com/users/colbec/followers","following_url":"https://api.github.com/users/colbec/following{/other_user}","gists_url":"https://api.github.com/users/colbec/gists{/gist_id}","starred_url":"https://api.github.com/users/colbec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colbec/subscriptions","organizations_url":"https://api.github.com/users/colbec/orgs","repos_url":"https://api.github.com/users/colbec/repos","events_url":"https://api.github.com/users/colbec/events{/privacy}","received_events_url":"https://api.github.com/users/colbec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/libgit2","name":"libgit2","color":"0e8a16"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/linux","name":"linux","color":"117766"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-27T08:45:36Z","updated_at":"2016-09-27T20:38:37Z","closed_at":null,"body":"Using openSUSE Leap 42.1: \r\n24 hours ago a git pull followed by a `make && make testall` ran fine. This morning I had an error in make:\r\n\r\n```\r\n...\r\npatching file tests/online/badssl.c\r\nCMake Error: The current CMakeCache.txt directory /home/colin/Downloads/julia6/deps/scratch/libgit2-211e117a0590583a720c53172406f34186c543bd/CMakeCache.txt is different than the directory /home/colin/Downloads/julia/deps/scratch/libgit2-211e117a0590583a720c53172406f34186c543bd where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt\r\nCMake Error: The source \"/home/colin/Downloads/julia6/deps/srccache/libgit2-211e117a0590583a720c53172406f34186c543bd/CMakeLists.txt\" does not match the source \"/home/colin/Downloads/julia/deps/srccache/libgit2-211e117a0590583a720c53172406f34186c543bd/CMakeLists.txt\" used to generate cache.  Re-run cmake with a different source directory.\r\n/home/colin/Downloads/julia6/deps/libgit2.mk:66: recipe for target 'scratch/libgit2-211e117a0590583a720c53172406f34186c543bd/build-configured' failed\r\nmake[1]: *** [scratch/libgit2-211e117a0590583a720c53172406f34186c543bd/build-configured] Error 1\r\nMakefile:81: recipe for target 'julia-deps' failed\r\nmake: *** [julia-deps] Error 2\r\n```\r\nI thought I had fixed this with `make -C deps distclean-libgit2 distclean-mbedtls distclean-libssh2` which allowed `make` to run to the end. However now Julia 0.6 fails to launch with:\r\n```\r\n> julia6\r\nfatal: error thrown and no exception handler available.\r\nBase.InitError(mod=:LibGit2, error=ErrorException(\"error initializing LibGit2 module\"))\r\nrec_backtrace at /home/colin/Downloads/julia6/src/stackwalk.c:84\r\nrecord_backtrace at /home/colin/Downloads/julia6/src/task.c:238\r\njl_throw at /home/colin/Downloads/julia6/src/task.c:560\r\n__init__ at ./libgit2/libgit2.jl:539\r\nunknown function (ip: 0x7f60d03e3e08)\r\njl_call_method_internal at /home/colin/Downloads/julia6/src/julia_internal.h:218 [inlined]\r\njl_apply_generic at /home/colin/Downloads/julia6/src/gf.c:1852\r\njl_apply at /home/colin/Downloads/julia6/src/julia.h:1376 [inlined]\r\njl_module_run_initializer at /home/colin/Downloads/julia6/src/toplevel.c:83\r\n_julia_init at /home/colin/Downloads/julia6/src/init.c:702\r\njulia_init at /home/colin/Downloads/julia6/src/task.c:289\r\nunknown function (ip: 0x4014cd)\r\n__libc_start_main at /lib64/libc.so.6 (unknown line)\r\nunknown function (ip: 0x40151f)\r\n\r\n```\r\nPrebuilt Julia 0.5 works fine.\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/249991057","html_url":"https://github.com/JuliaLang/julia/issues/18693#issuecomment-249991057","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/18693","id":249991057,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T20:38:37Z","updated_at":"2016-09-27T20:38:37Z","body":"We should also really try to make the error message clearer here if we can."}}
{"actor":{"display_login":"tkelman"}}