Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eta lang source build fails due to failure to build ghc-paths #10

Open
basabuber opened this issue Mar 26, 2017 · 3 comments
Open

eta lang source build fails due to failure to build ghc-paths #10

basabuber opened this issue Mar 26, 2017 · 3 comments

Comments

@basabuber
Copy link

As part of building eta, http://eta-lang.org/docs/html/getting-started.html, the build from source fails with the following error:

ghc-paths-0.1.0.9: configure
Progress: 1/2
-- While building package ghc-paths-0.1.0.9 using:
/tmp/stack20200/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0 configure --with-ghc=/home/miki/.stack/programs/x86_64-linux/ghc-nopie-7.10.3/bin/ghc --with-ghc-pkg=/home/miki/.stack/programs/x86_64-linux/ghc-nopie-7.10.3/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/miki/.stack/snapshots/x86_64-linux-nopie/lts-6.27/7.10.3/pkgdb --package-db=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/pkgdb --libdir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/lib --bindir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/bin --datadir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/share --libexecdir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/libexec --sysconfdir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/etc --docdir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/doc/ghc-paths-0.1.0.9 --htmldir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/doc/ghc-paths-0.1.0.9 --haddockdir=/home/miki/git/eta/.stack-work/install/x86_64-linux-nopie/lts-6.27/7.10.3/doc/ghc-paths-0.1.0.9 --dependency=Cabal=Cabal-1.22.8.0-39a93ef541e462ed7a7da08beca21643 --dependency=base=base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d --dependency=directory=directory-1.2.2.0-660a7a83a753ed85c8a374c15dae2b97
Process exited with code: ExitFailure 1
Logs have been written to: /home/miki/git/eta/.stack-work/logs/ghc-paths-0.1.0.9.log

[1 of 2] Compiling Main             ( /tmp/stack20200/ghc-paths-0.1.0.9/Setup.hs, /tmp/stack20200/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0/setup/Main.o )
[2 of 2] Compiling StackSetupShim   ( /home/miki/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack20200/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0/setup/StackSetupShim.o )
Linking /tmp/stack20200/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-linux-nopie/Cabal-1.22.5.0/setup/setup ...
Configuring ghc-paths-0.1.0.9...
setup: The program 'eta' is required but it could not be found.

Build env: stack: 1.4.0 on Ubuntu: 16.10.
Is this a ghc-paths issue?

@tonymorris
Copy link

Is there a known workaround to this?

@rahulmutt
Copy link

Should be resolved now, see typelead/eta#246.

@tonymorris
Copy link

I can confirm that it now works for me. Thanks @puffnfresh and @rahulmutt

% which eta > /dev/null && echo $?
0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants