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

Error compiling tcIfaceGlobal not found #19

Closed
pawel-tomkiel opened this issue Mar 8, 2018 · 2 comments
Closed

Error compiling tcIfaceGlobal not found #19

pawel-tomkiel opened this issue Mar 8, 2018 · 2 comments

Comments

@pawel-tomkiel
Copy link

Hi,

When i try to go step by step on ArchLinux I got:

[257 of 295] Compiling GI.Gio.Interfaces.File ( GI/Gio/Interfaces/File.hs, dist/dist-sandbox-a7e8621a/build/GI/Gio/Interfaces/File.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 8.2.2 for x86_64-unknown-linux):
	tcIfaceGlobal (local): not found
  You are in a maze of twisty little passages, all alike.
  While forcing the thunk for TyThing IsFile
  which was lazily initialized by initIfaceCheck typecheckLoop,
  I tried to tie the knot, but I couldn't find IsFile
  in the current type environment.
  If you are developing GHC, please read Note [Tying the knot]
  and Note [Type-checking inside the knot].
  Consider rebuilding GHC with profiling for a better stack trace.
  Contents of current type environment: []
  Call stack:
      CallStack (from HasCallStack):
        prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1133:58 in ghc:Outputable
        callStackDoc, called at compiler/utils/Outputable.hs:1137:37 in ghc:Outputable
        pprPanic, called at compiler/iface/TcIface.hs:1696:23 in ghc:TcIface

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

cabal: Leaving directory '/tmp/cabal-tmp-21053/gi-gio-2.0.14'
cabal: Error: some packages failed to install:
gi-gdk-3.0.14-2UWeXbeXddiJR6ytUd1GFl depends on gi-gdk-3.0.14 which failed to
install.
gi-gdkpixbuf-2.0.14-10Jx3qdJL7b3aEX0Wr16yN depends on gi-gdkpixbuf-2.0.14
which failed to install.
gi-gio-2.0.14-LM7WK7NCSjNGCbzq7t5cwc failed during the building phase. The
exception was:
ExitFailure 1
gi-gtk-3.0.18-1axBgPHA9tvJQZ2ovyeBy0 depends on gi-gtk-3.0.18 which failed to
install.
gi-pango-1.0.15-IZiiWsYKF681zKYSMOyXQn failed during the building phase. The
exception was:
ExitFailure 1
make: *** [makefile:74: arch_os_install_dependencies] Błąd 1
@lettier
Copy link
Owner

lettier commented Mar 8, 2018

Hello @Neonkowy,

There is a problem with an upstream package when using GHC 8.2.X. If you can configure Haskell Stack to use GHC 8.0.2, Gifcurry will build.

You can avoid building Gifcurry though by downloading the AppImage or the prebuilt binaries for linux.

If you use the AppImage, make sure to right click on the AppImage and allow the file to be executed as a program.

I'll have to push a fix to force stack to choose GHC 8.0.2 when building Gifcurry.

👍

@lettier
Copy link
Owner

lettier commented Mar 16, 2018

Hello @Neonkowy,

I have updated the Arch AUR package. It should install now.

👍

@lettier lettier closed this as completed Jul 16, 2019
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

2 participants