{"action":"created","issue":{"url":"https://api.github.com/repos/ghcjs/ghcjs/issues/548","repository_url":"https://api.github.com/repos/ghcjs/ghcjs","labels_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/548/comments","events_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/548/events","html_url":"https://github.com/ghcjs/ghcjs/issues/548","id":189328419,"number":548,"title":"ghcjs-boot ExitFailure 1 Windows 10/Haskell Platform 8.0.1","user":{"login":"ilyazuev","id":2638687,"avatar_url":"https://avatars.githubusercontent.com/u/2638687?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyazuev","html_url":"https://github.com/ilyazuev","followers_url":"https://api.github.com/users/ilyazuev/followers","following_url":"https://api.github.com/users/ilyazuev/following{/other_user}","gists_url":"https://api.github.com/users/ilyazuev/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyazuev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyazuev/subscriptions","organizations_url":"https://api.github.com/users/ilyazuev/orgs","repos_url":"https://api.github.com/users/ilyazuev/repos","events_url":"https://api.github.com/users/ilyazuev/events{/privacy}","received_events_url":"https://api.github.com/users/ilyazuev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-15T08:27:23Z","updated_at":"2016-12-29T13:47:41Z","closed_at":null,"body":"Hello,\r\n**I can not install GHCJS in Windows 10/Haskell Platform 8.0.1**\r\n    ghcjs-boot ExitFailure 1\r\n\r\n**Either**  \r\n            System\\Process\\Common.hs:50:31: error:                               \r\n                Module `System.Win32.DebugApi' does not export `PHANDLE'         \r\n            GHCi\\Signals.hs:9:1: error:                                          \r\n                Failed to load interface for `System.Posix.Signals'              \r\n                Perhaps you meant System.Posix.Internals (from base-4.9.0.0)\r\n\r\n**or**    \r\n            GHCi\\Signals.hs:9:1: error:\r\n                Failed to load interface for `System.Posix.Signals'    \r\n                Perhaps you meant System.Posix.Internals (from base-4.9.0.0)\r\n\r\n**And in begin I get \"autoreconf - < not found >\" message**\r\n                \r\n**I believe that \"mingw32_HOST_OS\" is not defined**\r\n    \r\n**I have tried to install with cabal**\r\n    \"cabal install http://ghcjs.luite.com/ghc-8.0.tar.gz\" or \"cabal install http://ghcjs.luite.com/master.tar.gz\"\r\n    ghcjs-boot    \r\n    \r\n**Also I have tried with stack**\r\n    \"https://docs.haskellstack.org/en/stable/ghcjs/\"\r\n        resolver: lts-7.8\r\n            compiler: ghcjs-0.2.1.9007008_ghc-8.0.1\r\n            compiler-check: match-exact\r\n        setup-info:\r\n            ghcjs:\r\n                source:\r\n                    ghcjs-0.2.1.9007008_ghc-8.0.1:\r\n                        url: http://ghcjs.tolysz.org/ghc-8.0-2016-11-07-lts-7.8-9007008.tar.gz\r\n                        sha1: 190300a3725cde44b2a08be9ef829f2077bf8825\r\n    stack setup\r\n\r\n**I have**\r\n- Windows 10\r\n- msys64 set (c:\\msys64\\)\r\n- MinGW 64 set (c:\\MinGW\\)\r\n- ghc --version: The Glorious Glasgow Haskell Compilation System, version 8.0.1\r\n    - which ghc: /d/Program Files/Haskell Platform/8.0.1/bin/ghc\r\n- ghcjs --version: The Glorious Glasgow Haskell Compilation System for JavaScript, version 0.2.1 (GHC 8.0.1)    \r\n    - which ghcjs: /c/Users/Zuev/AppData/Roaming/cabal/bin/ghcjs\r\n- cabal --version: cabal-install version 1.24.0.0, compiled using version 1.24.0.0 of the Cabal library\r\n    - which cabal: /d/Program Files/Haskell Platform/8.0.1/lib/extralibs/bin/cabal\r\n- stack --version: Version 1.1.2, Git revision c6dac65e3174dea79df54ce6d56f3e98bc060ecc (3647 commits) x86_64 hpack-0.14.0\r\n    - which stack: /d/stack/bin/stack\r\n- alex --version: Alex version 3.1.7, (c) 2003 Chris Dornan and Simon Marlow\r\n    - which alex: /d/Program Files/Haskell Platform/8.0.1/lib/extralibs/bin/alex\r\n- happy --version: Happy Version 1.19.5 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c) 1997-2005 Simon Marlow\r\n    - which happy: /d/Program Files/Haskell Platform/8.0.1/lib/extralibs/bin/happy\r\n- node --version: v4.5.0\r\n    - which node /c/Program Files/nodejs/node\r\n- gcc --version: realgcc.exe (Rev3, Built by MSYS2 project) 5.2.0\r\n    - which gcc: /d/Program Files/Haskell Platform/8.0.1/mingw/bin/gcc\r\n- cpp --version: cpp (Rev3, Built by MSYS2 project) 5.2.0    \r\n- git --version: git version 2.10.2.windows.1    \r\n- tar --version: tar (GNU tar) 1.29\r\n\r\n**My log:**\r\n===========================================================================\r\n\r\n   Boot libraries installation for GHCJS\r\n\r\n===========================================================================\r\n\r\n   ghcjs-boot will install the libraries and runtime system for GHCJS\r\n\r\n\r\n  boot program\r\n  ------------\r\n\r\n   ghcjs-boot program version   0.2.1                                                                                                                                                                                            \r\n                file location   C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\ghcjs-boot.exe\r\n                last modified   2016-11-14 21:46:31.44 UTC\r\n\r\n     using configuration file   C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1\\lib\\etc\\boot.yaml\r\n            current directory   C:\\msys64\\home\\Zuev                                                                                                                                                                              \r\n\r\n  boot configuration\r\n  ------------------\r\n\r\n     installation directory   C:\\Users\\Zuev\\AppData\\Roaming\\ghcjs\\x86_64-mingw32                                                                                                                                                 -0.2.1-8.0.1\\ghcjs\r\n          global package DB   C:\\Users\\Zuev\\AppData\\Roaming\\ghcjs\\x86_64-mingw32                                                                                                                                                 -0.2.1-8.0.1\\ghcjs\\package.conf.d\r\n   user package DB location   C:\\Users\\Zuev\\AppData\\Roaming\\ghcjs\\x86_64-mingw32                                                                                                                                                 -0.2.1-8.0.1\r\n\r\n              GHCJS version   0.2.1                                                                                                                                                                                              \r\n           program location   C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\ghcjs.exe                                                                                                                                                  \r\n               library path   C:\\Users\\Zuev\\AppData\\Roaming\\ghcjs\\x86_64-mingw32                                                                                                                                                 -0.2.1-8.0.1\\ghcjs\r\n              last modified   2016-11-14 21:45:56.382 UTC                                                                                                                                                                        \r\n\r\n                GHC version   8.0.1                                                                                                                                                                                              \r\n                   location   C:\\Program Files\\Haskell Platform\\8.0.1\\bin\\ghc.ex                                                                                                                                                 e\r\n               library path   C:\\Program Files\\Haskell Platform\\8.0.1\\lib                                                                                                                                                        \r\n\r\n      cabal-install version   1.24.0.0                                                                                                                                                                                           \r\n                   location   C:\\Program Files\\Haskell Platform\\8.0.1\\lib\\extral                                                                                                                                                 ibs\\bin\\cabal.exe\r\n\r\n          ghcjs-pkg version   0.2.1                                                                                                                                                                                              \r\n                   location   C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\ghcjs-pkg.                                                                                                                                                 exe\r\n\r\n                 quick boot   No                                                                                                                                                                                                 \r\n           clean tree first   No                                                                                                                                                                                                 \r\n           development boot   No                                                                                                                                                                                                 \r\n                 native too   No                                                                                                                                                                                                 \r\n\r\n  packages\r\n  --------\r\n\r\n   stage 1a\r\n\r\n   - ./boot/base\r\n   - ./boot/integer-gmp\r\n   - ./boot/primitive\r\n   - ./boot/transformers\r\n\r\n   ghcjs-prim:  ../ghcjs-prim\r\n\r\n   stage 1b\r\n\r\n   - ./boot/array\r\n   - ./boot/binary\r\n   - ./boot/bytestring\r\n   - ./boot/containers\r\n   - ./boot/deepseq\r\n   - ./boot/directory\r\n   - ./boot/filepath\r\n   - ./boot/ghc\r\n   - ./boot/ghc-boot\r\n   - ./boot/ghc-boot-th\r\n   - ./boot/ghci\r\n   - ./boot/pretty\r\n   - ./boot/template-haskell\r\n   - ./boot/process\r\n   - ./boot/time\r\n   - ./boot/Win32\r\n\r\n   ghcjs-th:  ../ghcjs-th\r\n\r\n   Cabal:  ./boot/cabal/Cabal\r\n\r\n   stage 2\r\n\r\n   - ./boot/async\r\n   - ./boot/aeson\r\n   - ./boot/attoparsec\r\n   - ./boot/case-insensitive\r\n   - ./boot/dlist\r\n   - ./boot/extensible-exceptions\r\n   - ./boot/fail\r\n   - ./boot/hashable\r\n   - ./boot/mtl\r\n   - ./boot/parallel\r\n   - ./boot/scientific\r\n   - ./boot/stm\r\n   - ./boot/syb\r\n   - ./boot/tagged\r\n   - ./boot/text\r\n   - ./boot/unordered-containers\r\n   - ./boot/vector\r\n   - ./ghcjs/ghcjs-base\r\n\r\n\r\n\r\n\r\n===========================================================================\r\n\r\n   Configured programs\r\n\r\n===========================================================================\r\n\r\n   program         version    location                                                                                                                                                                                           \r\n                                                                                                                                                                                                                                 \r\n   ghcjs           0.2.1      C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\ghcjs.exe                                                                                                                                                  \r\n   ghcjs-pkg       0.2.1      C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\ghcjs-pkg.                                                                                                                                                 exe\r\n   ghcjs-run       -          C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\ghcjs-run.                                                                                                                                                 exe\r\n   ghc             8.0.1      C:\\Program Files\\Haskell Platform\\8.0.1\\bin\\ghc.ex                                                                                                                                                 e\r\n   ghc-pkg         -          C:\\Program Files\\Haskell Platform\\8.0.1\\bin\\ghc-pk                                                                                                                                                 g.exe\r\n   cabal           1.24.0.0   C:\\Program Files\\Haskell Platform\\8.0.1\\lib\\extral                                                                                                                                                 ibs\\bin\\cabal.exe\r\n   node            v6.9.1     C:\\Program Files\\nodejs\\node.exe                                                                                                                                                                   \r\n   haddock-ghcjs   -          C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\haddock-gh                                                                                                                                                 cjs.exe\r\n   git             -          C:\\msys64\\usr\\bin\\git.exe                                                                                                                                                                          \r\n   alex            -          C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\alex.exe                                                                                                                                                   \r\n   happy           -          C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\bin\\happy.exe                                                                                                                                                  \r\n   tar             -          C:\\msys64\\usr\\bin\\tar.exe                                                                                                                                                                          \r\n   cpp             -          C:\\MinGW\\bin\\cpp.exe                                                                                                                                                                               \r\n   bash            -          C:\\msys64\\usr\\bin\\bash.exe                                                                                                                                                                         \r\n   autoreconf      -          <not found>\r\n   make            -          C:\\msys64\\usr\\bin\\make.exe                                                                                                                                                                         \r\n\r\n\r\n\r\n\r\n===========================================================================\r\n\r\n   Installation sources\r\n\r\n===========================================================================\r\n\r\n       shims (runtime system)                                                                                                                                                                                                    \r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/lib/shims\r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/lib/cache/shims.tar\r\n                                                                                                                                                                                                                                 \r\n               boot libraries                                                                                                                                                                                                    \r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/lib/ghcjs-boot\r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/lib/cache/boot.tar\r\n                                                                                                                                                                                                                                 \r\n                   test suite                                                                                                                                                                                                    \r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/test\r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/lib/cache/test.tar\r\n                                                                                                                                                                                                                                 \r\n          configuration files                                                                                                                                                                                                    \r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/lib/etc\r\n                                                                                                                                                                                                                                 \r\n                documentation                                                                                                                                                                                                    \r\n                                C:\\Users\\Zuev\\AppData\\Roaming\\cabal\\x86_64-windo                                                                                                                                                 ws-ghc-8.0.1\\ghcjs-0.2.1/doc\r\n                                                                                                                                                                                                                                 \r\n   bootstrap GHC library path                                                                                                                                                                                                    \r\n                                C:\\Program Files\\Haskell Platform\\8.0.1\\lib                                                                                                                                                      \r\n\r\n  Windows development tools\r\n  -------------------------\r\n\r\n   development tools                                                                                                                                                                                                             \r\n                       http://hdiff.luite.com/ghcjs/buildtools/ghcjs-buildtools-                                                                                                                                                 windows-0.2.1.tar.xz\r\n                       http://www.ghcjs.org/buildtools/ghcjs-buildtools-windows-                                                                                                                                                 0.2.1.tar.xz\r\n                       http://hdiff.luite.com/ghcjs/buildtools/ghcjs-buildtools-                                                                                                                                                 windows.tar.xz\r\n                       http://www.ghcjs.org/buildtools/ghcjs-buildtools-windows.                                                                                                                                                 tar.xz\r\n   bootstrap package                                                                                                                                                                                                             \r\n                       http://hdiff.luite.com/ghcjs/buildtools/ghcjs-buildtools-                                                                                                                                                 boot-windows-0.2.1.tar\r\n                       http://www.ghcjs.org/ghcjs/buildtools/ghcjs-buildtools-bo                                                                                                                                                 ot-windows-0.2.1.tar\r\n                       http://hdiff.luite.com/ghcjs/buildtools/ghcjs-buildtools-                                                                                                                                                 boot-windows.tar\r\n                       http://www.ghcjs.org/ghcjs/buildtools/ghcjs-buildtools-bo                                                                                                                                                 ot-windows.tar\r\n\r\n\r\n\t\t\t\t\t   \r\n\t\t\t\t\t   \r\n\t\t\t\t\t   \r\n\t\t\t\t\t   \r\n\t\t\t\t\t   ...\r\n\t\t\t\t\t   \r\n\t\t\t\t\t   \r\n\t\t\t\t\t   \r\n\r\n\r\n\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/ClosureMacros.h: In function 'stack_frame_sizeW':\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/InfoTables.h:362:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\r\n #define GET_LARGE_BITMAP(info) ((StgLargeBitmap*) (((StgWord) ((info)+1)) \\\r\n                                                     ^\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/ClosureMacros.h:431:20: note: in expansion of macro 'GET_LARGE_BITMAP'\r\n         return 1 + GET_LARGE_BITMAP(&info->i)->size;\r\n                    ^\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/InfoTables.h:362:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n #define GET_LARGE_BITMAP(info) ((StgLargeBitmap*) (((StgWord) ((info)+1)) \\\r\n                                 ^\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/ClosureMacros.h:431:20: note: in expansion of macro 'GET_LARGE_BITMAP'\r\n         return 1 + GET_LARGE_BITMAP(&info->i)->size;\r\n                    ^\r\nIn file included from c:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts.h:211:0,\r\n                 from C:\\Users\\Zuev\\AppData\\Roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include/Rts.h:2,\r\n                 from InfoTable.hsc:283:\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/ClosureMacros.h:434:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n         return 2 + BCO_BITMAP_SIZE((StgBCO *)((P_)frame)[1]);\r\n                                    ^\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/Closures.h:247:61: note: in definition of macro 'BCO_BITMAP'\r\n #define BCO_BITMAP(bco)      ((StgLargeBitmap *)((StgBCO *)(bco))->bitmap)\r\n                                                             ^\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/storage/ClosureMacros.h:434:20: note: in expansion of macro 'BCO_BITMAP_SIZE'\r\n         return 2 + BCO_BITMAP_SIZE((StgBCO *)((P_)frame)[1]);\r\n                    ^\r\nIn file included from c:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts.h:235:0,\r\n                 from C:\\Users\\Zuev\\AppData\\Roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include/Rts.h:2,\r\n                 from InfoTable.hsc:283:\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/Stable.h: In function 'deRefStablePtr':\r\nc:\\users\\zuev\\appdata\\roaming\\ghcjs\\x86_64-mingw32-0.2.1-8.0.1\\ghcjs\\include_native\\rts/Stable.h:40:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\r\n     return stable_ptr_table[(StgWord)sp].addr;\r\n                             ^\r\n\r\nGHCi\\Signals.hs:9:1: error:\r\n    Failed to load interface for `System.Posix.Signals'\r\n    Perhaps you meant System.Posix.Internals (from base-4.9.0.0)\r\n    Use -v to see a list of the files searched for.\r\ncabal.exe: Error: some packages failed to install:\r\nghci-8.0.1 failed during the building phase. The exception was:\r\nExitFailure 1\r\nprocess-1.4.2.0 failed during the building phase. The exception was:\r\nExitFailure 1\r\n\r\n\t\t\t\t\t   \r\n\r\nthx    "},"comment":{"url":"https://api.github.com/repos/ghcjs/ghcjs/issues/comments/269632277","html_url":"https://github.com/ghcjs/ghcjs/issues/548#issuecomment-269632277","issue_url":"https://api.github.com/repos/ghcjs/ghcjs/issues/548","id":269632277,"user":{"login":"NickSeagull","id":7448243,"avatar_url":"https://avatars.githubusercontent.com/u/7448243?v=3","gravatar_id":"","url":"https://api.github.com/users/NickSeagull","html_url":"https://github.com/NickSeagull","followers_url":"https://api.github.com/users/NickSeagull/followers","following_url":"https://api.github.com/users/NickSeagull/following{/other_user}","gists_url":"https://api.github.com/users/NickSeagull/gists{/gist_id}","starred_url":"https://api.github.com/users/NickSeagull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickSeagull/subscriptions","organizations_url":"https://api.github.com/users/NickSeagull/orgs","repos_url":"https://api.github.com/users/NickSeagull/repos","events_url":"https://api.github.com/users/NickSeagull/events{/privacy}","received_events_url":"https://api.github.com/users/NickSeagull/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T13:47:41Z","updated_at":"2016-12-29T13:47:41Z","body":"@luite how would one proceed to unify these dependencies? Although I don't have too much time, I'd like to help to fix this! :grin: "}}
{"actor":{"display_login":"NickSeagull"}}