{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/4148","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/4148/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/4148/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/4148/events","html_url":"https://github.com/haskell/cabal/issues/4148","id":192879526,"number":4148,"title":"inconsistency in solving/planning(?)","user":{"login":"hvr","id":285533,"avatar_url":"https://avatars.githubusercontent.com/u/285533?v=3","gravatar_id":"","url":"https://api.github.com/users/hvr","html_url":"https://github.com/hvr","followers_url":"https://api.github.com/users/hvr/followers","following_url":"https://api.github.com/users/hvr/following{/other_user}","gists_url":"https://api.github.com/users/hvr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvr/subscriptions","organizations_url":"https://api.github.com/users/hvr/orgs","repos_url":"https://api.github.com/users/hvr/repos","events_url":"https://api.github.com/users/hvr/events{/privacy}","received_events_url":"https://api.github.com/users/hvr/received_events","type":"User","site_admin":false},"labels":[{"id":300616617,"url":"https://api.github.com/repos/haskell/cabal/labels/cabal-install:%20nix-local-build","name":"cabal-install: nix-local-build","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-01T15:35:59Z","updated_at":"2016-12-01T23:34:33Z","closed_at":null,"body":"I just ran into this weird situation:\r\n\r\n```\r\n$ cabal get hakyll-4.9.2.0\r\nUnpacking to hakyll-4.9.2.0/\r\n\r\n$ cd hakyll-4.9.2.0/\r\n$ cabal new-build -w ghc-7.10.3\r\nResolving dependencies...\r\nIn order, the following will be built (use -v for more details):\r\n - hakyll-4.9.2.0 {hakyll-4.9.2.0-inplace-hakyll-init} (exe:hakyll-init) (first run)\r\n - pandoc-citeproc-0.10.3 {pandoc-citeproc-0.10.3-5c3ba26facbb19ac48e6fbd28aa16da7852c52bbebbaba6e4e2590ec3cda9530} (lib:pandoc-citeproc) (requires build)\r\n - hakyll-4.9.2.0 {hakyll-4.9.2.0-inplace} (lib) (first run)\r\nConfiguring component exe:hakyll-init from hakyll-4.9.2.0\r\nConfiguring  pandoc-citeproc-0.10.3-5c3ba26facbb19ac48e6fbd28aa16da7852c52bbebbaba6e4e2590ec3cda9530 (all, due to Custom setup)\r\nPreprocessing executable 'hakyll-init' for hakyll-4.9.2.0...\r\n[1 of 3] Compiling Paths_hakyll     ( /tmp/hakyll-4.9.2.0/dist-newstyle/build/x86_64-linux/ghc-7.10.3/hakyll-4.9.2.0/c/hakyll-init/build/hakyll-init/autogen/Paths_hakyll.hs, /tmp/hakyll-4.9.2.0/dist-newstyle/build/x86_64-linux/ghc-7.10.3/hakyll-4.9.2.0/c/hakyll-init/build/hakyll-init/hakyll-init-tmp/Paths_hakyll.o )\r\n[2 of 3] Compiling Hakyll.Core.Util.File ( src/Hakyll/Core/Util/File.hs, /tmp/hakyll-4.9.2.0/dist-newstyle/build/x86_64-linux/ghc-7.10.3/hakyll-4.9.2.0/c/hakyll-init/build/hakyll-init/hakyll-init-tmp/Hakyll/Core/Util/File.o )\r\n[3 of 3] Compiling Main             ( src/Hakyll/Init.hs, /tmp/hakyll-4.9.2.0/dist-newstyle/build/x86_64-linux/ghc-7.10.3/hakyll-4.9.2.0/c/hakyll-init/build/hakyll-init/hakyll-init-tmp/Main.o )\r\nLinking /tmp/hakyll-4.9.2.0/dist-newstyle/build/x86_64-linux/ghc-7.10.3/hakyll-4.9.2.0/c/hakyll-init/build/hakyll-init/hakyll-init ...\r\n\r\nFailed to build pandoc-citeproc-0.10.3. The failure occurred during the\r\nconfigure step.\r\nBuild log (\r\n/home/hvr/.cabal/logs/ghc-7.10.3/pandoc-citeproc-0.10.3-5c3ba26facbb19ac48e6fbd28aa16da7852c52bbebbaba6e4e2590ec3cda9530.log\r\n):\r\n[1 of 1] Compiling Main             ( /tmp/hakyll-4.9.2.0/dist-newstyle/tmp/src-3565/pandoc-citeproc-0.10.3/dist/setup/setup.hs, /tmp/hakyll-4.9.2.0/dist-newstyle/tmp/src-3565/pandoc-citeproc-0.10.3/dist/setup/Main.o )\r\nLinking /tmp/hakyll-4.9.2.0/dist-newstyle/tmp/src-3565/pandoc-citeproc-0.10.3/dist/setup/setup ...\r\nConfiguring pandoc-citeproc-0.10.3...\r\nsetup: At least the following dependencies are missing:\r\nprocess -any, temporary >=1.1\r\ncabal: Failed to build pandoc-citeproc-0.10.3 (which is required by\r\nhakyll-4.9.2.0). See the build log above for details.\r\n\r\n```\r\n\r\nHowever, the only components in `pandoc-citeproc` which seem to require those two packages seem to be\r\n\r\n```\r\nexecutable test-citeproc\r\n  Main-Is:        test-citeproc.hs\r\n  Other-Modules:  JSON\r\n                  Prelude\r\n  Hs-Source-Dirs: tests, prelude\r\n  if flag(test_citeproc)\r\n    Buildable:    True\r\n  else\r\n    Buildable:    False\r\n  build-depends:  base >= 4, aeson, directory, text,\r\n                  pandoc-types >= 1.16 && < 1.18,\r\n                  pandoc >= 1.16 && < 1.20,\r\n                  filepath,\r\n                  bytestring, pandoc-citeproc, process, temporary >= 1.1,\r\n                  yaml >= 0.8.8.7, containers >= 0.4, vector >= 0.10\r\n  default-language: Haskell2010\r\n\r\ntest-suite test-pandoc-citeproc\r\n  Type:           exitcode-stdio-1.0\r\n  Main-Is:        test-pandoc-citeproc.hs\r\n  Other-Modules:  JSON\r\n                  Prelude\r\n  Hs-Source-Dirs: tests, prelude\r\n  build-depends:  base >= 4, aeson, directory, text,\r\n                  pandoc-types >= 1.16 && < 1.18,\r\n                  pandoc >= 1.16 && < 1.20, filepath,\r\n                  bytestring, pandoc-citeproc, process, temporary >= 1.1,\r\n                  yaml >= 0.8.8.7\r\n  default-language: Haskell2010\r\n\r\n```\r\n\r\nAnd the flag settings according to `plan.json` were\r\n\r\n```js\r\n    {\r\n      \"type\": \"configured\",\r\n      \"id\": \"pandoc-citeproc-0.10.3-5c3ba26facbb19ac48e6fbd28aa16da7852c52bbebbaba6e4e2590ec3cda9530\",\r\n      \"pkg-name\": \"pandoc-citeproc\",\r\n      \"pkg-version\": \"0.10.3\",\r\n      \"flags\": {\r\n        \"unicode_collation\": false,\r\n        \"test_citeproc\": false,\r\n        \"embed_data_files\": false,\r\n        \"debug\": false,\r\n        \"bibutils\": true\r\n      },\r\n```\r\n\r\nNor where any of those components mentioned in the `components` list in `plan.json`...\r\n\r\n/cc @ezyang @dcoutts "},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/264329024","html_url":"https://github.com/haskell/cabal/issues/4148#issuecomment-264329024","issue_url":"https://api.github.com/repos/haskell/cabal/issues/4148","id":264329024,"user":{"login":"hvr","id":285533,"avatar_url":"https://avatars.githubusercontent.com/u/285533?v=3","gravatar_id":"","url":"https://api.github.com/users/hvr","html_url":"https://github.com/hvr","followers_url":"https://api.github.com/users/hvr/followers","following_url":"https://api.github.com/users/hvr/following{/other_user}","gists_url":"https://api.github.com/users/hvr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvr/subscriptions","organizations_url":"https://api.github.com/users/hvr/orgs","repos_url":"https://api.github.com/users/hvr/repos","events_url":"https://api.github.com/users/hvr/events{/privacy}","received_events_url":"https://api.github.com/users/hvr/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T23:34:33Z","updated_at":"2016-12-01T23:34:33Z","body":"@ezyang wow... I even forgot I commented there... :-)\r\n\r\nIOW, 53d85bb0621a9153de49923bd26312a6e52a8691 would need to be backported to Cabal-1.22.x ?"}}
{"actor":{"display_login":"hvr"}}