Build #9 for gruff-0.3.3

[all reports]

Package gruff-0.3.3
Install DependencyFailed cairo-0.12.5.3
Docs NotTried
Tests NotTried
Time submitted 2016-12-23 08:08:28.645233 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, ruff-0.3.2.1, FTGL-1.333, OpenGL-2.10.0.1, OpenGLRaw-1.5.0.1, Vec-1.0.5, base-4.9.0.0, bytestring-0.10.8.1, containers-0.5.7.1, directory-1.2.6.2, filepath-1.4.1.0, gtk-0.12.5.7, gtkglext-0.12.5.0, mtl-2.2.1, old-locale-1.0.0.7, parallel-3.2.1.0, qd-1.0.2.1, qd-vec-1.1, ruff-0.3.2.1, time-1.6.0.1
Flags -mpfr

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring Vec-1.0.5...
Configuring OpenGLRaw-1.5.0.1...
Building Vec-1.0.5...
Building OpenGLRaw-1.5.0.1...
Configuring floatshow-0.2.4...
Installed Vec-1.0.5
Building floatshow-0.2.4...
Configuring mtl-2.2.1...
Installed floatshow-0.2.4
Building mtl-2.2.1...
Configuring old-locale-1.0.0.7...
Installed mtl-2.2.1
Building old-locale-1.0.0.7...
Configuring parallel-3.2.1.0...
Installed old-locale-1.0.0.7
Building parallel-3.2.1.0...
Configuring text-1.2.2.1...
Installed parallel-3.2.1.0
Building text-1.2.2.1...
Configuring utf8-string-0.3.7...
Installed OpenGLRaw-1.5.0.1
Building utf8-string-0.3.7...
Installed utf8-string-0.3.7
Configuring qd-1.0.2.1...
Building qd-1.0.2.1...
Configuring GLURaw-1.4.0.2...
Installed text-1.2.2.1
Building GLURaw-1.4.0.2...
Installed qd-1.0.2.1
Configuring cairo-0.12.5.3...
Configuring glib-0.12.5.4...
Failed to install cairo-0.12.5.3
Build log ( /home/builder/.cabal/logs/cairo-0.12.5.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-23327/cairo-0.12.5.3'
cabal: Leaving directory '/tmp/cabal-tmp-23327/cairo-0.12.5.3'
Configuring qd-vec-1.1...
Installed GLURaw-1.4.0.2
Configuring parsec-3.1.11...
Failed to install glib-0.12.5.4
Build log ( /home/builder/.cabal/logs/glib-0.12.5.4.log ):
cabal: Entering directory '/tmp/cabal-tmp-23328/glib-0.12.5.4'
cabal: Leaving directory '/tmp/cabal-tmp-23328/glib-0.12.5.4'
Building qd-vec-1.1...
Building parsec-3.1.11...
Installed qd-vec-1.1
Configuring OpenGL-2.10.0.1...
Building OpenGL-2.10.0.1...
Installed parsec-3.1.11
Configuring ruff-0.3.2.1...
Building ruff-0.3.2.1...
Failed to install ruff-0.3.2.1
Build log ( /home/builder/.cabal/logs/ruff-0.3.2.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-23326/ruff-0.3.2.1'
Configuring ruff-0.3.2.1...
Warning: 'ghc-options: -prof' is not necessary and will lead to problems when
used on a library. Use the configure flag --enable-library-profiling and/or
--enable-profiling.
Building ruff-0.3.2.1...
Preprocessing library ruff-0.3.2.1...
[1 of 8] Compiling Fractal.RUFF.Types.Tuple ( Fractal/RUFF/Types/Tuple.hs, dist/build/Fractal/RUFF/Types/Tuple.o )
[2 of 8] Compiling Fractal.RUFF.Types.Complex ( Fractal/RUFF/Types/Complex.hs, dist/build/Fractal/RUFF/Types/Complex.o )
[3 of 8] Compiling Fractal.RUFF.Mandelbrot.Nucleus ( Fractal/RUFF/Mandelbrot/Nucleus.hs, dist/build/Fractal/RUFF/Mandelbrot/Nucleus.o )
[4 of 8] Compiling Fractal.RUFF.Mandelbrot.Iterate ( Fractal/RUFF/Mandelbrot/Iterate.hs, dist/build/Fractal/RUFF/Mandelbrot/Iterate.o )
[5 of 8] Compiling Fractal.RUFF.Mandelbrot.Image ( Fractal/RUFF/Mandelbrot/Image.hs, dist/build/Fractal/RUFF/Mandelbrot/Image.o )

Fractal/RUFF/Mandelbrot/Image.hs:46:5: error:
    • Non type-variable argument
        in the constraint: Data.Array.Base.MArray a Bool (ST s)
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        out :: forall t t1 t2 (a :: * -> * -> *) a1 s.
               (Num a1, Ix t1, Ix t2, Data.Array.Base.MArray a Bool (ST s)) =>
               STRef s a1 -> a (t2, t1) Bool -> Output (Tuple2 t2 t1) t -> ST s ()
      In an equation for ‘simpleImage’:
          simpleImage (bs, cs) n0
            = runSTUArray
              $ do { a <- newArray bs True;
                     s <- newSTRef (0 :: Int);
                     imageLoop s a n0 0 False 64 i0s (out s a) }
            where
                i0s = map (uncurry $ initial Simple) cs
                out s a (OutSimple {outUser = Tuple2 j i})
                  = do { writeArray a ... False;
                         .... }
                out _ _ _ = return ()

Fractal/RUFF/Mandelbrot/Image.hs:67:5: error:
    • Non type-variable argument
        in the constraint: Data.Array.Base.MArray a e (ST s)
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        out :: forall t t1 (a :: * -> * -> *) e a1 s.
               (Num a1, Fractional e, Ix t, Ix t1,
                Data.Array.Base.MArray a e (ST s)) =>
               STRef s a1
               -> a (t1, t, Channel) e -> Output (Tuple2 t1 t) r -> ST s ()
      In an equation for ‘complexImage’:
          complexImage (((jlo, ilo), (jhi, ihi)), cs) !n0
            = runSTUArray
              $ do { a <- newArray bs (- 1);
                     s <- newSTRef (0 :: Int);
                     imageLoop s a n0 0 False 64 i0s (out s a) }
            where
                bs = ((jlo, ilo, minBound), (jhi, ihi, maxBound))
                (_, cx0) : (_, cx1) : _ = cs
                pixelSpacing = magnitude (cx1 - cx0)
                i0s = map (uncurry $ initial DistanceEstimate) cs
                ....
cabal: Leaving directory '/tmp/cabal-tmp-23326/ruff-0.3.2.1'
Installed OpenGL-2.10.0.1
Configuring FTGL-1.333...
Building FTGL-1.333...
Failed to install FTGL-1.333
Build log ( /home/builder/.cabal/logs/FTGL-1.333.log ):
cabal: Entering directory '/tmp/cabal-tmp-23325/FTGL-1.333'
Configuring FTGL-1.333...
Building FTGL-1.333...
Preprocessing library FTGL-1.333...

Graphics/Rendering/FTGL.hs:1:12: warning:
    -#include and INCLUDE pragmas are deprecated: They no longer have any effect

Graphics/Rendering/FTGL.hs:3:16: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[1 of 1] Compiling Graphics.Rendering.FTGL ( Graphics/Rendering/FTGL.hs, dist/build/Graphics/Rendering/FTGL.o )

Graphics/Rendering/FTGL.hs:29:17: error:
    Module ‘Foreign’ does not export ‘unsafePerformIO’
cabal: Leaving directory '/tmp/cabal-tmp-23325/FTGL-1.333'
cabal: Error: some packages failed to install:
FTGL-1.333 failed during the building phase. The exception was:
ExitFailure 1
cairo-0.12.5.3 failed during the configure step. The exception was:
user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error:

/tmp/cabal-tmp-23327/cairo-0.12.5.3/SetupWrapper.hs:60:49: error:
Ambiguous occurrence ‘exeExtension’
It could refer to either ‘Distribution.Simple.BuildPaths.exeExtension’,
imported from ‘Distribution.Simple.BuildPaths’ at
/tmp/cabal-tmp-23327/cairo-0.12.5.3/SetupWrapper.hs:11:40-51
or ‘System.Directory.exeExtension’,
imported from ‘System.Directory’ at
/tmp/cabal-tmp-23327/cairo-0.12.5.3/SetupWrapper.hs:23:1-23
(and originally defined in
‘directory-1.2.6.2:System.Directory.Internal.Config’)

/tmp/cabal-tmp-23327/cairo-0.12.5.3/SetupWrapper.hs:91:17: error:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
/tmp/cabal-tmp-23327/cairo-0.12.5.3/SetupWrapper.hs:8:1-32
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
/tmp/cabal-tmp-23327/cairo-0.12.5.3/SetupWrapper.hs:21:1-18
)
gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
glib-0.12.5.4 failed during the configure step. The exception was:
user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error:

/tmp/cabal-tmp-23328/glib-0.12.5.4/SetupWrapper.hs:60:49: error:
Ambiguous occurrence ‘exeExtension’
It could refer to either ‘Distribution.Simple.BuildPaths.exeExtension’,
imported from ‘Distribution.Simple.BuildPaths’ at
/tmp/cabal-tmp-23328/glib-0.12.5.4/SetupWrapper.hs:11:40-51
or ‘System.Directory.exeExtension’,
imported from ‘System.Directory’ at
/tmp/cabal-tmp-23328/glib-0.12.5.4/SetupWrapper.hs:23:1-23
(and originally defined in
‘directory-1.2.6.2:System.Directory.Internal.Config’)

/tmp/cabal-tmp-23328/glib-0.12.5.4/SetupWrapper.hs:91:17: error:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
/tmp/cabal-tmp-23328/glib-0.12.5.4/SetupWrapper.hs:8:1-32
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
/tmp/cabal-tmp-23328/glib-0.12.5.4/SetupWrapper.hs:21:1-18
)
gruff-0.3.3 depends on cairo-0.12.5.3 which failed to install.
gtk-0.12.5.7 depends on cairo-0.12.5.3 which failed to install.
gtkglext-0.12.5.0 depends on cairo-0.12.5.3 which failed to install.
pango-0.12.5.3 depends on cairo-0.12.5.3 which failed to install.
ruff-0.3.2.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.