Last active
August 25, 2018 21:07
-
-
Save antarestrader/738f2f9dea4256710934aa6e9a3410a7 to your computer and use it in GitHub Desktop.
Errors Installing GHCJS for use in StackOverflow question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Distribution quality warnings: | |
The 'description' field should be longer than the 'synopsis' field. It's | |
useful to provide an informative 'description' to allow Haskell programmers | |
who have never heard about your package to understand the purpose of your | |
package. The 'description' field content is typically shown by tooling (e.g. | |
'cabal info', Haddock, Hackage) below the 'synopsis' which serves as a | |
headline. Please refer to | |
<https://www.haskell.org/cabal/users-guide/developing-packages.html#package-properties> | |
for more details. | |
Warning: Cannot run preprocessors. Run 'configure' command first. | |
Building source dist for time-1.8.0.2... | |
Source tarball created: dist-install\time-1.8.0.2.tar.gz | |
unpacking sources: /home/jfmiller28/tmp/8ghcjs/utils/../ghc/libraries/time/dist-install/time-1.8.0.2.tar.gz | |
patching package: time | |
patching file lib/Data/Time/Clock/Internal/CTimespec.hsc | |
copying package (source distribution): transformers | |
Warning: Cannot run preprocessors. Run 'configure' command first. | |
Building source dist for transformers-0.5.5.0... | |
Source tarball created: dist-install\transformers-0.5.5.0.tar.gz | |
unpacking sources: /home/jfmiller28/tmp/8ghcjs/utils/../ghc/libraries/transformers/dist-install/transformers-0.5.5.0.tar.gz | |
no patch for package: transformers | |
copying package (source distribution): unix | |
Warning: Cannot run preprocessors. Run 'configure' command first. | |
Building source dist for unix-2.7.2.2... | |
Source tarball created: dist-install\unix-2.7.2.2.tar.gz | |
unpacking sources: /home/jfmiller28/tmp/8ghcjs/utils/../ghc/libraries/unix/dist-install/unix-2.7.2.2.tar.gz | |
patching package: unix | |
patching file System/Posix/Files/Common.hsc | |
patching file System/Posix/IO/Common.hsc | |
patching file System/Posix/Process/Internals.hs | |
patching file System/Posix/Signals.hsc | |
copying package (source distribution): vector | |
Distribution quality warnings: | |
'ghc-options: -O0' is not needed. Use the --disable-optimization configure | |
flag. | |
'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit | |
and not just imposing longer compile times on your users. | |
Warning: Cannot run preprocessors. Run 'configure' command first. | |
Building source dist for vector-0.11.0.0... | |
Source tarball created: dist-install\vector-0.11.0.0.tar.gz | |
unpacking sources: /home/jfmiller28/tmp/8ghcjs/utils/../ghc/libraries/vector/dist-install/vector-0.11.0.0.tar.gz | |
no patch for package: vector | |
copying package (source distribution): Win32 | |
Warning: Win32.cabal:16:2: Tabs used as indentation at 16:2, 17:2 | |
Warning: Win32.cabal:16:2: Tabs used as indentation at 16:2, 17:2 | |
Warning: Cannot run preprocessors. Run 'configure' command first. | |
Building source dist for Win32-2.6.1.0... | |
Source tarball created: dist-install\Win32-2.6.1.0.tar.gz | |
unpacking sources: /home/jfmiller28/tmp/8ghcjs/utils/../ghc/libraries/Win32/dist-install/Win32-2.6.1.0.tar.gz | |
patching package: Win32 | |
copying package (source distribution): Cabal | |
Warning: Cannot run preprocessors. Run 'configure' command first. | |
Building source dist for Cabal-2.2.0.1... | |
Source tarball created: dist-install\Cabal-2.2.0.1.tar.gz | |
unpacking sources: /home/jfmiller28/tmp/8ghcjs/utils/../ghc/libraries/Cabal/Cabal/dist-install/Cabal-2.2.0.1.tar.gz | |
no patch for package: Cabal | |
copying package (file list): ghc-prim | |
patching package: ghc-prim | |
patching file ghc-prim.cabal | |
patching file Setup.hs | |
/home/jfmiller28/tmp/8ghcjs/lib/boot/pkg/ghc | |
upstream GHC version: 8.4.2.20180505 | |
ghcjs-node/package.json | |
ghcjs-node/LICENSE | |
ghcjs-node/README.markdown | |
ghcjs-node/node_modules/ | |
ghcjs-node/node_modules/.bin/ | |
[ ....... ] | |
creating GHCJS dependencies | |
ln: failed to create symbolic link 'ghcautoconf.h': No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\jfmiller28\AppData\Roaming\local\bin\cabal.exe --config-file C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs\cabalBootConfig --ignore-sandbox install ./boot/ghc-prim --solver=topdown --configure-option=--with-gmp-includes=C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs\ghcjs-boot\boot\integer-gmp\gmp\intree\include --configure-option=--with-intree-gmp --global --ghcjs --one-shot --avoid-reinstalls --builddir dist --with-compiler C:\Users\jfmiller28\AppData\Local\Programs\stack\x86_64-windows\ghcjs-0.2.0.9006030_ghc-7.10.3\src\.stack-work\install\18bd06a5\bin\ghcjs.exe --with-hc-pkg C:\Users\jfmiller28\AppData\Local\Programs\stack\x86_64-windows\ghcjs-0.2.0.9006030_ghc-7.10.3\src\.stack-work\install\18bd06a5\bin\ghcjs-pkg.exe --prefix C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs --enable-documentation --haddock-html --haddock-hyperlink-source --enable-library-profiling --disable-executable-stripping --disable-library-stripping -v2 --dry-run | |
Standard error: | |
ghcjs-pkg.exe: cannot create: C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs\package.conf.d already exists | |
ghcjs-pkg.exe: cannot create: C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\package.conf.d already exists | |
solver must be one of: modular | |
CallStack (from HasCallStack): | |
error, called at libraries\Cabal\Cabal\Distribution\ReadE.hs:49:24 in Cabal-2.2.0.1:Distribution.ReadE | |
ghcjs-boot.EXE: error running: C:\Users\jfmiller28\AppData\Roaming\local\bin\cabal.exe --config-file C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs\cabalBootConfig --ignore-sandbox install ./boot/ghc-prim --solver=topdown --configure-option=--with-gmp-includes=C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs\ghcjs-boot\boot\integer-gmp\gmp\intree\include --configure-option=--with-intree-gmp --global --ghcjs --one-shot --avoid-reinstalls --builddir dist --with-compiler C:\Users\jfmiller28\AppData\Local\Programs\stack\x86_64-windows\ghcjs-0.2.0.9006030_ghc-7.10.3\src\.stack-work\install\18bd06a5\bin\ghcjs.exe --with-hc-pkg C:\Users\jfmiller28\AppData\Local\Programs\stack\x86_64-windows\ghcjs-0.2.0.9006030_ghc-7.10.3\src\.stack-work\install\18bd06a5\bin\ghcjs-pkg.exe --prefix C:\Users\jfmiller28\AppData\Roaming\ghcjs\x86_64-mingw32-0.2.0.9006030-7.10.3\ghcjs --enable-documentation --haddock-html --haddock-hyperlink-source --enable-library-profiling --disable-executable-stripping --disable-library-stripping -v2 --dry-run | |
exit status: 1 | |
stderr: solver must be one of: modular | |
CallStack (from HasCallStack): | |
error, called at libraries\Cabal\Cabal\Distribution\ReadE.hs:49:24 in Cabal-2.2.0.1:Distribution.ReadE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<no location info>: | |
Warning: Couldn't figure out C compiler information! | |
Make sure you're using GNU gcc, or clang | |
Unable to start C:\Users\jfmiller28\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\mingw\bin/realgcc.exe (error code: 2) | |
The GHC located at C:\Users\jfmiller28\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.2\bin\ghc.EXE failed to compile a sanity check. Please see: | |
http://docs.haskellstack.org/en/stable/install_and_upgrade/ | |
for more information. Exception was: | |
Received ExitFailure 1 when running | |
Raw command: "C:\\Users\\jfmiller28\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-7.10.2\\bin\\ghc.EXE" "C:\\msys64\\tmp\\stack-sanity-check104\\Main.hs" -no-user-package-db | |
Run from: C:\msys64\tmp\stack-sanity-check104\ | |
Standard output: | |
[1 of 1] Compiling Main ( C:\msys64\tmp\stack-sanity-check104\Main.hs, C:\msys64\tmp\stack-sanity-check104\Main.o ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cabal install | |
Resolving dependencies... | |
cabal.exe: Could not resolve dependencies: | |
[__0] trying: ghcjs-0.2.0 (user goal) | |
[__1] next goal: vector (dependency of ghcjs) | |
[__1] rejecting: vector-0.12.0.1/installed-GC2..., vector-0.12.0.1, | |
vector-0.12.0.0 (conflict: ghcjs => vector>=0.10 && <0.12) | |
[__1] trying: vector-0.11.0.0 | |
[__2] next goal: primitive (dependency of vector) | |
[__2] rejecting: primitive-0.6.4.0/installed-39P..., primitive-0.6.4.0 | |
(conflict: vector => primitive>=0.5.0.1 && <0.6.2) | |
[__2] trying: primitive-0.6.1.0 | |
[__3] next goal: base (dependency of ghcjs) | |
[__3] rejecting: base-4.11.1.0/installed-4.1... (conflict: vector => base>=4.3 | |
&& <4.10) | |
[__3] rejecting: base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, | |
base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, | |
base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, | |
base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, | |
base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, | |
base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable | |
package requires installed instance) | |
[__3] fail (backjumping, conflict set: base, ghcjs, vector) | |
After searching the rest of the dependency tree exhaustively, these were the | |
goals I've had most trouble fulfilling: vector, primitive, base, ghcjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment