{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/399","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/399/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/399/events","html_url":"https://github.com/commercialhaskell/stack/issues/399","id":90685375,"number":399,"title":"LGPL licensing restrictions on Windows because of integer-gmp","user":{"login":"quyse","id":416215,"avatar_url":"https://avatars.githubusercontent.com/u/416215?v=3","gravatar_id":"","url":"https://api.github.com/users/quyse","html_url":"https://github.com/quyse","followers_url":"https://api.github.com/users/quyse/followers","following_url":"https://api.github.com/users/quyse/following{/other_user}","gists_url":"https://api.github.com/users/quyse/gists{/gist_id}","starred_url":"https://api.github.com/users/quyse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quyse/subscriptions","organizations_url":"https://api.github.com/users/quyse/orgs","repos_url":"https://api.github.com/users/quyse/repos","events_url":"https://api.github.com/users/quyse/events{/privacy}","received_events_url":"https://api.github.com/users/quyse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/documentation","name":"documentation","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5","html_url":"https://github.com/commercialhaskell/stack/milestones/0.2.0.0","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5/labels","id":1166824,"number":5,"title":"0.2.0.0","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":25,"state":"open","created_at":"2015-06-16T14:23:31Z","updated_at":"2015-06-26T04:35:17Z","due_on":"2015-07-12T21:00:00Z","closed_at":null},"comments":19,"created_at":"2015-06-24T14:08:30Z","updated_at":"2015-06-26T06:27:28Z","closed_at":null,"body":"Default version of GHC on Windows produces binaries with integer-gmp linked statically. As integer-gmp's license is LGPL, it means that resulting binaries [should be provided with source code or object files](http://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynamic). I guess that's not a thing everyone would want.\r\n\r\nOn UNIXes integer-gmp is linked dynamically, so these restrictions don't apply.\r\n\r\nSo, in order to fix that we can either:\r\n* Provide a version of GHC which builds Windows executables with integer-gmp linked dynamically (haven't tried, but seems like [it's possible](http://haskell.forkio.com/gmpwindows)).\r\n* Provide a version of GHC [with integer-simple wired in](https://code.google.com/p/hmpfr/wiki/GHCWithoutGMP) instead of integer-gmp (some packages have problems, but overall works good for me).\r\n* Or at least write a big red warning on stack's homepage that your Haskell software on Windows has to be essentially a free software.\r\n\r\nAdditional Links:\r\n[ReplacingGMPNotes](https://ghc.haskell.org/trac/ghc/wiki/ReplacingGMPNotes)"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/115540816","html_url":"https://github.com/commercialhaskell/stack/issues/399#issuecomment-115540816","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/399","id":115540816,"user":{"login":"3noch","id":882455,"avatar_url":"https://avatars.githubusercontent.com/u/882455?v=3","gravatar_id":"","url":"https://api.github.com/users/3noch","html_url":"https://github.com/3noch","followers_url":"https://api.github.com/users/3noch/followers","following_url":"https://api.github.com/users/3noch/following{/other_user}","gists_url":"https://api.github.com/users/3noch/gists{/gist_id}","starred_url":"https://api.github.com/users/3noch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3noch/subscriptions","organizations_url":"https://api.github.com/users/3noch/orgs","repos_url":"https://api.github.com/users/3noch/repos","events_url":"https://api.github.com/users/3noch/events{/privacy}","received_events_url":"https://api.github.com/users/3noch/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T06:27:28Z","updated_at":"2015-06-26T06:27:28Z","body":"@snoyberg... Wow. You don't miss a beat. Stackage part already being done"}}