Build #2 for SecureHash-SHA3-0.1.0.1

[all reports]

Package SecureHash-SHA3-0.1.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-12-01 18:22:15.817625818 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies base-4.12.0.0, bytestring-0.10.8.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     SecureHash-SHA3-0.1.0.1
Building     SecureHash-SHA3-0.1.0.1
Failed to install SecureHash-SHA3-0.1.0.1
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/SecureHash-SHA3-0.1.0.1-Zq8r25Li3QC1klDDDp3DN.log ):
cabal: Entering directory '/tmp/cabal-tmp-22958/SecureHash-SHA3-0.1.0.1'
Configuring SecureHash-SHA3-0.1.0.1...
Preprocessing library for SecureHash-SHA3-0.1.0.1..
Building library for SecureHash-SHA3-0.1.0.1..
[1 of 2] Compiling Crypto.SecureHash.SHA3.FFI ( src/Crypto/SecureHash/SHA3/FFI.hs, dist/build/Crypto/SecureHash/SHA3/FFI.o )

In file included from /tmp/ghc23086_0/ghc_3.c:7:0: error: 

cbits/CTS_SHA3.h:194:0: error:
     warning: "LITTLE_ENDIAN" redefined [enabled by default]
     #define LITTLE_ENDIAN
     ^
    |
194 | #define LITTLE_ENDIAN
    | ^

In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0: error:
    0,
                     from /usr/include/stdlib.h:42,
                     from /opt/ghc/8.6.1/lib/ghc-8.6.1/include/Rts.h:156,
                     from /tmp/ghc23086_0/ghc_3.c:2:

/usr/include/endian.h:45:0: error:
     note: this is the location of the previous definition
     # define LITTLE_ENDIAN __LITTLE_ENDIAN
     ^
   |
45 | # define LITTLE_ENDIAN  __LITTLE_ENDIAN
   | ^

In file included from /tmp/ghc23086_0/ghc_3.c:7:0: error: 

cbits/CTS_SHA3.h:215:1: error:
     error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’
     static inline int CTS_LFSR86540(UINT8 *LFSR)
     ^
    |
215 | static inline int CTS_LFSR86540(UINT8 *LFSR)
    | ^
cbits/CTS_SHA3.h: In function ‘CTS_KeccakF1600_StatePermute’:

cbits/CTS_SHA3.h:283:17: error:
     warning: implicit declaration of function ‘CTS_LFSR86540’ [-Wimplicit-function-declaration]
                     if (CTS_LFSR86540(&LFSRstate))
                     ^
    |
283 |                 if (CTS_LFSR86540(&LFSRstate))
    |                 ^

In file included from /tmp/ghc23086_0/ghc_3.c:7:0: error: 
cbits/CTS_SHA3.h: At top level:

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:9:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:11:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:13:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:15:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:17:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:19:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:21:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:23:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:25:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:27:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^

In file included from /tmp/ghc23086_0/ghc_3.c:29:0: error: 

cbits/CTS_SHA3.h:1:0: error:
     error: unterminated #ifndef
     #ifndef HS_SECUREHASH_SHA3_H
     ^
  |
1 | #ifndef HS_SECUREHASH_SHA3_H
  | ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-22958/SecureHash-SHA3-0.1.0.1'
cabal: Error: some packages failed to install:
SecureHash-SHA3-0.1.0.1-Zq8r25Li3QC1klDDDp3DN failed during the building
phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.