Build #1 for SGdemo-1.1

[all reports]

Package SGdemo-1.1
Install DependencyFailed SG-1.0
Docs NotTried
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies base-4.6.0.1, SG-1.0, OpenGL-2.4.0.2, GLUT-2.2.2.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring ObjectName-1.0.0.0...
Building ObjectName-1.0.0.0...
Preprocessing library ObjectName-1.0.0.0...
[1 of 1] Compiling Data.ObjectName  ( src/Data/ObjectName.hs, dist/build/Data/ObjectName.o )
In-place registering ObjectName-1.0.0.0...
Running Haddock for ObjectName-1.0.0.0...
Running hscolour for ObjectName-1.0.0.0...
Preprocessing library ObjectName-1.0.0.0...
Preprocessing library ObjectName-1.0.0.0...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
 100% (  2 /  2) in 'Data.ObjectName'
Documentation created: dist/doc/html/ObjectName/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/ObjectName-1.0.0.0/ghc-7.6.3
Registering ObjectName-1.0.0.0...
Installed ObjectName-1.0.0.0
Configuring OpenGLRaw-1.4.0.0...
cabal: Missing dependency on a foreign library:
* Missing C library: GL
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
Failed to install OpenGLRaw-1.4.0.0
Downloading SG-1.0...
Configuring SG-1.0...
Building SG-1.0...
Preprocessing library SG-1.0...
[1 of 8] Compiling Data.SG.Vector   ( Data/SG/Vector.hs, dist/build/Data/SG/Vector.o )
[2 of 8] Compiling Data.SG.Vector.Basic ( Data/SG/Vector/Basic.hs, dist/build/Data/SG/Vector/Basic.o )
[3 of 8] Compiling Data.SG.Geometry ( Data/SG/Geometry.hs, dist/build/Data/SG/Geometry.o )

Data/SG/Geometry.hs:64:13:
    Could not deduce (Show a) arising from a use of `+'
    from the context (Num a)
      bound by the type signature for
                 plusDir :: Num a => Pair a -> Pair a -> Pair a
      at Data/SG/Geometry.hs:64:3-15
    Possible fix:
      add (Show a) to the context of
        the type signature for
          plusDir :: Num a => Pair a -> Pair a -> Pair a
    In the expression: (+)
    In an equation for `plusDir': plusDir = (+)
    In the instance declaration for `Geometry Pair Pair LinePair'

Data/SG/Geometry.hs:65:12:
    Could not deduce (Show a) arising from a use of `-'
    from the context (Num a)
      bound by the type signature for
                 fromPt :: Num a => Pair a -> Pair a -> Pair a
      at Data/SG/Geometry.hs:65:3-14
    Possible fix:
      add (Show a) to the context of
        the type signature for
          fromPt :: Num a => Pair a -> Pair a -> Pair a
    In the expression: (-)
    In an equation for `fromPt': fromPt = (-)
    In the instance declaration for `Geometry Pair Pair LinePair'

Data/SG/Geometry.hs:70:13:
    Could not deduce (Show a) arising from a use of `+'
    from the context (Num a)
      bound by the type signature for
                 plusDir :: Num a => Triple a -> Triple a -> Triple a
      at Data/SG/Geometry.hs:70:3-15
    Possible fix:
      add (Show a) to the context of
        the type signature for
          plusDir :: Num a => Triple a -> Triple a -> Triple a
    In the expression: (+)
    In an equation for `plusDir': plusDir = (+)
    In the instance declaration for `Geometry Triple Triple LineTriple'

Data/SG/Geometry.hs:71:12:
    Could not deduce (Show a) arising from a use of `-'
    from the context (Num a)
      bound by the type signature for
                 fromPt :: Num a => Triple a -> Triple a -> Triple a
      at Data/SG/Geometry.hs:71:3-14
    Possible fix:
      add (Show a) to the context of
        the type signature for
          fromPt :: Num a => Triple a -> Triple a -> Triple a
    In the expression: (-)
    In an equation for `fromPt': fromPt = (-)
    In the instance declaration for `Geometry Triple Triple LineTriple'

