Build #1 for libffi-dynamic-0.0.0.1
| Package | libffi-dynamic-0.0.0.1 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2019-04-19 21:53:43.394592606 UTC |
|---|---|
| Compiler | ghc-8.6.3 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | base-4.12.0.0, contravariant-1.5, hashable-1.2.7.0, intern-0.9.2 |
| 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 hashable-1.2.7.0
Building StateVar-1.1.1.1
Building hashable-1.2.7.0
Completed StateVar-1.1.1.1
Starting contravariant-1.5
Building contravariant-1.5
Completed hashable-1.2.7.0
Starting unordered-containers-0.2.10.0
Building unordered-containers-0.2.10.0
Completed contravariant-1.5
Completed unordered-containers-0.2.10.0
Starting intern-0.9.2
Building intern-0.9.2
Completed intern-0.9.2
Downloading libffi-dynamic-0.0.0.1
Downloaded libffi-dynamic-0.0.0.1
Starting libffi-dynamic-0.0.0.1
Building libffi-dynamic-0.0.0.1
Failed to install libffi-dynamic-0.0.0.1
Build log ( /home/builder/.cabal/logs/ghc-8.6.3/libffi-dynamic-0.0.0.1-2x5CNQs4ORUEEySkkKSbGC.log ):
cabal: Entering directory '/tmp/cabal-tmp-4201/libffi-dynamic-0.0.0.1'
Configuring libffi-dynamic-0.0.0.1...
Preprocessing library for libffi-dynamic-0.0.0.1..
Building library for libffi-dynamic-0.0.0.1..
[1 of 8] Compiling Foreign.LibFFI.Dynamic.Base ( dist/build/Foreign/LibFFI/Dynamic/Base.hs, dist/build/Foreign/LibFFI/Dynamic/Base.o )
[2 of 8] Compiling Foreign.LibFFI.Dynamic.Type ( dist/build/Foreign/LibFFI/Dynamic/Type.hs, dist/build/Foreign/LibFFI/Dynamic/Type.o )
[3 of 8] Compiling Foreign.LibFFI.Dynamic.FFIType ( dist/build/Foreign/LibFFI/Dynamic/FFIType.hs, dist/build/Foreign/LibFFI/Dynamic/FFIType.o )
src/Foreign/LibFFI/Dynamic/FFIType.hsc:105:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In a case alternative: 2 -> ...
|
105 | 2 -> [t| Word16 |]
| ^^^^^^^^^^^^^^^^^^^
src/Foreign/LibFFI/Dynamic/FFIType.hsc:106:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In a case alternative: 4 -> ...
|
106 | 4 -> [t| Word32 |]
| ^^^^^^^^^^^^^^^^^^^
src/Foreign/LibFFI/Dynamic/FFIType.hsc:107:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In a case alternative: 8 -> ...
|
107 | 8 -> [t| Word64 |]
| ^^^^^^^^^^^^^^^^^^^
src/Foreign/LibFFI/Dynamic/FFIType.hsc:108:9: warning: [-Woverlapping-patterns]
Pattern match is redundant
In a case alternative: _ -> ...
|
108 | _ -> fail "Bool is weird"
| ^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 8] Compiling Foreign.LibFFI.Dynamic.CIF ( dist/build/Foreign/LibFFI/Dynamic/CIF.hs, dist/build/Foreign/LibFFI/Dynamic/CIF.o )
src/Foreign/LibFFI/Dynamic/CIF.hsc:27:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
27 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 8] Compiling Foreign.LibFFI.Dynamic.Closure ( src/Foreign/LibFFI/Dynamic/Closure.hs, dist/build/Foreign/LibFFI/Dynamic/Closure.o )
[6 of 8] Compiling Foreign.Dynamic ( src/Foreign/Dynamic.hs, dist/build/Foreign/Dynamic.o )
[7 of 8] Compiling Foreign.Wrapper ( src/Foreign/Wrapper.hs, dist/build/Foreign/Wrapper.o )
[8 of 8] Compiling Foreign.LibFFI.Dynamic ( src/Foreign/LibFFI/Dynamic.hs, dist/build/Foreign/LibFFI/Dynamic.o )
cbits/closures.c:210:10: error:
fatal error: dlmalloc.c: No such file or directory
#include "dlmalloc.c"
^~~~~~~~~~~~
|
210 | #include "dlmalloc.c"
| ^
compilation terminated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-4201/libffi-dynamic-0.0.0.1'
cabal: Error: some packages failed to install:
libffi-dynamic-0.0.0.1-2x5CNQs4ORUEEySkkKSbGC failed during the building
phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.