{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/3515","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3515/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3515/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3515/events","html_url":"https://github.com/commercialhaskell/stack/issues/3515","id":268435967,"number":3515,"title":"stack install fails on FreeBSD 12.0-Current","user":{"login":"noinia","id":991345,"avatar_url":"https://avatars3.githubusercontent.com/u/991345?v=4","gravatar_id":"","url":"https://api.github.com/users/noinia","html_url":"https://github.com/noinia","followers_url":"https://api.github.com/users/noinia/followers","following_url":"https://api.github.com/users/noinia/following{/other_user}","gists_url":"https://api.github.com/users/noinia/gists{/gist_id}","starred_url":"https://api.github.com/users/noinia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noinia/subscriptions","organizations_url":"https://api.github.com/users/noinia/orgs","repos_url":"https://api.github.com/users/noinia/repos","events_url":"https://api.github.com/users/noinia/events{/privacy}","received_events_url":"https://api.github.com/users/noinia/received_events","type":"User","site_admin":false},"labels":[{"id":309122006,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/resolution:%20upstream%20issue","name":"resolution: upstream issue","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8","html_url":"https://github.com/commercialhaskell/stack/milestone/8","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8/labels","id":1208081,"number":8,"title":"Support","description":"Issues without clear work items for the codebase","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars3.githubusercontent.com/u/49415?v=4","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":50,"closed_issues":339,"state":"open","created_at":"2015-07-14T20:38:48Z","updated_at":"2018-02-16T19:49:24Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2017-10-25T15:10:16Z","updated_at":"2018-02-17T07:47:41Z","closed_at":null,"author_association":"NONE","body":"### General summary/comments (optional)\r\n\r\nI'm having trouble building/installing packages with stack (1.5.1, installed using the official port) on FreeBSD 12.0-Current. Essentially, building any package fails with:\r\n\r\n```\r\n    Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: No cabal file found.\r\n    Please create a package description file <pkgname>.cabal\r\n```\r\nIt does not seem to matter whether I try to build a local project using 'stack build', or install a particular package with 'stack install <package>'. Nor does it seem matter which stackage release/version of ghc I use: I've tried with lts-9.* and ghc-8.0.2 (installed by stack), lts-* and ghc installed using the port, and the nightly snapshots with ghc 8.2.1 (installed by stack). Any idea what is going on here?\r\n\r\n### Steps to reproduce\r\n\r\n```\r\nrm ~/.stack\r\nstack setup\r\nstack install fgl --verbose\r\n```\r\n\r\n### Expected\r\n\r\nstack installs the package fgl.\r\n\r\n### Actual\r\n\r\nSee the full output [here](https://gist.github.com/noinia/ef58812e3faf995e25b7a2a00353691b)\r\n\r\n### Stack version\r\n\r\n```\r\nfrank@UU# stack --version\r\nVersion 1.5.1 x86_64\r\nCompiled with:\r\n<see full output linked above>\r\n```\r\n\r\n### Method of installation\r\n\r\n* Via the freebsd port in devel/stack \r\n\r\n```\r\nfrank@UU# pkg info stack\r\nstack-1.5.1\r\nName           : stack\r\nVersion        : 1.5.1\r\nInstalled on   : Tue Oct 24 16:00:14 2017 CEST\r\nOrigin         : devel/stack\r\nArchitecture   : FreeBSD:12:amd64\r\nPrefix         : /usr/local\r\nCategories     : haskell devel\r\nLicenses       : BSD3CLAUSE\r\nMaintainer     : tobik@FreeBSD.org\r\nWWW            : http://www.haskellstack.org/\r\nComment        : Cross-platform program for developing Haskell programs\r\nShared Libs required:\r\n\tlibgmp.so.10\r\n\tlibiconv.so.2\r\n\tlibcharset.so.1\r\nAnnotations    :\r\n\trepo_type      : binary\r\n\trepository     : local\r\nFlat size      : 49.2MiB\r\nDescription    :\r\nStack is a cross-platform program for developing Haskell projects.\r\nIt is aimed at Haskellers both new and experienced. \r\n\r\nWWW: http://www.haskellstack.org/\r\n```\r\nsystem:\r\n\r\n```\r\nfrank@UU# uname -a \r\nFreeBSD UU.FStaals.net 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r324496: Wed Oct 11 09:22:17 CEST 2017     root@UU.FStaals.net:/usr/obj/usr/src/sys/GENERIC  amd64\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/366424459","html_url":"https://github.com/commercialhaskell/stack/issues/3515#issuecomment-366424459","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3515","id":366424459,"user":{"login":"simonmichael","id":10144,"avatar_url":"https://avatars3.githubusercontent.com/u/10144?v=4","gravatar_id":"","url":"https://api.github.com/users/simonmichael","html_url":"https://github.com/simonmichael","followers_url":"https://api.github.com/users/simonmichael/followers","following_url":"https://api.github.com/users/simonmichael/following{/other_user}","gists_url":"https://api.github.com/users/simonmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/simonmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonmichael/subscriptions","organizations_url":"https://api.github.com/users/simonmichael/orgs","repos_url":"https://api.github.com/users/simonmichael/repos","events_url":"https://api.github.com/users/simonmichael/events{/privacy}","received_events_url":"https://api.github.com/users/simonmichael/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T07:47:41Z","updated_at":"2018-02-17T07:47:41Z","author_association":"CONTRIBUTOR","body":"Thanks for figuring this out. I wonder where it needs to be fixed. The stack installer ? The ghc binaries stack installs ? Two sets of binaries required for old and new freebsd ? "}}
{"actor":{"display_login":"simonmichael"}}