Resolving dependencies... Configuring huckleberry-0.9.1.0... Building huckleberry-0.9.1.0... Failed to install huckleberry-0.9.1.0 Build log ( /home/builder/.cabal/logs/huckleberry-0.9.1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-23913/huckleberry-0.9.1.0' Configuring huckleberry-0.9.1.0... Warning: 'include-dirs: include' directory does not exist. Building huckleberry-0.9.1.0... Preprocessing library huckleberry-0.9.1.0... [1 of 6] Compiling System.PIO.Linux.SPI ( src/System/PIO/Linux/SPI.hs, dist/build/System/PIO/Linux/SPI.o ) [2 of 6] Compiling System.PIO.Linux.PWM ( src/System/PIO/Linux/PWM.hs, dist/build/System/PIO/Linux/PWM.o ) [3 of 6] Compiling System.PIO.Linux.I2C ( src/System/PIO/Linux/I2C.hs, dist/build/System/PIO/Linux/I2C.o ) [4 of 6] Compiling System.PIO.Linux.GPIO ( src/System/PIO/Linux/GPIO.hs, dist/build/System/PIO/Linux/GPIO.o ) [5 of 6] Compiling System.PIO.Linux ( src/System/PIO/Linux.hs, dist/build/System/PIO/Linux.o ) [6 of 6] Compiling System.PIO ( src/System/PIO.hs, dist/build/System/PIO.o ) cbits/hs_fcntl.c:1:22: error: fatal error: hs_fcntl.h: No such file or directory #include "hs_fcntl.h" ^ compilation terminated. `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-23913/huckleberry-0.9.1.0' cabal: Error: some packages failed to install: huckleberry-0.9.1.0 failed during the building phase. The exception was: ExitFailure 1