Resolving dependencies... Configuring hw-prim-bits-0.1.0.4... Building hw-prim-bits-0.1.0.4... Failed to install hw-prim-bits-0.1.0.4 Build log ( /home/builder/.cabal/logs/hw-prim-bits-0.1.0.4.log ): cabal: Entering directory '/tmp/cabal-tmp-9153/hw-prim-bits-0.1.0.4' Configuring hw-prim-bits-0.1.0.4... Building hw-prim-bits-0.1.0.4... Preprocessing library hw-prim-bits-0.1.0.4... [1 of 3] Compiling HaskellWorks.Prim.Bits.Slow ( src/HaskellWorks/Prim/Bits/Slow.hs, dist/build/HaskellWorks/Prim/Bits/Slow.o ) [2 of 3] Compiling HaskellWorks.Prim.Bits.Fast ( src/HaskellWorks/Prim/Bits/Fast.hs, dist/build/HaskellWorks/Prim/Bits/Fast.o ) [3 of 3] Compiling HaskellWorks.Prim.Bits ( src/HaskellWorks/Prim/Bits.hs, dist/build/HaskellWorks/Prim/Bits.o ) cbits/bits.c: In function ‘slow_pext32’: cbits/bits.c:94:3: error: error: ‘for’ loop initial declarations are only allowed in C99 mode for (int bit = 0; bit != sizeof(uint32_t) * 8; ++bit) { ^ cbits/bits.c:94:3: error: note: use option -std=c99 or -std=gnu99 to compile your code cbits/bits.c: In function ‘slow_pext64’: cbits/bits.c:126:3: error: error: ‘for’ loop initial declarations are only allowed in C99 mode for (int bit = 0; bit != sizeof(uint64_t) * 8; ++bit) { ^ `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-9153/hw-prim-bits-0.1.0.4' cabal: Error: some packages failed to install: hw-prim-bits-0.1.0.4 failed during the building phase. The exception was: ExitFailure 1