{"action":"created","issue":{"url":"https://api.github.com/repos/snowleopard/hadrian/issues/564","repository_url":"https://api.github.com/repos/snowleopard/hadrian","labels_url":"https://api.github.com/repos/snowleopard/hadrian/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/snowleopard/hadrian/issues/564/comments","events_url":"https://api.github.com/repos/snowleopard/hadrian/issues/564/events","html_url":"https://github.com/snowleopard/hadrian/issues/564","id":312750627,"number":564,"title":"Fix Windows build without --enable-distro-toolchain","user":{"login":"snowleopard","id":675286,"avatar_url":"https://avatars1.githubusercontent.com/u/675286?v=4","gravatar_id":"","url":"https://api.github.com/users/snowleopard","html_url":"https://github.com/snowleopard","followers_url":"https://api.github.com/users/snowleopard/followers","following_url":"https://api.github.com/users/snowleopard/following{/other_user}","gists_url":"https://api.github.com/users/snowleopard/gists{/gist_id}","starred_url":"https://api.github.com/users/snowleopard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowleopard/subscriptions","organizations_url":"https://api.github.com/users/snowleopard/orgs","repos_url":"https://api.github.com/users/snowleopard/repos","events_url":"https://api.github.com/users/snowleopard/events{/privacy}","received_events_url":"https://api.github.com/users/snowleopard/received_events","type":"User","site_admin":false},"labels":[{"id":307108239,"url":"https://api.github.com/repos/snowleopard/hadrian/labels/Windows","name":"Windows","color":"bfe5bf","default":false},{"id":160290439,"url":"https://api.github.com/repos/snowleopard/hadrian/labels/bug","name":"bug","color":"fc2929","default":true},{"id":601699689,"url":"https://api.github.com/repos/snowleopard/hadrian/labels/medium-priority","name":"medium-priority","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"snowleopard","id":675286,"avatar_url":"https://avatars1.githubusercontent.com/u/675286?v=4","gravatar_id":"","url":"https://api.github.com/users/snowleopard","html_url":"https://github.com/snowleopard","followers_url":"https://api.github.com/users/snowleopard/followers","following_url":"https://api.github.com/users/snowleopard/following{/other_user}","gists_url":"https://api.github.com/users/snowleopard/gists{/gist_id}","starred_url":"https://api.github.com/users/snowleopard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowleopard/subscriptions","organizations_url":"https://api.github.com/users/snowleopard/orgs","repos_url":"https://api.github.com/users/snowleopard/repos","events_url":"https://api.github.com/users/snowleopard/events{/privacy}","received_events_url":"https://api.github.com/users/snowleopard/received_events","type":"User","site_admin":false},"assignees":[{"login":"snowleopard","id":675286,"avatar_url":"https://avatars1.githubusercontent.com/u/675286?v=4","gravatar_id":"","url":"https://api.github.com/users/snowleopard","html_url":"https://github.com/snowleopard","followers_url":"https://api.github.com/users/snowleopard/followers","following_url":"https://api.github.com/users/snowleopard/following{/other_user}","gists_url":"https://api.github.com/users/snowleopard/gists{/gist_id}","starred_url":"https://api.github.com/users/snowleopard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowleopard/subscriptions","organizations_url":"https://api.github.com/users/snowleopard/orgs","repos_url":"https://api.github.com/users/snowleopard/repos","events_url":"https://api.github.com/users/snowleopard/events{/privacy}","received_events_url":"https://api.github.com/users/snowleopard/received_events","type":"User","site_admin":false}],"milestone":null,"comments":45,"created_at":"2018-04-10T02:24:54Z","updated_at":"2018-04-17T13:47:14Z","closed_at":null,"author_association":"OWNER","body":"**UPDATE:** I fixed the issue below by passing `--enable-distro-toolchain` to `configure`: #565. We need to make it possible to build Hadrian without `--enable-distro-toolchain`, but this has lower priority.\r\n\r\n----\r\n\r\nNow hitting this error on Windows:\r\n```\r\n/---------------------------------------------------------------------------------\\\r\n| Successfully built program 'ghc-pkg' (Stage0).                                  |\r\n| Executable: _build/stage0/bin/ghc-pkg.exe                                       |\r\n| Program synopsis: A utility for querying and managing the GHC package database. |\r\n\\---------------------------------------------------------------------------------/\r\nghc.exe: could not execute: C:\\msys\\home\\nam83\\ghc\\_build\\stage0\\lib/../mingw/bin/gcc.exe\r\nghc.exe: could not execute: C:\\msys\\home\\nam83\\ghc\\_build\\stage0\\lib/../mingw/bin/gcc.exe\r\nshakeArgsWith     0.001s    0%\r\nFunction shake   13.529s    0%\r\nDatabase read     0.000s    0%\r\nWith database     0.000s    0%\r\nRunning rules  1780.870s   99%  =========================\r\nTotal          1794.401s  100%\r\nError when running Shake build system:\r\n* _build/stage1/lib/package.conf.d/rts-1.0.conf\r\n* OracleQ (PackageDataFile (Context {stage = Stage1, package = Package {pkgLanguage = C, pkgType = Library, pkgName = \"rts\", pkgPath = \"rts\"}, way = v}))\r\n* _build/stage1/rts/setup-config\r\nExitFailure 1\r\n```"},"comment":{"url":"https://api.github.com/repos/snowleopard/hadrian/issues/comments/381998478","html_url":"https://github.com/snowleopard/hadrian/issues/564#issuecomment-381998478","issue_url":"https://api.github.com/repos/snowleopard/hadrian/issues/564","id":381998478,"user":{"login":"alpmestan","id":119323,"avatar_url":"https://avatars3.githubusercontent.com/u/119323?v=4","gravatar_id":"","url":"https://api.github.com/users/alpmestan","html_url":"https://github.com/alpmestan","followers_url":"https://api.github.com/users/alpmestan/followers","following_url":"https://api.github.com/users/alpmestan/following{/other_user}","gists_url":"https://api.github.com/users/alpmestan/gists{/gist_id}","starred_url":"https://api.github.com/users/alpmestan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpmestan/subscriptions","organizations_url":"https://api.github.com/users/alpmestan/orgs","repos_url":"https://api.github.com/users/alpmestan/repos","events_url":"https://api.github.com/users/alpmestan/events{/privacy}","received_events_url":"https://api.github.com/users/alpmestan/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T13:47:14Z","updated_at":"2018-04-17T13:47:14Z","author_association":"CONTRIBUTOR","body":"@snowleopard My patch passed GHC's CI and @Mistuke accepted it, so it'll land soon. As soon as it's in master, we should be able to get rid of the distro toolchain flag to configure.\r\n\r\n@Mistuke Thanks for being so responsive!"}}
{"actor":{"display_login":"alpmestan"}}