Resolving dependencies... Configuring ObjectName-1.1.0.1... Configuring Tensor-1.1.0.1... Building ObjectName-1.1.0.1... Building Tensor-1.1.0.1... Installed ObjectName-1.1.0.1 Configuring bindings-DSL-1.0.23... Building bindings-DSL-1.0.23... Configuring fixed-0.2.1.1... Installed bindings-DSL-1.0.23 Building fixed-0.2.1.1... Configuring half-0.2.2.3... Installed Tensor-1.1.0.1 Building half-0.2.2.3... Configuring stm-2.4.4.1... Installed fixed-0.2.1.1 Building stm-2.4.4.1... Configuring network-2.6.3.1... Installed half-0.2.2.3 Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building network-2.6.3.1... Building text-1.2.2.1... Installed network-2.6.3.1 Configuring bindings-libv4l2-0.1... Building bindings-libv4l2-0.1... Configuring bindings-posix-1.2.6... Installed bindings-libv4l2-0.1 Building bindings-posix-1.2.6... Configuring ioctl-0.0.1... Installed text-1.2.2.1 Building ioctl-0.0.1... Configuring StateVar-1.1.0.4... Installed ioctl-0.0.1 Building StateVar-1.1.0.4... Installed StateVar-1.1.0.4 Configuring bindings-linux-videodev2-0.1... Building bindings-linux-videodev2-0.1... Configuring OpenGLRaw-3.2.4.0... Installed bindings-posix-1.2.6 Building OpenGLRaw-3.2.4.0... Failed to install bindings-linux-videodev2-0.1 Build log ( /home/builder/.cabal/logs/bindings-linux-videodev2-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27406/bindings-linux-videodev2-0.1' Configuring bindings-linux-videodev2-0.1... Building bindings-linux-videodev2-0.1... Preprocessing library bindings-linux-videodev2-0.1... VideoDev2.hsc: In function ‘main’: VideoDev2.hsc:79:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:79:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:79:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:159:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:159:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:159:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:163:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:163:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:163:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:171:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:171:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:171:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:199:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:199:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:199:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:268:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:268:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:268:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:278:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:278:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:278:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:286:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:286:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:286:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:290:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:290:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:290:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:297:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:297:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:297:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:306:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:306:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:306:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:310:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:310:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:310:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:319:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:319:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:319:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:328:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:328:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:328:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:347:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:347:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:347:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:358:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:358:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:358:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:362:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:362:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:362:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:377:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:377:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:377:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:391:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:391:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:391:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:408:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:408:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:408:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:417:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:417:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:417:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:425:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:425:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:425:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:435:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:435:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:435:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:441:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:441:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:441:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:445:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:445:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:445:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:494:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:494:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:494:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:504:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:504:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:504:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:528:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:528:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:528:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:535:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:535:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:535:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:540:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:540:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:540:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:546:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:546:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:546:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:553:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:553:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:553:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:569:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:569:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:569:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:575:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:575:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:575:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:873:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:873:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:873:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:882:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:882:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:882:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:907:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:907:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:907:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:914:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:914:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:914:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:919:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:919:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:919:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:935:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:935:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:935:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:945:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:945:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:945:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:956:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:956:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:956:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:963:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:963:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:963:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:971:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:971:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:971:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:974:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:974:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:974:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:979:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:979:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:979:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:989:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:989:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:989:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:997:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:997:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:997:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1009:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1009:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1009:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1016:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1016:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1016:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1024:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1024:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1024:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1028:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1028:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1028:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1031:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1031:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1031:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1037:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1037:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1037:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1041:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1041:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1041:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1048:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1048:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1048:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1052:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1052:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1052:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1057:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1057:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1057:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1061:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1061:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1061:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1069:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1069:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1069:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1073:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1073:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1073:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1079:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1079:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1079:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1084:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1084:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] VideoDev2.hsc:1084:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] [1 of 1] Compiling Bindings.Linux.VideoDev2 ( dist/build/Bindings/Linux/VideoDev2.hs, dist/build/Bindings/Linux/VideoDev2.o ) Bindings/Linux/VideoDev2.hsc:14:16: error: Module ‘Foreign’ does not export ‘unsafePerformIO’ cabal: Leaving directory '/tmp/cabal-tmp-27406/bindings-linux-videodev2-0.1' Installed OpenGLRaw-3.2.4.0 Configuring GLURaw-2.0.0.3... Building GLURaw-2.0.0.3... Installed GLURaw-2.0.0.3 Configuring OpenGL-3.0.1.0... Building OpenGL-3.0.1.0... Installed OpenGL-3.0.1.0 Configuring GLUT-2.2.2.1... Building GLUT-2.2.2.1... Failed to install GLUT-2.2.2.1 Build log ( /home/builder/.cabal/logs/GLUT-2.2.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27403/GLUT-2.2.2.1' Configuring GLUT-2.2.2.1... Building GLUT-2.2.2.1... Preprocessing library GLUT-2.2.2.1... [ 1 of 25] Compiling Graphics.UI.GLUT.Raw.Tokens ( Graphics/UI/GLUT/Raw/Tokens.hs, dist/build/Graphics/UI/GLUT/Raw/Tokens.o ) [ 2 of 25] Compiling Graphics.UI.GLUT.Raw.Fonts ( Graphics/UI/GLUT/Raw/Fonts.hs, dist/build/Graphics/UI/GLUT/Raw/Fonts.o ) [ 3 of 25] Compiling Graphics.UI.GLUT.Raw.Callbacks ( Graphics/UI/GLUT/Raw/Callbacks.hs, dist/build/Graphics/UI/GLUT/Raw/Callbacks.o ) [ 4 of 25] Compiling Graphics.UI.GLUT.Raw.APIEntry ( Graphics/UI/GLUT/Raw/APIEntry.hs, dist/build/Graphics/UI/GLUT/Raw/APIEntry.o ) [ 5 of 25] Compiling Graphics.UI.GLUT.Raw.Functions ( Graphics/UI/GLUT/Raw/Functions.hs, dist/build/Graphics/UI/GLUT/Raw/Functions.o ) [ 6 of 25] Compiling Graphics.UI.GLUT.Raw ( Graphics/UI/GLUT/Raw.hs, dist/build/Graphics/UI/GLUT/Raw.o ) [ 7 of 25] Compiling Graphics.UI.GLUT.Types ( Graphics/UI/GLUT/Types.hs, dist/build/Graphics/UI/GLUT/Types.o ) [ 8 of 25] Compiling Graphics.UI.GLUT.QueryUtils ( Graphics/UI/GLUT/QueryUtils.hs, dist/build/Graphics/UI/GLUT/QueryUtils.o ) [ 9 of 25] Compiling Graphics.UI.GLUT.Window ( Graphics/UI/GLUT/Window.hs, dist/build/Graphics/UI/GLUT/Window.o ) [10 of 25] Compiling Graphics.UI.GLUT.Overlay ( Graphics/UI/GLUT/Overlay.hs, dist/build/Graphics/UI/GLUT/Overlay.o ) Graphics/UI/GLUT/Overlay.hs:38:1: warning: [-Wunused-imports] The import of ‘Graphics.UI.GLUT.Window’ is redundant except perhaps to import instances from ‘Graphics.UI.GLUT.Window’ To import instances alone, use: import Graphics.UI.GLUT.Window() [11 of 25] Compiling Graphics.UI.GLUT.State ( Graphics/UI/GLUT/State.hs, dist/build/Graphics/UI/GLUT/State.o ) [12 of 25] Compiling Graphics.UI.GLUT.Objects ( Graphics/UI/GLUT/Objects.hs, dist/build/Graphics/UI/GLUT/Objects.o ) [13 of 25] Compiling Graphics.UI.GLUT.Initialization ( Graphics/UI/GLUT/Initialization.hs, dist/build/Graphics/UI/GLUT/Initialization.o ) Graphics/UI/GLUT/Initialization.hs:335:34: error: • Could not deduce (Num b) arising from the literal ‘0’ from the context: Bits b bound by the type signature for: toBitfield :: Bits b => (a -> b) -> [a] -> b at Graphics/UI/GLUT/Initialization.hs:334:1-46 Possible fix: add (Num b) to the context of the type signature for: toBitfield :: Bits b => (a -> b) -> [a] -> b • In the second argument of ‘foldl’, namely ‘0’ In the first argument of ‘(.)’, namely ‘foldl (.|.) 0’ In the expression: foldl (.|.) 0 . map marshal cabal: Leaving directory '/tmp/cabal-tmp-27403/GLUT-2.2.2.1' cabal: Error: some packages failed to install: GLUT-2.2.2.1 failed during the building phase. The exception was: ExitFailure 1 bindings-linux-videodev2-0.1 failed during the building phase. The exception was: ExitFailure 1 v4l2-0.1.0.3 depends on bindings-linux-videodev2-0.1 which failed to install. v4l2-examples-0.1.0.2 depends on bindings-linux-videodev2-0.1 which failed to install.