{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13364","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13364/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13364/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13364/events","html_url":"https://github.com/NixOS/nixpkgs/issues/13364","id":135357523,"number":13364,"title":"GHCJS fails to build on the latest release-15.09","user":{"login":"basvandijk","id":576355,"avatar_url":"https://avatars.githubusercontent.com/u/576355?v=3","gravatar_id":"","url":"https://api.github.com/users/basvandijk","html_url":"https://github.com/basvandijk","followers_url":"https://api.github.com/users/basvandijk/followers","following_url":"https://api.github.com/users/basvandijk/following{/other_user}","gists_url":"https://api.github.com/users/basvandijk/gists{/gist_id}","starred_url":"https://api.github.com/users/basvandijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvandijk/subscriptions","organizations_url":"https://api.github.com/users/basvandijk/orgs","repos_url":"https://api.github.com/users/basvandijk/repos","events_url":"https://api.github.com/users/basvandijk/events{/privacy}","received_events_url":"https://api.github.com/users/basvandijk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20haskell","name":"6.topic: haskell","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-22T09:05:37Z","updated_at":"2016-02-26T12:50:42Z","closed_at":"2016-02-24T03:40:53Z","body":"@peti @cstrahan @luite  I noticed that on the latest `release-15.09` GHCJS fails to build:\r\n\r\n```\r\nnix-build -A haskell.compiler.ghcjs\r\n...\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0$ [ghcjs-pkg]: /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg \"--simple-output\" \"field\" \"ghcjs-prim\" \"key\"\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg --simple-output field ghcjs-prim key\r\nghcjs_B7KLFJ07Vte3zPHAgRIBTb\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0$ writing wiredinkeys.yaml\r\n/tmp/nix-build-ghcjs-0.2.0.drv-0/ghcjs-561365ba1667053b5dc5846e2a8edb33eaa3f6dd-src$ [ghcjs-pkg]: /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg \"list\" \"--simple-output\" \"--no-user-package-db\"\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg list --simple-output --no-user-package-db\r\nCabal-1.22.4.0 array-0.5.1.0 base-4.8.0.0 binary-0.7.5.0 bytestring-0.10.6.0 containers-0.5.6.3 deepseq-1.4.1.1 directory-1.2.2.0 filepath-1.4.0.0 ghc-prim-0.4.0.0 ghcjs-prim-0.1.0.0 integer-gmp-0.5.1.0 old-locale-1.0.0.7 pretty-1.1.3.2 primitive-0.6.1.0 process-1.2.3.0 rts-1.0 template-haskell-2.10.0.0 time-1.5.0.1 transformers-0.4.3.0 unix-2.7.1.0\r\nunregistering Cabal-1.22.4.0\r\n/tmp/nix-build-ghcjs-0.2.0.drv-0/ghcjs-561365ba1667053b5dc5846e2a8edb33eaa3f6dd-src$ [ghcjs-pkg]: /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg \"unregister\" \"Cabal-1.22.4.0\" \"--no-user-package-db\"\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg unregister Cabal-1.22.4.0 --no-user-package-db\r\ninstalling Cabal library\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/ghcjs-boot$ [ghcjs-pkg]: /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg \"list\" \"--simple-output\" \"--no-user-package-db\"\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg list --simple-output --no-user-package-db\r\narray-0.5.1.0 base-4.8.0.0 binary-0.7.5.0 bytestring-0.10.6.0 containers-0.5.6.3 deepseq-1.4.1.1 directory-1.2.2.0 filepath-1.4.0.0 ghc-prim-0.4.0.0 ghcjs-prim-0.1.0.0 integer-gmp-0.5.1.0 old-locale-1.0.0.7 pretty-1.1.3.2 primitive-0.6.1.0 process-1.2.3.0 rts-1.0 template-haskell-2.10.0.0 time-1.5.0.1 transformers-0.4.3.0 unix-2.7.1.0\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/ghcjs-boot/boot/cabal/Cabal$ rm_rf dist\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/ghcjs-boot$ [cabal]: /nix/store/p469cjd3fd30yb3bkj9yfxmg4sjkd6w3-cabal-install-1.22.8.0/bin/cabal \"--config-file\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/cabalBootConfig\" \"--ignore-sandbox\" \"install\" \"./boot/cabal/Cabal\" \"--global\" \"--ghcjs\" \"--one-shot\" \"--avoid-reinstalls\" \"--builddir\" \"dist\" \"--with-compiler\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs\" \"--with-gcc\" \"/nix/store/f1p2lhaa5aj3g4ca9clvp43wyy7ymm6m-gcc-wrapper-4.9.3/bin/cc\" \"--with-hc-pkg\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg\" \"--prefix\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0\" \"--libdir\" \"$prefix/lib/$compiler\" \"--libsubdir\" \"$pkgid\" \"--enable-documentation\" \"--haddock-html\" \"--haddock-hoogle\" \"--haddock-hyperlink-source\" \"--enable-shared\" \"--enable-library-profiling\" \"--root-cmd\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/run.sh\" \"-v2\" \"--dry-run\"\r\n/nix/store/p469cjd3fd30yb3bkj9yfxmg4sjkd6w3-cabal-install-1.22.8.0/bin/cabal --config-file /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/cabalBootConfig --ignore-sandbox install ./boot/cabal/Cabal --global --ghcjs --one-shot --avoid-reinstalls --builddir dist --with-compiler /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs --with-gcc /nix/store/f1p2lhaa5aj3g4ca9clvp43wyy7ymm6m-gcc-wrapper-4.9.3/bin/cc --with-hc-pkg /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg --prefix /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0 --libdir $prefix/lib/$compiler --libsubdir $pkgid --enable-documentation --haddock-html --haddock-hoogle --haddock-hyperlink-source --enable-shared --enable-library-profiling --root-cmd /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/run.sh -v2 --dry-run\r\n/nix/store/fczqc1dll2zkvf3j23p0xzhwdkf4ah4d-alex-3.1.7/bin/alex --version\r\nlooking for tool c2hs near compiler in\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin\r\n/nix/store/l9fpv0qvbiikiqhjsgdvlcl4zvqw2rfq-cpphs-1.19.3/bin/cpphs --version\r\n/nix/store/f1p2lhaa5aj3g4ca9clvp43wyy7ymm6m-gcc-wrapper-4.9.3/bin/cc -dumpversion\r\n/nix/store/4q4974dp1kapkgdvrd06x46f1k8rxcgf-ghc-7.10.2/bin/ghc --numeric-version\r\n/nix/store/4q4974dp1kapkgdvrd06x46f1k8rxcgf-ghc-7.10.2/bin/ghc-pkg --version\r\nlooking for tool haddock near compiler in\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin\r\nfound haddock in\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/haddock-ghcjs\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/haddock-ghcjs --version\r\n/nix/store/bdq70v6vxknywz9f5782dplnkg9z0rf4-happy-1.19.5/bin/happy --version\r\n/nix/store/4q4974dp1kapkgdvrd06x46f1k8rxcgf-ghc-7.10.2/bin/hpc version\r\nlooking for tool hsc2hs near compiler in\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin\r\nfound hsc2hs in\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/hsc2hs-ghcjs\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/hsc2hs-ghcjs --version\r\n/nix/store/b2g592v15jzsmx5w36fp2k007k19ghrn-hscolour-1.24/bin/HsColour -version\r\n/nix/store/z0zai0b5p2iclywa92fz080f06lf15vl-gnutar-1.28/bin/tar --help\r\nWarning: No remote package servers have been specified. Usually you would have\r\none specified in the config file.\r\nChoosing modular solver.\r\nResolving dependencies...\r\nIn order, the following would be installed:\r\nCabal-1.22.4.0 (new package)\r\n/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/ghcjs-boot$ [cabal]: /nix/store/p469cjd3fd30yb3bkj9yfxmg4sjkd6w3-cabal-install-1.22.8.0/bin/cabal \"--config-file\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/cabalBootConfig\" \"--ignore-sandbox\" \"install\" \"./boot/cabal/Cabal\" \"--global\" \"--ghcjs\" \"--one-shot\" \"--avoid-reinstalls\" \"--builddir\" \"dist\" \"--with-compiler\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs\" \"--with-gcc\" \"/nix/store/f1p2lhaa5aj3g4ca9clvp43wyy7ymm6m-gcc-wrapper-4.9.3/bin/cc\" \"--with-hc-pkg\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg\" \"--prefix\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0\" \"--libdir\" \"$prefix/lib/$compiler\" \"--libsubdir\" \"$pkgid\" \"--enable-documentation\" \"--haddock-html\" \"--haddock-hoogle\" \"--haddock-hyperlink-source\" \"--enable-shared\" \"--enable-library-profiling\" \"--root-cmd\" \"/nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/run.sh\"\r\n/nix/store/p469cjd3fd30yb3bkj9yfxmg4sjkd6w3-cabal-install-1.22.8.0/bin/cabal --config-file /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/cabalBootConfig --ignore-sandbox install ./boot/cabal/Cabal --global --ghcjs --one-shot --avoid-reinstalls --builddir dist --with-compiler /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs --with-gcc /nix/store/f1p2lhaa5aj3g4ca9clvp43wyy7ymm6m-gcc-wrapper-4.9.3/bin/cc --with-hc-pkg /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg --prefix /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0 --libdir $prefix/lib/$compiler --libsubdir $pkgid --enable-documentation --haddock-html --haddock-hoogle --haddock-hyperlink-source --enable-shared --enable-library-profiling --root-cmd /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/run.sh\r\nWarning: No remote package servers have been specified. Usually you would have\r\none specified in the config file.\r\nResolving dependencies...\r\nFailed to install Cabal-1.22.4.0\r\ncabal: Error: some packages failed to install:\r\nCabal-1.22.4.0 failed during the configure step. The exception was:\r\nuser error (The package 'Cabal' requires Cabal library version -any && >=1.10\r\nbut no suitable version is installed.)\r\nghcjs-boot: error running: /nix/store/p469cjd3fd30yb3bkj9yfxmg4sjkd6w3-cabal-install-1.22.8.0/bin/cabal --config-file /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/cabalBootConfig --ignore-sandbox install ./boot/cabal/Cabal --global --ghcjs --one-shot --avoid-reinstalls --builddir dist --with-compiler /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs --with-gcc /nix/store/f1p2lhaa5aj3g4ca9clvp43wyy7ymm6m-gcc-wrapper-4.9.3/bin/cc --with-hc-pkg /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/bin/ghcjs-pkg --prefix /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0 --libdir $prefix/lib/$compiler --libsubdir $pkgid --enable-documentation --haddock-html --haddock-hoogle --haddock-hyperlink-source --enable-shared --enable-library-profiling --root-cmd /nix/store/lp8mzbcbn0yj533x2yrkkzsgkr6505ik-ghcjs-0.2.0/lib/ghcjs-0.2.0/run.sh\r\nexit status: 1\r\nstderr: Warning: No remote package servers have been specified. Usually you would have\r\none specified in the config file.\r\ncabal: Error: some packages failed to install:\r\nCabal-1.22.4.0 failed during the configure step. The exception was:\r\nuser error (The package 'Cabal' requires Cabal library version -any && >=1.10\r\nbut no suitable version is installed.)\r\n\r\nbuilder for ‘/nix/store/1qka3xwc32lpcrls2gqsb2gcz31izsn0-ghcjs-0.2.0.drv’ failed with exit code 1\r\nerror: build of ‘/nix/store/1qka3xwc32lpcrls2gqsb2gcz31izsn0-ghcjs-0.2.0.drv’ failed on ‘bas.van.dijk@hydra.lumi.guide’\r\nerror: build of ‘/nix/store/1qka3xwc32lpcrls2gqsb2gcz31izsn0-ghcjs-0.2.0.drv’ failed\r\n```\r\n\r\nI haven't looked into it yet but it seems to be some kind of bootstrapping problem: Cabal needing Cabal."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/189262364","html_url":"https://github.com/NixOS/nixpkgs/issues/13364#issuecomment-189262364","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13364","id":189262364,"user":{"login":"basvandijk","id":576355,"avatar_url":"https://avatars.githubusercontent.com/u/576355?v=3","gravatar_id":"","url":"https://api.github.com/users/basvandijk","html_url":"https://github.com/basvandijk","followers_url":"https://api.github.com/users/basvandijk/followers","following_url":"https://api.github.com/users/basvandijk/following{/other_user}","gists_url":"https://api.github.com/users/basvandijk/gists{/gist_id}","starred_url":"https://api.github.com/users/basvandijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvandijk/subscriptions","organizations_url":"https://api.github.com/users/basvandijk/orgs","repos_url":"https://api.github.com/users/basvandijk/repos","events_url":"https://api.github.com/users/basvandijk/events{/privacy}","received_events_url":"https://api.github.com/users/basvandijk/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T12:50:42Z","updated_at":"2016-02-26T12:50:42Z","body":"Thanks @cstrahan! Much appreciated."}}