Build #2 for entropy-0.4.1.9

[all reports]

Package entropy-0.4.1.9
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2022-08-22 06:07:04.548266268 UTC
Compiler ghc-8.10.2
OS linux
Arch x86_64
Dependencies base-4.14.1.0, bytestring-0.10.10.0, unix-2.7.2.2
Flags -donotgetentropy

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Starting     entropy-0.4.1.9
Building     entropy-0.4.1.9
Failed to install entropy-0.4.1.9
Build log ( /home/builder/.cabal/logs/ghc-8.10.2/entropy-0.4.1.9-LoSdQXfKBP0GAYJ0dEtjBq.log ):
cabal: Entering directory '/tmp/cabal-tmp-19785/entropy-0.4.1.9'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-19785/entropy-0.4.1.9/dist/setup/setup.hs, /tmp/cabal-tmp-19785/entropy-0.4.1.9/dist/setup/Main.o )
Linking /tmp/cabal-tmp-19785/entropy-0.4.1.9/dist/setup/setup ...
Configuring entropy-0.4.1.9...
Result of RDRAND Test: True
Result of libc getrandom() Test: True
Result of getentropy() Test: True
Preprocessing library for entropy-0.4.1.9..
Building library for entropy-0.4.1.9..
[1 of 2] Compiling System.EntropyNix ( System/EntropyNix.hs, dist/build/System/EntropyNix.o, dist/build/System/EntropyNix.dyn_o )
[2 of 2] Compiling System.Entropy   ( System/Entropy.hs, dist/build/System/Entropy.o, dist/build/System/Entropy.dyn_o )

cbits/random_initialized.c:9:9: error:
     error: macro names must be identifiers
     #ifndef !DO_NOT_USE_GET_ENTROPY
             ^
  |
9 | #ifndef !DO_NOT_USE_GET_ENTROPY
  |         ^
cbits/random_initialized.c: In function ensure_pool_initialized:

cbits/random_initialized.c:51:9: error:
     error: macro names must be identifiers
     #ifndef !DO_NOT_USE_GET_ENTROPY
             ^
   |
51 | #ifndef !DO_NOT_USE_GET_ENTROPY
   |         ^
`cc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-19785/entropy-0.4.1.9'
cabal: Error: some packages failed to install:
entropy-0.4.1.9-LoSdQXfKBP0GAYJ0dEtjBq failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.