Resolving dependencies... Configuring mtl-2.2.1... Configuring primitive-0.6.1.0... Building primitive-0.6.1.0... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring random-1.1... Configuring text-1.2.2.1... Installed primitive-0.6.1.0 Building random-1.1... Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed random-1.1 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Installed vector-0.11.0.0 Configuring hashtables-1.2.1.0... Building hashtables-1.2.1.0... Installed hashtables-1.2.1.0 Configuring gtk2hs-buildtools-0.13.2.1... Building gtk2hs-buildtools-0.13.2.1... Installed gtk2hs-buildtools-0.13.2.1 Configuring glib-0.13.4.1... Configuring cairo-0.13.3.1... Building cairo-0.13.3.1... Building glib-0.13.4.1... Installed cairo-0.13.3.1 Installed glib-0.13.4.1 Configuring gio-0.13.3.1... Configuring pango-0.13.3.1... Building gio-0.13.3.1... Building pango-0.13.3.1... Installed pango-0.13.3.1 Installed gio-0.13.3.1 Configuring gtk-0.14.6... Building gtk-0.14.6... Installed gtk-0.14.6 Configuring libnotify-0.0.1.2... Building libnotify-0.0.1.2... Failed to install libnotify-0.0.1.2 Build log ( /home/builder/.cabal/logs/libnotify-0.0.1.2.log ): cabal: Entering directory '/tmp/cabal-tmp-7776/libnotify-0.0.1.2' Configuring libnotify-0.0.1.2... Building libnotify-0.0.1.2... Preprocessing library libnotify-0.0.1.2... [1 of 4] Compiling System.Libnotify.Types ( dist/build/System/Libnotify/Types.hs, dist/build/System/Libnotify/Types.o ) [2 of 4] Compiling System.Libnotify.Server ( dist/build/System/Libnotify/Server.hs, dist/build/System/Libnotify/Server.o ) [3 of 4] Compiling System.Libnotify.Internal ( dist/build/System/Libnotify/Internal.hs, dist/build/System/Libnotify/Internal.o ) System/Libnotify/Internal.hsc:90:13: warning: [-Wdeprecations] In the use of ‘throwGError’ (imported from System.Glib.GError): Deprecated: "Use ordinary Control.Exception.throw" System/Libnotify/Internal.hsc:266:13: warning: [-Wdeprecations] In the use of ‘throwGError’ (imported from System.Glib.GError): Deprecated: "Use ordinary Control.Exception.throw" [4 of 4] Compiling System.Libnotify ( System/Libnotify.hs, dist/build/System/Libnotify.o ) System/Libnotify.hs:99:3: error: • Illegal qualified type: (MonadIO m, MonadReader Session m) => m () Perhaps you intended to use RankNTypes or Rank2Types • When checking the class method: addHint :: forall a. Hint a => forall (m :: * -> *). a -> (MonadIO m, MonadReader Session m) => m () In the class declaration for ‘Hint’ cabal: Leaving directory '/tmp/cabal-tmp-7776/libnotify-0.0.1.2' cabal: Error: some packages failed to install: libnotify-0.0.1.2 failed during the building phase. The exception was: ExitFailure 1