Resolving dependencies... Configuring bindings-DSL-1.0.20... Building bindings-DSL-1.0.20... Preprocessing library bindings-DSL-1.0.20... [1 of 1] Compiling Bindings.Utilities ( Bindings/Utilities.hs, dist/build/Bindings/Utilities.o ) In-place registering bindings-DSL-1.0.20... Running Haddock for bindings-DSL-1.0.20... Running hscolour for bindings-DSL-1.0.20... Preprocessing library bindings-DSL-1.0.20... Preprocessing library bindings-DSL-1.0.20... Haddock coverage: 67% ( 2 / 3) in 'Bindings.Utilities' Documentation created: dist/doc/html/bindings-DSL/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/bindings-DSL-1.0.20 Registering bindings-DSL-1.0.20... Installed bindings-DSL-1.0.20 Configuring containers-0.4.2.1... Building containers-0.4.2.1... Preprocessing library containers-0.4.2.1... [1 of 7] Compiling Data.Sequence ( Data/Sequence.hs, dist/build/Data/Sequence.o ) Data/Sequence.hs:311:1: Warning: SPECIALISE pragma on INLINE function probably won't fire: `deep' Data/Sequence.hs:312:1: Warning: SPECIALISE pragma on INLINE function probably won't fire: `deep' Data/Sequence.hs:437:1: Warning: SPECIALISE pragma on INLINE function probably won't fire: `node2' Data/Sequence.hs:438:1: Warning: SPECIALISE pragma on INLINE function probably won't fire: `node2' Data/Sequence.hs:443:1: Warning: SPECIALISE pragma on INLINE function probably won't fire: `node3' Data/Sequence.hs:444:1: Warning: SPECIALISE pragma on INLINE function probably won't fire: `node3' [2 of 7] Compiling Data.Tree ( Data/Tree.hs, dist/build/Data/Tree.o ) [3 of 7] Compiling Data.Graph ( Data/Graph.hs, dist/build/Data/Graph.o ) [4 of 7] Compiling Data.Set ( Data/Set.hs, dist/build/Data/Set.o ) [5 of 7] Compiling Data.Map ( Data/Map.hs, dist/build/Data/Map.o ) [6 of 7] Compiling Data.IntSet ( Data/IntSet.hs, dist/build/Data/IntSet.o ) [7 of 7] Compiling Data.IntMap ( Data/IntMap.hs, dist/build/Data/IntMap.o ) In-place registering containers-0.4.2.1... Running Haddock for containers-0.4.2.1... Running hscolour for containers-0.4.2.1... Preprocessing library containers-0.4.2.1... Preprocessing library containers-0.4.2.1... Haddock coverage: 100% ( 82 / 82) in 'Data.Sequence' 94% ( 15 / 16) in 'Data.Tree' 100% ( 33 / 33) in 'Data.Graph' 100% ( 60 / 60) in 'Data.Set' 100% ( 58 / 58) in 'Data.IntSet' 99% (116 /117) in 'Data.IntMap' 100% (128 /128) in 'Data.Map' Warning: Data.Sequence: could not find link destinations for: Data.Sequence.PQueue Data.Sequence.applicativeTree Data.Sequence.unrollPQ Data.Sequence.toPQ Data.Sequence.FingerTree Data.Sequence.mergePQ Warning: Data.IntMap: could not find link destinations for: Data.IntMap.mapAccumL Warning: Data.Map: could not find link destinations for: Data.Map.mapAccumL Documentation created: dist/doc/html/containers/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/containers-0.4.2.1 Registering containers-0.4.2.1... Installed containers-0.4.2.1 Configuring ioctl-0.0.1... Building ioctl-0.0.1... Preprocessing library ioctl-0.0.1... [1 of 3] Compiling System.IOControl ( src/System/IOControl.hs, dist/build/System/IOControl.o ) [2 of 3] Compiling System.Posix.IOCtl ( src-unix/System/Posix/IOCtl.hs, dist/build/System/Posix/IOCtl.o ) [3 of 3] Compiling Network.Socket.IOCtl ( src-unix/Network/Socket/IOCtl.hs, dist/build/Network/Socket/IOCtl.o ) In-place registering ioctl-0.0.1... Running Haddock for ioctl-0.0.1... Running hscolour for ioctl-0.0.1... Preprocessing library ioctl-0.0.1... Preprocessing library ioctl-0.0.1... Haddock coverage: 100% ( 2 / 2) in 'System.IOControl' 100% ( 5 / 5) in 'System.Posix.IOCtl' 100% ( 5 / 5) in 'Network.Socket.IOCtl' Documentation created: dist/doc/html/ioctl/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/ioctl-0.0.1 Registering ioctl-0.0.1... Installed ioctl-0.0.1 Configuring bindings-libv4l2-0.1... Building bindings-libv4l2-0.1... Preprocessing library bindings-libv4l2-0.1... [1 of 1] Compiling Bindings.LibV4L2 ( dist/build/Bindings/LibV4L2.hs, dist/build/Bindings/LibV4L2.o ) In-place registering bindings-libv4l2-0.1... Running Haddock for bindings-libv4l2-0.1... Running hscolour for bindings-libv4l2-0.1... Preprocessing library bindings-libv4l2-0.1... Preprocessing library bindings-libv4l2-0.1... Haddock coverage: 4% ( 1 / 23) in 'Bindings.LibV4L2' Documentation created: dist/doc/html/bindings-libv4l2/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/bindings-libv4l2-0.1 Registering bindings-libv4l2-0.1... Installed bindings-libv4l2-0.1 Configuring bindings-posix-1.2.6... Building bindings-posix-1.2.6... Preprocessing library bindings-posix-1.2.6... [ 1 of 13] Compiling Bindings.Posix.Sys.Utsname ( dist/build/Bindings/Posix/Sys/Utsname.hs, dist/build/Bindings/Posix/Sys/Utsname.o ) [ 2 of 13] Compiling Bindings.Posix.Sys.Types ( dist/build/Bindings/Posix/Sys/Types.hs, dist/build/Bindings/Posix/Sys/Types.o ) [ 3 of 13] Compiling Bindings.Posix.Sys.Mman ( dist/build/Bindings/Posix/Sys/Mman.hs, dist/build/Bindings/Posix/Sys/Mman.o ) [ 4 of 13] Compiling Bindings.Posix.Unistd ( dist/build/Bindings/Posix/Unistd.hs, dist/build/Bindings/Posix/Unistd.o ) [ 5 of 13] Compiling Bindings.Posix.Signal ( dist/build/Bindings/Posix/Signal.hs, dist/build/Bindings/Posix/Signal.o ) [ 6 of 13] Compiling Bindings.Posix.Regex ( dist/build/Bindings/Posix/Regex.hs, dist/build/Bindings/Posix/Regex.o ) [ 7 of 13] Compiling Bindings.Posix.Locale ( dist/build/Bindings/Posix/Locale.hs, dist/build/Bindings/Posix/Locale.o ) [ 8 of 13] Compiling Bindings.Posix.Time ( dist/build/Bindings/Posix/Time.hs, dist/build/Bindings/Posix/Time.o ) [ 9 of 13] Compiling Bindings.Posix.Sys.Select ( dist/build/Bindings/Posix/Sys/Select.hs, dist/build/Bindings/Posix/Sys/Select.o ) [10 of 13] Compiling Bindings.Posix.Sys ( src/Bindings/Posix/Sys.hs, dist/build/Bindings/Posix/Sys.o ) [11 of 13] Compiling Bindings.Posix.Fcntl ( dist/build/Bindings/Posix/Fcntl.hs, dist/build/Bindings/Posix/Fcntl.o ) [12 of 13] Compiling Bindings.Posix.Errno ( dist/build/Bindings/Posix/Errno.hs, dist/build/Bindings/Posix/Errno.o ) [13 of 13] Compiling Bindings.Posix ( src/Bindings/Posix.hs, dist/build/Bindings/Posix.o ) In-place registering bindings-posix-1.2.6... Running Haddock for bindings-posix-1.2.6... Running hscolour for bindings-posix-1.2.6... Preprocessing library bindings-posix-1.2.6... Preprocessing library bindings-posix-1.2.6... Haddock coverage: 11% ( 1 / 9) in 'Bindings.Posix.Sys.Utsname' 3% ( 1 / 31) in 'Bindings.Posix.Sys.Types' 7% ( 1 / 15) in 'Bindings.Posix.Sys.Mman' 0% ( 1 /304) in 'Bindings.Posix.Unistd' 1% ( 1 /131) in 'Bindings.Posix.Signal' 3% ( 1 / 34) in 'Bindings.Posix.Regex' 50% ( 1 / 2) in 'Bindings.Posix.Locale' 2% ( 1 / 66) in 'Bindings.Posix.Time' 7% ( 1 / 14) in 'Bindings.Posix.Sys.Select' 80% ( 4 / 5) in 'Bindings.Posix.Sys' 3% ( 1 / 34) in 'Bindings.Posix.Fcntl' 1% ( 1 / 78) in 'Bindings.Posix.Errno' 89% ( 8 / 9) in 'Bindings.Posix' Documentation created: dist/doc/html/bindings-posix/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/bindings-posix-1.2.6 Registering bindings-posix-1.2.6... Installed bindings-posix-1.2.6 Configuring bindings-linux-videodev2-0.1... Building bindings-linux-videodev2-0.1... Preprocessing library bindings-linux-videodev2-0.1... [1 of 1] Compiling Bindings.Linux.VideoDev2 ( dist/build/Bindings/Linux/VideoDev2.hs, dist/build/Bindings/Linux/VideoDev2.o ) In-place registering bindings-linux-videodev2-0.1... Running Haddock for bindings-linux-videodev2-0.1... Running hscolour for bindings-linux-videodev2-0.1... Preprocessing library bindings-linux-videodev2-0.1... Preprocessing library bindings-linux-videodev2-0.1... Haddock coverage: 0% ( 1 /1110) in 'Bindings.Linux.VideoDev2' Documentation created: dist/doc/html/bindings-linux-videodev2/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/bindings-linux-videodev2-0.1 Registering bindings-linux-videodev2-0.1... Installed bindings-linux-videodev2-0.1 Downloading v4l2-0.1... Configuring v4l2-0.1... Building v4l2-0.1... Preprocessing library v4l2-0.1... [ 1 of 23] Compiling Graphics.V4L2.Types.Internal ( Graphics/V4L2/Types/Internal.hs, dist/build/Graphics/V4L2/Types/Internal.o ) [ 2 of 23] Compiling Graphics.V4L2.Types ( Graphics/V4L2/Types.hs, dist/build/Graphics/V4L2/Types.o ) [ 3 of 23] Compiling Foreign.Extra.CEnum ( Foreign/Extra/CEnum.hs, dist/build/Foreign/Extra/CEnum.o ) [ 4 of 23] Compiling Graphics.V4L2.Field.Internal ( Graphics/V4L2/Field/Internal.hs, dist/build/Graphics/V4L2/Field/Internal.o ) Graphics/V4L2/Field/Internal.hs:67:20: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Graphics/V4L2/Field/Internal.hs:71:20: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Graphics/V4L2/Field/Internal.hs:75:20: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" [ 5 of 23] Compiling Graphics.V4L2.PixelFormat.Internal ( Graphics/V4L2/PixelFormat/Internal.hs, dist/build/Graphics/V4L2/PixelFormat/Internal.o ) [ 6 of 23] Compiling Graphics.V4L2.ColorSpace.Internal ( Graphics/V4L2/ColorSpace/Internal.hs, dist/build/Graphics/V4L2/ColorSpace/Internal.o ) [ 7 of 23] Compiling Foreign.Extra.String ( Foreign/Extra/String.hs, dist/build/Foreign/Extra/String.o ) [ 8 of 23] Compiling Foreign.Extra.BitSet ( Foreign/Extra/BitSet.hs, dist/build/Foreign/Extra/BitSet.o ) Foreign/Extra/BitSet.hs:11:18: Could not deduce (Num c) arising from the literal `0' from the context (Ord h, Bits c) bound by the type signature for fromBitSet :: (Ord h, Bits c) => [(h, c)] -> (c -> h) -> c -> Set h at Foreign/Extra/BitSet.hs:9:15-67 Possible fix: add (Num c) to the context of the type signature for fromBitSet :: (Ord h, Bits c) => [(h, c)] -> (c -> h) -> c -> Set h In the second argument of `(==)', namely `0' In the expression: unmatched == 0 In a stmt of a pattern guard for an equation for `fromBitSet': unmatched == 0 Foreign/Extra/BitSet.hs:20:49: Could not deduce (Num c) arising from the literal `0' from the context (Eq h, Bits c) bound by the type signature for toBitSet :: (Eq h, Bits c) => [(h, c)] -> (h -> Bool) -> (h -> c) -> Set h -> c at Foreign/Extra/BitSet.hs:19:12-78 Possible fix: add (Num c) to the context of the type signature for toBitSet :: (Eq h, Bits c) => [(h, c)] -> (h -> Bool) -> (h -> c) -> Set h -> c In the second argument of `foldr', namely `0' In the first argument of `(.)', namely `foldr (.|.) 0' In the expression: foldr (.|.) 0 . map f . toList Failed to install v4l2-0.1 cabal: Error: some packages failed to install: v4l2-0.1 failed during the building phase. The exception was: ExitFailure 1