Build #9 for mandulia-0.7

[all reports]

Package mandulia-0.7
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-29 06:18:01.333649 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies GLUT-2.7.0.10, array-0.5.1.1, 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, hslua-0.4.1, time-1.6.0.1
Flags -sse4 -fast

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring ObjectName-1.1.0.1...
Configuring fixed-0.2.1.1...
Building ObjectName-1.1.0.1...
Building fixed-0.2.1.1...
Installed ObjectName-1.1.0.1
Configuring half-0.2.2.3...
Configuring hslua-0.4.1...
Installed fixed-0.2.1.1
Building half-0.2.2.3...
Building hslua-0.4.1...
Configuring stm-2.4.4.1...
Installed half-0.2.2.3
Building stm-2.4.4.1...
Configuring text-1.2.2.1...
Installed stm-2.4.4.1
Building text-1.2.2.1...
Installed hslua-0.4.1
Configuring StateVar-1.1.0.4...
Building StateVar-1.1.0.4...
Installed StateVar-1.1.0.4
Installed text-1.2.2.1
Configuring OpenGLRaw-3.2.4.0...
Building OpenGLRaw-3.2.4.0...
Installed OpenGLRaw-3.2.4.0
Configuring GLURaw-2.0.0.3...
Building GLURaw-2.0.0.3...
Installed GLURaw-2.0.0.3
Configuring OpenGL-3.0.1.0...
Building OpenGL-3.0.1.0...
Installed OpenGL-3.0.1.0
Configuring GLUT-2.7.0.10...
Building GLUT-2.7.0.10...
Installed GLUT-2.7.0.10
Configuring mandulia-0.7...
Building mandulia-0.7...
Failed to install mandulia-0.7
Build log ( /home/builder/.cabal/logs/mandulia-0.7.log ):
cabal: Entering directory '/tmp/cabal-tmp-21034/mandulia-0.7'
Configuring mandulia-0.7...
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 mandulia-0.7...
Preprocessing executable 'mandulia' for mandulia-0.7...
In file included from dist/build/mandulia/mandulia-tmp/Sort_hsc_make.c:1:0:
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:34:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_const(x...)                               \
                    ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:40:24: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_const_str(x...)                                       \
                        ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:59:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_type(t...)                                      \
                   ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:85:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_size(t...) \
                   ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:88:24: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_alignment(t...) \
                        ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:101:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_haskellize(x...)                                       \
                         ^
In file included from dist/build/mandulia/mandulia-tmp/Sort_hsc_utils.c:7:0:
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:34:20: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_const(x...)                               \
                    ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:40:24: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_const_str(x...)                                       \
                        ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:59:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_type(t...)                                      \
                   ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:85:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_size(t...) \
                   ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:88:24: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_alignment(t...) \
                        ^
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:101:25: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define hsc_haskellize(x...)                                       \
                         ^
[ 1 of 16] Compiling Vector           ( src/Vector.hs, dist/build/mandulia/mandulia-tmp/Vector.o )
[ 2 of 16] Compiling Utils            ( src/Utils.hs, dist/build/mandulia/mandulia-tmp/Utils.o )
[ 3 of 16] Compiling StatsLogger      ( src/StatsLogger.hs, dist/build/mandulia/mandulia-tmp/StatsLogger.o )
[ 4 of 16] Compiling Sort             ( dist/build/mandulia/mandulia-tmp/Sort.hs, dist/build/mandulia/mandulia-tmp/Sort.o )

src/Sort.hsc:31:1: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor is not in scope
          Possible fix: import the data constructor to bring it into scope
    • When checking declaration:
        foreign import ccall safe "static qsort.h sort" c_sort
          :: Ptr () -> CInt -> IO ()
cabal: Leaving directory '/tmp/cabal-tmp-21034/mandulia-0.7'
cabal: Error: some packages failed to install:
mandulia-0.7 failed during the building phase. The exception was:
ExitFailure 1