Build #3 for minitypeset-opengl-0.2.0.0

[all reports]

Package minitypeset-opengl-0.2.0.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2019-04-28 16:03:54.586410847 UTC
Compiler ghc-8.6.3
OS linux
Arch x86_64
Dependencies OpenGL-3.0.2.2, base-4.12.0.0, containers-0.6.0.1, filepath-1.4.2.1, stb-truetype-0.1.4
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Warning: The install command is a part of the legacy v1 style of cabal usage.

Please switch to using either the new project style and the new-install
command or the legacy v1-install alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Starting     StateVar-1.1.1.1
Starting     fixed-0.2.1.1
Starting     ObjectName-1.1.0.1
Starting     half-0.3
Building     fixed-0.2.1.1
Building     half-0.3
Building     StateVar-1.1.1.1
Building     ObjectName-1.1.0.1
Completed    ObjectName-1.1.0.1
Starting     stb-truetype-0.1.4
Completed    fixed-0.2.1.1
Building     stb-truetype-0.1.4
Completed    StateVar-1.1.1.1
Completed    half-0.3
Starting     OpenGLRaw-3.3.2.0
Building     OpenGLRaw-3.3.2.0
Completed    stb-truetype-0.1.4
Completed    OpenGLRaw-3.3.2.0
Starting     GLURaw-2.0.0.4
Building     GLURaw-2.0.0.4
Completed    GLURaw-2.0.0.4
Starting     OpenGL-3.0.2.2
Building     OpenGL-3.0.2.2
Completed    OpenGL-3.0.2.2
Starting     minitypeset-opengl-0.2.0.0
Building     minitypeset-opengl-0.2.0.0
Failed to install minitypeset-opengl-0.2.0.0
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/minitypeset-opengl-0.2.0.0-ASDPkkbS6VxIYZzCumcx5N.log ):
cabal: Entering directory '/tmp/cabal-tmp-21176/minitypeset-opengl-0.2.0.0'
Configuring minitypeset-opengl-0.2.0.0...
Preprocessing library for minitypeset-opengl-0.2.0.0..
Building library for minitypeset-opengl-0.2.0.0..
[1 of 8] Compiling Graphics.Rendering.MiniTypeset.Common ( src/Graphics/Rendering/MiniTypeset/Common.hs, dist/build/Graphics/Rendering/MiniTypeset/Common.o )
[2 of 8] Compiling Graphics.Rendering.MiniTypeset.Box ( src/Graphics/Rendering/MiniTypeset/Box.hs, dist/build/Graphics/Rendering/MiniTypeset/Box.o )

src/Graphics/Rendering/MiniTypeset/Box.hs:82:10: error:
    • No instance for (Semigroup Quad)
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monoid Quad’
   |
82 | instance Monoid Quad where
   |          ^^^^^^^^^^^

src/Graphics/Rendering/MiniTypeset/Box.hs:295:11: error:
    • No instance for (Semigroup Quad) arising from a use of ‘<>’
    • In the expression: outer0 <> ofsLUB (pos1, outer1) (pos2, outer2)
      In an equation for ‘outer’:
          outer = outer0 <> ofsLUB (pos1, outer1) (pos2, outer2)
      In an equation for ‘subSupScriptBox’:
          subSupScriptBox box0 (y1, box1) (y2, box2)
            = (box, (pos1, pos2))
            where
                box = Box (w, h) outer bound gap
                pos1 = Pos x (h0 + y1)
                pos2 = Pos x (h0 + y2)
                x = max (quadR gap0 - quadL gap1) (quadR gap0 - quadL gap2)
                ....
    |
295 |   outer = outer0 <> ofsLUB (pos1,outer1) (pos2,outer2)
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/MiniTypeset/Box.hs:296:11: error:
    • No instance for (Semigroup Quad) arising from a use of ‘<>’
    • In the expression: bound0 <> ofsLUB (pos1, bound1) (pos2, bound2)
      In an equation for ‘bound’:
          bound = bound0 <> ofsLUB (pos1, bound1) (pos2, bound2)
      In an equation for ‘subSupScriptBox’:
          subSupScriptBox box0 (y1, box1) (y2, box2)
            = (box, (pos1, pos2))
            where
                box = Box (w, h) outer bound gap
                pos1 = Pos x (h0 + y1)
                pos2 = Pos x (h0 + y2)
                x = max (quadR gap0 - quadL gap1) (quadR gap0 - quadL gap2)
                ....
    |
