~$ cabal install usb Resolving dependencies... Configuring usb-1.3.0.0... Building usb-1.3.0.0... Failed to install usb-1.3.0.0 Build log ( /home/h/.cabal/logs/usb-1.3.0.0.log ): [1 of 1] Compiling Main ( /tmp/usb-1.3.0.0-12385/usb-1.3.0.0/dist/setup/setup.hs, /tmp/usb-1.3.0.0-12385/usb-1.3.0.0/dist/setup/Main.o ) Linking /tmp/usb-1.3.0.0-12385/usb-1.3.0.0/dist/setup/setup ... Configuring usb-1.3.0.0... Building usb-1.3.0.0... Preprocessing library usb-1.3.0.0... [ 1 of 15] Compiling SystemEventManager ( SystemEventManager.hs, dist/build/SystemEventManager.o ) [ 2 of 15] Compiling Event ( Event.hs, dist/build/Event.o ) [ 3 of 15] Compiling Poll ( dist/build/Poll.hs, dist/build/Poll.o ) [ 4 of 15] Compiling Utils ( Utils.hs, dist/build/Utils.o ) [ 5 of 15] Compiling System.USB.Base ( System/USB/Base.hs, dist/build/System/USB/Base.o ) System/USB/Base.hs:112:55: Module `Control.Concurrent.MVar' does not export `withMVarMasked' cabal: Error: some packages failed to install: usb-1.3.0.0 failed during the building phase. The exception was: ExitFailure 1