Open felipelalli opened 2 years ago
I can't reproduce. Can you install anything else via stack? Also, try again. This 503 may have just been a blip in the stackage service.
Maybe it was a proxy issue. Now, I got another error:
➜ ~ stack install tetris
StateVar > using precompiled package
splitmix > using precompiled package
random > using precompiled package
ObjectName> configure
ObjectName> Configuring ObjectName-1.1.0.2...
ObjectName> build
fixed > configure
ObjectName> Preprocessing library for ObjectName-1.1.0.2..
ObjectName> Building library for ObjectName-1.1.0.2..
ObjectName> [1 of 1] Compiling Data.ObjectName
fixed > Configuring fixed-0.3...
fixed > build
half > configure
fixed > Preprocessing library for fixed-0.3..
fixed > Building library for fixed-0.3..
ObjectName> copy/register
fixed > [1 of 1] Compiling Numeric.Fixed
ObjectName> Installing library in /home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/lib/x86_64-linux-ghc-8.10.7/ObjectName-1.1.0.2-DuEbzYljkktH7U5m2bwpk2
ObjectName> Registering library for ObjectName-1.1.0.2..
half > Configuring half-0.3.1...
half > build
half > Preprocessing library for half-0.3.1..
half > Building library for half-0.3.1..
half > [1 of 2] Compiling Numeric.Half.Internal
fixed > copy/register
fixed > Installing library in /home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/lib/x86_64-linux-ghc-8.10.7/fixed-0.3-CPNOfr1AfWI6VikvQN1ryb
fixed > Registering library for fixed-0.3..
half > [2 of 2] Compiling Numeric.Half
half > copy/register
half > Installing library in /home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/lib/x86_64-linux-ghc-8.10.7/half-0.3.1-LXV3q5IozPLH8VnDttuR3B
half > Registering library for half-0.3.1..
OpenGLRaw > configure
OpenGLRaw > Configuring OpenGLRaw-3.3.4.1...
OpenGLRaw > Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7: Missing dependency on a foreign
OpenGLRaw > library:
OpenGLRaw > * Missing (or bad) C library: GL
OpenGLRaw > This problem can usually be solved by installing the system package that
OpenGLRaw > provides this library (you may need the "-dev" version). If the library is
OpenGLRaw > already installed but in a non-standard location then you can use the flags
OpenGLRaw > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the
OpenGLRaw > library file does exist, it may contain errors that are caught by the C
OpenGLRaw > compiler at the preprocessing stage. In this case you can re-run configure
OpenGLRaw > with the verbosity flag -v3 to see the error messages.
OpenGLRaw >
Progress 7/11
-- While building package OpenGLRaw-3.3.4.1 (scroll up to its section to see the error) using:
/home/xxx/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0 configure --user --package-db=clear --package-db=global --package-db=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/pkgdb --libdir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/lib --bindir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/bin --datadir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/share --libexecdir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/libexec --sysconfdir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/etc --docdir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/doc/OpenGLRaw-3.3.4.1 --htmldir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/doc/OpenGLRaw-3.3.4.1 --haddockdir=/home/xxx/.stack/snapshots/x86_64-linux-tinfo6/483e7d70fd072d8bf8bc9d3a77e7ba18e4a49790221ef3f407c0925f01e8532f/8.10.7/doc/OpenGLRaw-3.3.4.1 --dependency=base=base-4.14.3.0 --dependency=bytestring=bytestring-0.10.12.0 --dependency=containers=containers-0.6.5.1 --dependency=fixed=fixed-0.3-CPNOfr1AfWI6VikvQN1ryb --dependency=half=half-0.3.1-LXV3q5IozPLH8VnDttuR3B --dependency=text=text-1.2.4.1 --dependency=transformers=transformers-0.5.6.2 -f-osandroid -fusegles2 -fuseglxgetprocaddress -fusenativewindowslibraries --exact-configuration --ghc-option=-fhide-source-paths
Process exited with code: ExitFailure 1
I don't know exactly what your setup looks like on Debian, but it does appear that missing NVIDIA drivers/libs can cause this issue. Did you see and try the suggestions in haskell-opengl/OpenGlRaw#34? And haskell-opengl/OpenGlRaw#37