{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/13206","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/13206/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/13206/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/13206/events","html_url":"https://github.com/JuliaLang/julia/issues/13206","id":107190053,"number":13206,"title":"gmp, mpfr, virtualenv build broken in windows (msys2)","user":{"login":"twadleigh","id":1570926,"avatar_url":"https://avatars.githubusercontent.com/u/1570926?v=3","gravatar_id":"","url":"https://api.github.com/users/twadleigh","html_url":"https://github.com/twadleigh","followers_url":"https://api.github.com/users/twadleigh/followers","following_url":"https://api.github.com/users/twadleigh/following{/other_user}","gists_url":"https://api.github.com/users/twadleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/twadleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twadleigh/subscriptions","organizations_url":"https://api.github.com/users/twadleigh/orgs","repos_url":"https://api.github.com/users/twadleigh/repos","events_url":"https://api.github.com/users/twadleigh/events{/privacy}","received_events_url":"https://api.github.com/users/twadleigh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/build","name":"build","color":"444444"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/windows","name":"windows","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":40,"created_at":"2015-09-18T12:08:22Z","updated_at":"2015-12-17T20:34:52Z","closed_at":"2015-12-17T13:51:21Z","body":"A few days ago, in order to rebase a couple of my branches on an up-to-date master, I made a pull that forced me to rebuild my `deps` (maybe due to #12463?).\r\n\r\nSince then, though, I have not been able to rebuild gmp. It fails during config with text like this near the end:\r\n```\r\nchecking size of mp_limb_t... 0\r\nconfigure: error: Oops, mp_limb_t doesn't seem to work\r\nMakefile:1803: recipe for target 'build/gmp-6.0.0/config.status' failed\r\n```\r\nI also get this error on a fresh clone.\r\n\r\n~~Some googling suggests something about having absolute paths in the configure line breaks things.~~ If I go into the source directory and do a bare `./configure`, it succeeds (and gives a size of `mp_limb_t` of 8).\r\n\r\nHas anyone else seen this? I've looked a bit into how we might tweak the invocation of `configure` but the logic in `deps/Makefile` looks, um, complicated."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/165575166","html_url":"https://github.com/JuliaLang/julia/issues/13206#issuecomment-165575166","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/13206","id":165575166,"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":"2015-12-17T20:34:52Z","updated_at":"2015-12-17T20:34:52Z","body":"If you want the source build to be compatible with packages from WinRPM, then using the opensuse toolchain is recommended, yes. I think the msys2 toolchain might still work at least for a basic build of Julia without considering package compatibility, though maybe more likely to work correctly on 64 bit than 32 bit where the exception handling model is also incompatible. The opensuse toolchain is on gcc 5.3 as of a couple weeks ago."}}