296 |   bound = bound0 <> ofsLUB (pos1,bound1) (pos2,bound2)
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/MiniTypeset/Box.hs:297:11: error:
    • No instance for (Semigroup Quad) arising from a use of ‘<>’
    • In the expression: gap0 <> ofsLUB (pos1, gap1) (pos2, gap2)
      In an equation for ‘gap’:
          gap = gap0 <> ofsLUB (pos1, gap1) (pos2, gap2)
      In an equation for ‘subSupScriptBox’:
          subSupScriptBox box0 (y1, box1) (y2, box2)
            = (box, (pos1, pos2))
            where
                box = Box (w, h) outer bound gap
                pos1 = Pos x (h0 + y1)
                pos2 = Pos x (h0 + y2)
                x = max (quadR gap0 - quadL gap1) (quadR gap0 - quadL gap2)
                ....
    |
297 |   gap   = gap0   <> ofsLUB (pos1,  gap1) (pos2,  gap2)
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/MiniTypeset/Box.hs:328:11: error:
    • No instance for (Semigroup Quad) arising from a use of ‘<>’
    • In the expression: outer0 <> ofsLUB (pos1, outer1) (pos2, outer2)
      In an equation for ‘outer’:
          outer = outer0 <> ofsLUB (pos1, outer1) (pos2, outer2)
      In an equation for ‘aboveBelowBox’:
          aboveBelowBox box0 (Pos x1ofs y1ofs, box1) (Pos x2ofs y2ofs, box2)
            = (box, (pos1, pos2))
            where
                box = Box (w, h) outer bound gap
                Quad (u1, v1) (u2, v2) = bound0
                xc = 0.5 * (u1 + u2)
                x1 = xc - 0.5 * w1 + x1ofs - quadL bound1
                ....
    |
328 |   outer = outer0 <> ofsLUB (pos1,outer1) (pos2,outer2)
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/MiniTypeset/Box.hs:329:11: error:
    • No instance for (Semigroup Quad) arising from a use of ‘<>’
    • In the expression: bound0 <> ofsLUB (pos1, bound1) (pos2, bound2)
      In an equation for ‘bound’:
          bound = bound0 <> ofsLUB (pos1, bound1) (pos2, bound2)
      In an equation for ‘aboveBelowBox’:
          aboveBelowBox box0 (Pos x1ofs y1ofs, box1) (Pos x2ofs y2ofs, box2)
            = (box, (pos1, pos2))
            where
                box = Box (w, h) outer bound gap
                Quad (u1, v1) (u2, v2) = bound0
                xc = 0.5 * (u1 + u2)
                x1 = xc - 0.5 * w1 + x1ofs - quadL bound1
                ....
    |
329 |   bound = bound0 <> ofsLUB (pos1,bound1) (pos2,bound2)
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/MiniTypeset/Box.hs:330:11: error:
    • No instance for (Semigroup Quad) arising from a use of ‘<>’
    • In the expression: gap0 <> ofsLUB (pos1, gap1) (pos2, gap2)
      In an equation for ‘gap’:
          gap = gap0 <> ofsLUB (pos1, gap1) (pos2, gap2)
      In an equation for ‘aboveBelowBox’:
          aboveBelowBox box0 (Pos x1ofs y1ofs, box1) (Pos x2ofs y2ofs, box2)
            = (box, (pos1, pos2))
            where
                box = Box (w, h) outer bound gap
                Quad (u1, v1) (u2, v2) = bound0
                xc = 0.5 * (u1 + u2)
                x1 = xc - 0.5 * w1 + x1ofs - quadL bound1
                ....
    |
330 |   gap   = gap0   <> ofsLUB (pos1,  gap1) (pos2,  gap2)
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-21176/minitypeset-opengl-0.2.0.0'
cabal: Error: some packages failed to install:
minitypeset-opengl-0.2.0.0-ASDPkkbS6VxIYZzCumcx5N failed during the building
phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.