Data/SG/Geometry.hs:164:8:
    Could not deduce (Eq a) arising from a use of `=='
    from the context (Geometry rel pt ln,
                      Coord2 rel,
                      Coord2 pt,
                      Fractional a)
      bound by the type signature for
                 valueAtX :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                              Fractional a) =>
                             ln a -> a -> Maybe a
      at Data/SG/Geometry.hs:(161,13)-(162,25)
    Possible fix:
      add (Eq a) to the context of
        the type signature for
          valueAtX :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                       Fractional a) =>
                      ln a -> a -> Maybe a
    In the expression: xd == 0
    In a stmt of a pattern guard for
                   an equation for `valueAtX':
      xd == 0
    In an equation for `valueAtX':
        valueAtX l tgt
          | xd == 0 = Nothing
          | otherwise = let t = (tgt - x) / xd in Just t
          where
              x = getX $ getLineStart l
              xd = getX $ getLineDir l

Data/SG/Geometry.hs:177:8:
    Could not deduce (Eq a) arising from a use of `=='
    from the context (Geometry rel pt ln,
                      Coord2 rel,
                      Coord2 pt,
                      Fractional a)
      bound by the type signature for
                 valueAtY :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                              Fractional a) =>
                             ln a -> a -> Maybe a
      at Data/SG/Geometry.hs:(174,13)-(175,25)
    Possible fix:
      add (Eq a) to the context of
        the type signature for
          valueAtY :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                       Fractional a) =>
                      ln a -> a -> Maybe a
    In the expression: yd == 0
    In a stmt of a pattern guard for
                   an equation for `valueAtY':
      yd == 0
    In an equation for `valueAtY':
        valueAtY l tgt
          | yd == 0 = Nothing
          | otherwise = let t = (tgt - y) / yd in Just t
          where
              y = getY $ getLineStart l
              yd = getY $ getLineDir l

Data/SG/Geometry.hs:190:8:
    Could not deduce (Eq a) arising from a use of `=='
    from the context (Geometry rel pt ln,
                      Coord3 rel,
                      Coord3 pt,
                      Fractional a)
      bound by the type signature for
                 valueAtZ :: (Geometry rel pt ln, Coord3 rel, Coord3 pt,
                              Fractional a) =>
                             ln a -> a -> Maybe a
      at Data/SG/Geometry.hs:(187,13)-(188,25)
    Possible fix:
      add (Eq a) to the context of
        the type signature for
          valueAtZ :: (Geometry rel pt ln, Coord3 rel, Coord3 pt,
                       Fractional a) =>
                      ln a -> a -> Maybe a
    In the expression: zd == 0
    In a stmt of a pattern guard for
                   an equation for `valueAtZ':
      zd == 0
    In an equation for `valueAtZ':
        valueAtZ l tgt
          | zd == 0 = Nothing
          | otherwise = let t = (tgt - z) / zd in Just t
          where
              z = getZ $ getLineStart l
              zd = getZ $ getLineDir l
Failed to install SG-1.0
Configuring StateVar-1.0.0.0...
Building StateVar-1.0.0.0...
Preprocessing library StateVar-1.0.0.0...
[1 of 1] Compiling Data.StateVar    ( src/Data/StateVar.hs, dist/build/Data/StateVar.o )
In-place registering StateVar-1.0.0.0...
Running Haddock for StateVar-1.0.0.0...
Running hscolour for StateVar-1.0.0.0...
Preprocessing library StateVar-1.0.0.0...
Preprocessing library StateVar-1.0.0.0...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
 100% ( 16 / 16) in 'Data.StateVar'
Documentation created: dist/doc/html/StateVar/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/StateVar-1.0.0.0/ghc-7.6.3
Registering StateVar-1.0.0.0...
Installed StateVar-1.0.0.0
Configuring Tensor-1.0.0.1...
Building Tensor-1.0.0.1...
Preprocessing library Tensor-1.0.0.1...
[1 of 1] Compiling Data.Tensor      ( src/Data/Tensor.hs, dist/build/Data/Tensor.o )

src/Data/Tensor.hs:57:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:94:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:131:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:168:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:205:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:242:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:279:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

src/Data/Tensor.hs:316:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"
In-place registering Tensor-1.0.0.1...
Running Haddock for Tensor-1.0.0.1...
Running hscolour for Tensor-1.0.0.1...
Preprocessing library Tensor-1.0.0.1...
Preprocessing library Tensor-1.0.0.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0

dist/build/tmp-2519/src/Data/Tensor.hs:57:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:94:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:131:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:168:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:205:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:242:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:279:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"

dist/build/tmp-2519/src/Data/Tensor.hs:316:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"
Haddock coverage:
 100% (  9 /  9) in 'Data.Tensor'
Documentation created: dist/doc/html/Tensor/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/Tensor-1.0.0.1/ghc-7.6.3
Registering Tensor-1.0.0.1...
Installed Tensor-1.0.0.1
cabal: Error: some packages failed to install:
GLURaw-1.4.0.0 depends on OpenGLRaw-1.4.0.0 which failed to install.
GLUT-2.2.2.1 depends on OpenGLRaw-1.4.0.0 which failed to install.
OpenGL-2.4.0.2 depends on OpenGLRaw-1.4.0.0 which failed to install.
OpenGLRaw-1.4.0.0 failed during the configure step. The exception was:
ExitFailure 1
SG-1.0 failed during the building phase. The exception was:
ExitFailure 1
SGdemo-1.1 depends on SG-1.0 which failed to install.

Test log

No test log was submitted for this report.