Resolving dependencies... Downloading hid-0.2.1.1... Configuring hid-0.2.1.1... Building hid-0.2.1.1... Preprocessing library hid-0.2.1.1... c2hs: Errors during expansion of binding hooks: src/System/HID/Internal/Types.chs:20: (column 20) [ERROR] >>> Illegal structure or union type! There is not automatic support for marshaling of structures and unions; the offending type is declared at ("/usr/include/hidapi/hidapi.h": line 46). Failed to install hid-0.2.1.1 Configuring split-0.2.2... Building split-0.2.2... Preprocessing library split-0.2.2... [1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o ) [2 of 2] Compiling Data.List.Split ( src/Data/List/Split.hs, dist/build/Data/List/Split.o ) In-place registering split-0.2.2... Running Haddock for split-0.2.2... cabal: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-split-0.2608413784756898537.2 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/split-0.2.2-E4yadeCDng9EtdbI5MZoDg Registering split-0.2.2... Installed split-0.2.2 cabal: Error: some packages failed to install: hid-0.2.1.1 failed during the building phase. The exception was: ExitFailure 1 msi-kb-backlit-0.1.0.1 depends on hid-0.2.1.1 which failed to install.