Haskell Dyre

I'm trying to create a package for Dyre, a configuration library for Haskell. It has these three dependencies: executable-paths, io-storage, and xdg-basedir, which do not seem to be available from AUR. I created packages for them, and they installed just fine. When I try to makepkg Dyre, however, it complains about unresolved dependencies (not the makepkg itself, but the building routine).
When I go to the source directory, and run
runhaskell Setup.hs configure
(as I understand is the standard procedure for AUR packages), I get this error:
Configuring dyre-0.8.11...
Setup.hs: At least the following dependencies are missing:
executable-path -any, io-storage -any, xdg-basedir -any
However, when I run
cabal configure && cabal build
everything compiles nicely.
Any help, please?

Sorry I wasn't clear and thanks for a quick reply.
I did not install the dependencies via cabal. I didn't find them in AUR, so I made pacman-packages myself and installed those. It seemed to have worked, and they are now listed in "ghc-pkg list".
As for Dyre, my problem is that what I understand to be the preferred method, i.e. "Setup.hs" over a simple "cabal build", complains about the dependencies, regardless of whether it is run from inside the PKGBUILD, or directly from the terminal. I do not understand how the two methods differ, and do not know if I can simply use pure cabal in the PKGBUILD, instead of "Setup.hs".

Similar Messages

  • Can't update haskell-http by editing the PKGBUILD in the abs

    So I dont see how to update the haskell-http package.
    I have adjusted the versions of the depending pkg's, but it doesn't help.
    (moved from Thread p1486676 because partly solved the overall sysUpgrade issue)
    termnml wrote:
    Okay. So as packages got updated:
    haskell-network -> 2.6.0.2-1
    haskell-parsec -> 3.1.7-1
    I edited the PKGBUILD in the abs and changed the depending versions to the proper ones.
    Build the package
    temporary removed haskell-http with pacman
    Performed the SysUpgrade with pacman which now ran smooth
    Tried to install the modified pkg -> haskell-http
    Still gives me the errors about the deps
    $: pacman -U haskell-http-4000.2.12-3-x86_64.pkg.tar.xz
    loading packages...
    resolving dependencies...
    warning: cannot resolve "haskell-network=2.5.0.0-2", a dependency of "haskell-http"
    warning: cannot resolve "haskell-parsec=3.1.5-3", a dependency of "haskell-http"
    :: The following package cannot be upgraded due to unresolvable dependencies:
    haskell-http
    Could it be that there are dep-defs in the src itself?
    I'm a little confused.
    But thank for your great help guys and the insane fast replys.
    Edited: Some lang improvement.
    Last edited by termnml (2014-12-23 03:20:55)

    Post the edited PKGBUILD.

  • Haskell: fastest way to read and print a file? & hGetBuf example?

    I was playing around with simple IO in Haskell just for the sake of learning and decided to implement a very basic version of "cat" for a rough speed comparison. Being a Haskell noob, I tried various combinations of readFile and hGetContents from System.IO before I realized that they read a single Char at a time, which explained why there were slower than even Python and Perl. I found the hGetBuf function but I couldn't figure out how to get my data back from the Ptr. Eventually I ended up with this:
    import System( getArgs )
    import qualified Data.ByteString as B
    main = getArgs >>= (B.readFile.head) >>= B.putStr
    time cat /var/log/pacman.log | wc
    297783 1945570 32536814
    real 0m0.624s
    user 0m0.620s
    sys 0m0.017s
    time ./test /var/log/pacman.log | wc
    297783 1945570 32536814
    real 0m0.671s
    user 0m0.640s
    sys 0m0.040s
    where "test" is the program above compiled with "ghc --make test.hs -o test -O".
    So, my questions:
    1) Is there any way to shave off the last few milliseconds to make it as fast as cat for that operation?
    2) Can someone give a clear example of how to use hGetBuf, specifically how to "marshall" a Ptr into a String or ByteString?
    I've tried to find examples but the very few that I've found haven't been that helpful.
    Slightly off-topic yet tangential questions:
    *) Does anyone else find it irksome that you have to dig through Haskell's abstraction to deal with the underlying system? I'm only just beginning to learn it but I've already come across a few things which feel like square blocks hammered into round holes.

    @CBM80
    Thanks for the link. I've bookmarked it for now.
    @brisbin33
    I've been coding a bit in Haskell lately and it feels like I'm getting comfortable with it, including monads (e.g. state transformers, system IO). I think I'm over the first big conceptual stumbling block and it's starting to feel much more intuitive. Nevertheless I still generally agree with that statement, although now I would have worded it differently.
    It feels like they've pulled a sheet over the underlying system. You can still see the basic shape of it and where different bits protrude, but you're supposed to pretend that it's all nice and smooth. If you want to do anything serious with it, you have to cut a hole through the sheet (i.e. use the foreign function interface and another language which can get to it) to gain full access.
    When I wrote that I think I actually had Ints and Integers in mind. The difference between them is only how the underlying system represents them. From a purely abstract|functional perspective, there should be no distinction between them. I understand that the language is ultimately bound by the hardware and I actually appreciate that the distinction can enable the programmer to optimize his code. It just annoys me that there is a layer of abstraction that prevents me from exerting more control over the types. For example, it would be nice to be able to declare my own "PositiveInt" type and have it represented by an unsigned int in the underlying system. I can "see" from within Haskell how "Int" is represented, but I can't create a similar representation (without resorting to the FFI, afaik). There has been talk about this before and how to make all types user-definable. Some tutorial even give the dummy declaration of Int as "data Int = ...|-3|-2|-1|0|1|2|...". Obviously you would need some sort of meta-language to handle it though (which seems to be in the works).
    For the record, I think the FFI is great and I see great potential in it and can't wait to start using it.
    At some point I solved some of the problems on Project Euler (and got sidetracked with Perl and Python solutions). My quest to learn Haskell has also been periodic and so far I haven't gone back to PE but I intend to. Btw, I found it insightful to compare my solutions to the solutions posted in the wiki. They're full of little epiphanies.
    *edit*
    I realize that many apparent limitations are likely due to my own ignorance. I'm reading through the pages posted by CBM80 and already see some ways to get around the abstraction.
    Last edited by Xyne (2010-05-06 19:03:17)

  • [Solved] Haskell/Xmonad Upgrade Issues

    It seems that the testing version of haskell-x11-xft requires the non-testing version of haskell-x11.
    Further, installing xmonad-contrib from testing seems to want to install the non-testing version of xmonad and haskell-x11-xft.
    It seems to be one very large circle which I can't resolve.
    So a pacman -Syu gives me:
    warning: cannot resolve "haskell-x11=1.6.0.2-2", a dependency of "haskell-x11-xft"
    warning: cannot resolve "haskell-x11=1.6.0.2-2", a dependency of "xmonad"
    :: The following packages cannot be upgraded due to unresolvable dependencies:
          haskell-x11-xft  xmonad
    Do you want to skip the above packages for this upgrade? [y/N] u
    error: failed to prepare transaction (could not satisfy dependencies)
    :: haskell-x11-xft: requires haskell-x11=1.6.0.2-2
    :: xmonad: requires haskell-x11=1.6.0.2-2
    Not sure if I've done something wrong or I'm being stupid.
    Last edited by Nabobalis (2013-03-14 10:22:56)

    You can upgrade haskell-x11-xft and xmonad with;
    # pacman -Syud --ignore haskell-x11
    I too encountered what seemed to be a dependency loop, so used -d --nodeps option to skip the version check. Checking the Package repo shows that haskell-x11 is also flagged out of date, until things have been updated in the repo's you will see an error during update unless you
    --ignore haskell-x11

  • [Solved] Haskell: cabal error

    After some problems with arch-haskell repos, I decided to install pandoc and dependencies via cabal. So I removed all haskell packages, removed arch-haskell repos and run -Syy. Next, I installed ghc 7.6.1 and cabal-install 1.16, but when I ran "cabal install pandoc", I got the following error:
    $ cabal install pandoc
    cabal: Command.optionToFieldDescr: feature not implemented
    Googling revealed that that might be a problem with the config file, but after trying the proposed solution, it became clear that that wasn't the problem. After some more googling, I found this, which seemed to suggest that the problem might be with ghc's version. So I downgraded it to 7.4.2-1, but cabal still didn't work. So I downgraded cabal to 0.14.0, and finally it worked (and I could install pandoc flawlessly).
    I'm currently thinking this might be a bug with ghc, but before submitting it upstream, I wanted to ask if it is possible that this somehow happened because of a screw up on my end? Btw, has anyone else encountered this issue?
    Last edited by gauthma (2012-10-11 20:19:56)

    This might be related to the problems described at http://comments.gmane.org/gmane.comp.la … devel/9205 . I use a default config file and get the same error message.
    Edit: The bug tracker (https://bugs.archlinux.org/index.php?do … k_id=31864) offers a solution: Remove the jobs: line from the config file.
    Last edited by wuischke (2012-10-09 17:44:27)

  • [Haskell]How to read in haskell and solve simple problems

    Hello,
    I'm an experienced C/C++ programmer and I would like to use Haskell to solve some problems.
    But it is hard to me to write a simple way to read input from a file and analyze it, so I ask you how to do this. I didn't find how to do this around google or this forum, that's why I came to here.
    Suppose we are given this problem:
    "We're analyzing numbers and we want to know which numbers are even. The input consists on a number, N, and then N lines which contain a single integer. You are to say what numbers are even."
    INPUT EXAMPLE:
    3
    1234
    5555555
    123044390581349287182
    OUTPUT EXAMPLE:
    yes
    no
    yes
    I wrote the module that returns a string depending on if the number is even or not... But I would like to know how to repeat that function for N numbers. I don't want a superoptimized way or a strange way, I just want a simple and readable one...
    In C++ i would do:
    for (int i = 0; i < cases; i++)
    cin >> number;
    cout << analyze(number) << endl; // analyze returns a string
    Can you iluminate with your knowledge, archers?
    Thank you.

    Well, you said that the first line has the number N, followed by N lines. Given your description the program would always test the whole file.
    If you have a file with X lines and you'd only like to test N <= X  lines, this should do it:
    module Main where
    import System.IO
    import Control.Applicative
    main = do
    let test x = if even (read x) then "yes" else "no"
    withFile "test" ReadMode $ \handle -> do
    nlines <- read <$> hGetLine handle
    content <- hGetContents handle
    mapM_ ( putStrLn . test )
    . take nlines
    . lines
    $ content

  • Setting up haskell

    I am a new Arch user, and I'm trying to setup a haskell dev environment, but I'm running into a few problems.  In most other distributions I would install the latest haskell platform, but I can't seem to find it.  I see ghc as well as a few other haskell packages, but not the platform meta-package.  According to the wiki, this should be in [extra] but I can't find it there.  Perhaps the wiki is out-of-date?  The only thing I see is an orphaned package in the AUR that people are having difficulty installing.  Surely this can't be what I'm after, can it?
    I tried to educate myself by reading from the Arch Haskell resources, but they are not very newbie friendly.  I added the [haskell] repo, but still can't find a haskell-platform package (2012.2.0.0, or any version for that matter) anywhere.  Are there instructions anywhere for setting up the haskell platform on Arch?
    Last edited by Xitup (2012-08-26 00:46:40)

    I tried installing other packages that compromise the haskell-platform but I'm running into problems.
    pacman -S haskell-cgi
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: haddock: requires haskell-xhtml=3000.2.1-1
    :: xmonad: requires haskell-mtl=2.1.1-1
    I'm confused by your suggestion bernarcher.  It is precisely because I don't know the information that I went to the wiki in the first place.  I would gladly update it if I knew any of the answers myself.  Is it just a clever way of you telling me to figure it out for myself?  Certainly once I am more comfortable (and knowledgeable) I will do my best to contribute, but for now it would just be the blind leading the blind.  I was hoping to appeal to the people who already know what's going on to enlighten me.

  • Lots of warnings when upgrading ghc and haskell libraries

    Heres the list of packages I upgraded today:
    cups 1.5.3-4 1.5.3-5 -0.73 MiB 6.87 MiB
    ghc 7.4.1-2 7.4.2-1 6.09 MiB 60.13 MiB
    haskell-mtl 2.0.1.0-4 2.1.1-1 0.43 MiB 0.19 MiB
    haskell-random 1.0.1.1-1 1.0.1.1-2 -0.05 MiB 0.29 MiB
    haskell-syb 0.3.6-1 0.3.6.1-1 0.06 MiB 0.21 MiB
    haskell-transformers 0.2.2.0-4 0.3.0.0-1 2.39 MiB 0.58 MiB
    haskell-utf8-string 0.3.7-1 0.3.7-2 -0.04 MiB 0.20 MiB
    haskell-x11 1.5.0.1-3 1.6.0-1 1.96 MiB 1.82 MiB
    haskell-x11-xft 0.3.1-3 0.3.1-4 0.01 MiB 0.09 MiB
    libcups 1.5.3-4 1.5.3-5 -0.01 MiB 0.28 MiB
    libmysqlclient 5.5.24-1 5.5.25-1 0.00 MiB 2.97 MiB
    mysql 5.5.24-1 5.5.25-1 0.57 MiB 8.45 MiB
    mysql-clients 5.5.24-1 5.5.25-1 0.00 MiB 0.81 MiB
    xmobar 0.14-2 0.15-1 0.08 MiB 0.45 MiB
    xmonad 0.10-3 0.10-4 0.09 MiB 0.71 MiB
    xmonad-contrib 0.10-3 0.10-4 0.76 MiB 4.32 MiB
    And here is some of the warnings I got when upgrading:
    ==> Unregistering cabalized packages...
    unregistering xmonad-0.10 would break the following packages: xmonad-contrib-0.10 (ignoring)
    unregistering X11-1.5.0.1 would break the following packages: X11-xft-0.3.1 (ignoring)
    ==> Done.
    ( 3/16) upgrading ghc [########################################################################################] 100%
    ==> All cabalized packages need to be reinstalled now.
    ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
    ghc-pkg: cannot find package transformers-0.2.2.0
    error: command failed to execute correctly
    ( 4/16) upgrading haskell-transformers [########################################################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read syb/syb.haddock:
    Interface file is of wrong version: syb/syb.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package mtl-2.0.1.0
    error: command failed to execute correctly
    ( 5/16) upgrading haskell-mtl [########################################################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read syb/syb.haddock:
    Interface file is of wrong version: syb/syb.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package random-1.0.1.1
    error: command failed to execute correctly
    ( 6/16) upgrading haskell-random [########################################################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read syb/syb.haddock:
    Interface file is of wrong version: syb/syb.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package syb-0.3.6
    error: command failed to execute correctly
    ( 7/16) upgrading haskell-syb [########################################################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    WARNING: cache is out of date: /usr/lib/ghc-7.4.2/package.conf.d/package.cache
    use 'ghc-pkg recache' to fix.
    ghc-pkg: cannot find package utf8-string-0.3.7
    error: command failed to execute correctly
    ( 8/16) upgrading haskell-utf8-string [########################################################################################] 100%
    WARNING: cache is out of date: /usr/lib/ghc-7.4.2/package.conf.d/package.cache
    use 'ghc-pkg recache' to fix.
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    ghc-pkg: cannot find package X11-1.5.0.1
    error: command failed to execute correctly
    ( 9/16) upgrading haskell-x11 [########################################################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    ghc-pkg: cannot find package X11-xft-0.3.1
    error: command failed to execute correctly
    (10/16) upgrading haskell-x11-xft [########################################################################################] 100%
    Reading package info from stdin ... done.
    (11/16) upgrading libmysqlclient [########################################################################################] 100%
    (12/16) upgrading mysql-clients [########################################################################################] 100%
    (13/16) upgrading mysql [########################################################################################] 100%
    (14/16) upgrading xmobar [########################################################################################] 100%
    ghc-pkg: cannot find package xmonad-0.10
    error: command failed to execute correctly
    (15/16) upgrading xmonad [########################################################################################] 100%
    Reading package info from stdin ... done.
    xmonad-0.10: Warning: haddock-interfaces: /usr/share/doc/xmonad-0.10/html/xmonad.haddock doesn't exist or isn't a file
    xmonad-0.10: Warning: haddock-html: /usr/share/doc/xmonad-0.10/html doesn't exist or isn't a directory
    ghc-pkg: cannot find package xmonad-contrib-0.10
    error: command failed to execute correctly
    (16/16) upgrading xmonad-contrib [########################################################################################] 100%
    Reading package info from stdin ... done.
    xmonad-contrib-0.10: Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.10/html/xmonad-contrib.haddock doesn't exist or isn't a file
    xmonad-contrib-0.10: Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.10/html doesn't exist or isn't a directory
    I haven't restarted yet to see if xmonad still works, but I'm a little apprehensive after seeing this output
    EDIT: Added code tags
    Last edited by cmm7825 (2012-10-12 00:15:32)

    Recompiling xmonad was a no-go for me after updating with
    pacman -Syyu
    I had errors
    [root@luderro hal]# pacman -Syyu
    :: Synchronizing package databases...
    core 103.7 KiB 301K/s 00:00 [############################################################] 100%
    extra 1404.9 KiB 1173K/s 00:01 [############################################################] 100%
    community 1680.9 KiB 1409K/s 00:01 [############################################################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (11): ghc-7.4.2-1 haskell-mtl-2.1.1-1 haskell-random-1.0.1.1-2 haskell-syb-0.3.6.1-1 haskell-transformers-0.3.0.0-1 haskell-utf8-string-0.3.7-2
    haskell-x11-1.6.0-1 haskell-x11-xft-0.3.1-4 xmobar-0.15-1 xmonad-0.10-4 xmonad-contrib-0.10-4
    Total Download Size: 69.00 MiB
    Total Installed Size: 867.50 MiB
    Net Upgrade Size: 11.79 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    ghc-7.4.2-1-x86_64 60.1 MiB 2.25M/s 00:27 [############################################################] 100%
    haskell-transformers-0.3.0.0-1-x86_64 591.9 KiB 803K/s 00:01 [############################################################] 100%
    haskell-mtl-2.1.1-1-x86_64 195.9 KiB 401K/s 00:00 [############################################################] 100%
    haskell-random-1.0.1.1-2-x86_64 300.7 KiB 509K/s 00:01 [############################################################] 100%
    :: Retrieving packages from community...
    haskell-syb-0.3.6.1-1-x86_64 216.9 KiB 450K/s 00:00 [############################################################] 100%
    haskell-utf8-string-0.3.7-2-x86_64 208.8 KiB 495K/s 00:00 [############################################################] 100%
    haskell-x11-1.6.0-1-x86_64 1860.3 KiB 1672K/s 00:01 [############################################################] 100%
    haskell-x11-xft-0.3.1-4-x86_64 93.1 KiB 283K/s 00:00 [############################################################] 100%
    xmobar-0.15-1-x86_64 461.8 KiB 703K/s 00:01 [############################################################] 100%
    xmonad-0.10-4-x86_64 730.5 KiB 995K/s 00:01 [############################################################] 100%
    xmonad-contrib-0.10-4-x86_64 4.3 MiB 2.30M/s 00:02 [############################################################] 100%
    (11/11) checking package integrity [############################################################] 100%
    (11/11) loading package files [############################################################] 100%
    (11/11) checking for file conflicts [############################################################] 100%
    (11/11) checking available disk space [############################################################] 100%
    ==> Unregistering cabalized packages...
    unregistering X11-xft-0.3.1 would break the following packages: xmonad-contrib-0.10 (ignoring)
    unregistering transformers-0.2.2.0 would break the following packages: xmonad-0.10 mtl-2.0.1.0 (ignoring)
    unregistering syb-0.3.6 would break the following packages: X11-1.5.0.1 (ignoring)
    ==> Done.
    ( 1/11) upgrading ghc [############################################################] 100%
    ==> All cabalized packages need to be reinstalled now.
    ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
    ghc-pkg: cannot find package transformers-0.2.2.0
    error: command failed to execute correctly
    ( 2/11) upgrading haskell-transformers [############################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read syb/syb.haddock:
    Interface file is of wrong version: syb/syb.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package mtl-2.0.1.0
    error: command failed to execute correctly
    ( 3/11) upgrading haskell-mtl [############################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read syb/syb.haddock:
    Interface file is of wrong version: syb/syb.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package random-1.0.1.1
    error: command failed to execute correctly
    ( 4/11) upgrading haskell-random [############################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read syb/syb.haddock:
    Interface file is of wrong version: syb/syb.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package syb-0.3.6
    error: command failed to execute correctly
    ( 5/11) upgrading haskell-syb [############################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    ghc-pkg: cannot find package utf8-string-0.3.7
    error: command failed to execute correctly
    ( 6/11) upgrading haskell-utf8-string [############################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    ghc-pkg: cannot find package X11-1.5.0.1
    error: command failed to execute correctly
    ( 7/11) upgrading haskell-x11 [############################################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    ghc-pkg: cannot find package X11-xft-0.3.1
    error: command failed to execute correctly
    ( 8/11) upgrading haskell-x11-xft [############################################################] 100%
    Reading package info from stdin ... done.
    ( 9/11) upgrading xmobar [############################################################] 100%
    ghc-pkg: cannot find package xmonad-0.10
    error: command failed to execute correctly
    (10/11) upgrading xmonad [############################################################] 100%
    Reading package info from stdin ... done.
    xmonad-0.10: Warning: haddock-interfaces: /usr/share/doc/xmonad-0.10/html/xmonad.haddock doesn't exist or isn't a file
    xmonad-0.10: Warning: haddock-html: /usr/share/doc/xmonad-0.10/html doesn't exist or isn't a directory
    ghc-pkg: cannot find package xmonad-contrib-0.10
    error: command failed to execute correctly
    (11/11) upgrading xmonad-contrib [############################################################] 100%
    Reading package info from stdin ... done.
    xmonad-contrib-0.10: Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.10/html/xmonad-contrib.haddock doesn't exist or isn't a file
    xmonad-contrib-0.10: Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.10/html doesn't exist or isn't a directory
    The solution I found was to uninstall/reinstall everything which depends on ghc:
    pacman -Qi ghc
    pacman -Rdd ghc haskell-mtl haskell-random haskell-syb haskell-transformers haskell-utf8-string haskell-x11 haskell-x11-xft xmonad xmonad-contrib <any other dependencies here>
    pacman -Syyu ghc haskell-mtl haskell-random haskell-syb haskell-transformers haskell-utf8-string haskell-x11 haskell-x11-xft xmonad xmonad-contrib <any other dependencies here>
    Probably not ideal, but the digging I did to use ghc to fix the problem turned up nothing.
    By the way, a litmus test to determine if your Haskell setup is sane:
    xmonad --recompile
    should not return any errors.
    Last edited by hal (2012-06-13 18:51:15)

  • Best practices for installing and maintaining Haskell packages

    Hey all, so 2014 has been a year of headaches with handling haskell packages on Arch (see previously). Everytime I do a system upgrade I seem to get dependency issues related to haskell packages. I've solved it many times by forcing removal of packages and reinstalling until things work without errors. There was a period where I didn't upgrade for almost 3 months because I didn't have the time to troubleshoot. Now that I have some free time I'd like to sort out the issue. I feel this might be an issue with how I'm handling the installation of haskell packages, maybe the repo order in my pacman config or something? I'm hoping to get some input on how others are handling haskell packages so its not always an issue whenever I try to keep the system up to date. My day to day requirements include xmonad, xmobar and pandoc, I also use aura as my AUR package manager.
    Here is the repo section of my pacman.conf
    [core]
    Include = /etc/pacman.d/mirrorlist
    [haskell-core]
    Server = http://xsounds.org/~haskell/core/$arch
    [haskell-happstack]
    Server = http://noaxiom.org/$repo/$arch
    [extra]
    Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # infinality-bundle repository
    [infinality-bundle]
    Server = http://bohoomil.com/repo/$arch
    [infinality-bundle-multilib]
    Server = http://bohoomil.com/repo/multilib/$arch
    [infinality-bundle-fonts]
    Server = http://bohoomil.com/repo/fonts
    Here is the latest issue if trying pacman -Syu
    error: failed to prepare transaction (could not satisfy dependencies)
    :: haskell-lens-aeson: requires haskell-lens<4.5
    And here is the lastest output from trying to upgrade Aura
    error: failed to prepare transaction (could not satisfy dependencies)
    :: haskell-aeson: requires haskell-hashable=1.2.2.0-3
    :: haskell-aeson: requires haskell-unordered-containers=0.2.5.1-1
    :: haskell-aeson: requires haskell-vector=0.10.12.1-1
    :: haskell-aeson-pretty: requires haskell-unordered-containers=0.2.5.1-1
    :: haskell-aeson-pretty: requires haskell-vector=0.10.12.1-1
    :: haskell-conduit: requires haskell-void=0.6.1-73
    :: haskell-crypto-numbers: requires haskell-vector=0.10.12.1-1
    :: haskell-crypto-random: requires haskell-vector=0.10.12.1-1
    :: haskell-http-client-tls: requires haskell-http-client=0.4.5-1
    :: haskell-http-conduit: requires haskell-http-client=0.4.5-1
    :: haskell-http-conduit: requires haskell-http-types=0.8.5-5
    :: haskell-juicypixels: requires haskell-vector=0.10.12.1-1
    :: haskell-lens-aeson: requires haskell-lens<4.5
    :: haskell-pandoc: requires haskell-http-client=0.4.5-1
    :: haskell-pandoc: requires haskell-http-types=0.8.5-5
    :: haskell-pandoc: requires haskell-unordered-containers=0.2.5.1-1
    :: haskell-pandoc: requires haskell-vector=0.10.12.1-1
    :: haskell-scientific: requires haskell-hashable=1.2.2.0-3
    :: haskell-yaml: requires haskell-unordered-containers=0.2.5.1-1
    :: haskell-yaml: requires haskell-vector=0.10.12.1-1
    I could always brute force this by trying to force out some of the packages but I'd like to try and find a better solution than having to go through the this time-consuming process everytime I try to do a system upgrade. Any input would be greatly appreciated, thanks!

    I apologize for posting in the wrong section.
    Just did a quick scan of the mailling list and found an easy work around with
    pacman -Syu --ignore 'haskell-*'
    I'll try sending a message to the repo maintainers to get a better understanding of what's occuring here.
    Thanks guys, sorry for not doing a thorough search of where to address the issue.

  • [SOLVED] haskell - citeproc-hs was not compiled with bibutils support

    Hi all,
    since I have not yet been able to get help in arch-haskell's IRC channel, I am posting here, maybe someone has an idea:
    I am using pandoc which I have retrieved along with all its dependencies from the haskell binary repository. But when I try to process a bibliography, I get an error message from citeproc-hs:
    pandoc: citeproc: Bibliography format not supported.
    citeproc-hs was not compiled with bibutils support.
    Supposing that the error message is not misleading, I wonder how do I recompile with bibutils support then?
    Googling gave some results concerned with haskell-hs-bibutils, which seems to have been on the haskell repo earlier but is there no longer, so I installed it from AUR (modifying the PKGBUILD to accept haskell-syb>=0.3 instead of =0.3).
    Reinstalling haskell-citeproc-hs did not help.
    Next I tried with cloning habs the haskell repo (as is described here). Since I could not find any switch in haskell-citeproc-hs's PKGBUILD that would disable bibutils support I directly issued
    ./makeahpkg -- haskell-citeproc-hs
    but the resulting package gives the same error as the one from the repo.
    Should I have taken extra steps to build/install haskell-hs-bibutils also in the habs chroot? Or anything else?
    TIA,
    Andreas
    Last edited by awagner (2012-08-01 08:36:06)

    awagner wrote:Should I have taken extra steps to build/install haskell-hs-bibutils also in the habs chroot? Or anything else?
    Yes, it seems this was the problem. Besides cloning habs, I now went on to manually copy the necessary files of bibutils-dynamic and haskell-hs-bibutils from AUR into the local HABS tree, modify dependencies in haskell-hs-bibutils, haskell-citeproc-hs and haskell-pandoc (an additional dependency on haskell-hs-bibutils in haskell-citeproc-hs, in the other cases only change of version numbers).
    Then
    ./makeahpkg -c -- bibutils-dynamic haskell-hs-bibutils haskell-citeproc-hs haskell-pandoc
    produced four packages which I could install and now the error is gone and I can turn to debugging my document and bibliography files

  • Why C# is not statically typed but F# and Haskell are?

    There was a talk given by Brian Hurt about advantages and disadvantages of static typing.
    Brian said that by static typing he don't mean C#, but F# and Haskell.
    Is it because of dynamic keyword added
    to C#-4.0? But this feature is relatively rarely useful. By the way, there are ⊥ and unsafeCoerse in
    Haskell which obviously are not the same, but something that could blown your head off in runtime similarly like exception thrown as a result of dynamic.
    Finally, why F# and Haskell could be named a statically typed languages and C# couldn't?

    I'm addressing the overlap between Haskell and F#'s type systems. The part they share is known sometimes as System F. F# by necessity provides bits and pieces of C#'s type system, but this isn't what the speaker was talking about.
    Both C# and Haskell/F# are statically typed, but they're two different flavors.
    Subtyping
    Specifically, C# is a statically typed language with subtyping. This means that if you look at the typing rules for C# there's one like
    Env |- x : T, T' <: T
    Env |- x : T'
    Which means that any well typed term has more than one potential type. This in not the case in (vanilla) Haskell or F#. Every type has a single most general type, a principal type. This has a few benefits like total type inference.
    Expressions Everywhere
    Besides this, Haskell and F# have a greater emphasis on expressions, expressions have types, but statements don't. This means that in C#, the compiler is checking less of your code, because less of your code has types. In Haskell, everything has a real, checkable
    type.
    In substantive terms, every single node on a Haskell AST has a type or kind (or sort). The same cannot be said of a C# one.
    Sum Types
    Beyond this, Haskell and F# have what are known as sum types.
    data Bool = True | False
    This is how a boolean is defined in Haskell. This provides a few different guarantees than in C#. For example, when there are a discrete number of things in C#, like say, an AST. We can model this with an inheritance hierarchy, but these are open. Anyone can
    come along and add something to it. We can use an Enum,
    but then there's no sane way to attach data to each tag uniformly. This is what's called a tagged union, and it's up to you to implement/use it correctly, the compiler ain't gonna help.
    This makes it very hard to ensure that we've covered all possible nodes of an AST. For example, say you have a function
    doStuff :: AST -> AST
    doStuff (SomeExpr ..) = ...
    doStuff (SomeStatement ..) = ...
    --// doStuff (SomeIf ...) = Oh noes, we forgot a node
    The compiler can warn you because it can prove exactly how many nodes there are, ever. In C#, the equivalent would have to be done with downcasting, and then, since the set of nodes in our hierarchy is open, there's no way to issue compile time warnings.
    A company, Jane Street, raves about how useful this feature is in their large OCaml code base. Watch a few of their talks,
    they talk quite a bit about how using OCaml impacts them in the Real World.
    Soapbox
    Now I've outlined quite a few differences over System F over many mainstream type systems, but they're all still static type systems. It does bother me when people call Java/C#/C++ "not statically typed" they are. And they certainly give you
    more compile time guarantees than say, Python. So it's a bit unfair to dismiss them out right.

  • [solved] haskell-shake gives me error in pacman

    Hi,
    When I run
    pacman -S haskell-shake
    , then I receive:
    [xan@argonia ~]$ sudo pacman -S haskell-shake
    warning: haskell-shake-0.14.3-1 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    Package (1) Old Version New Version Net Change
    haskell-core/haskell-shake 0.14.3-1 0.14.3-1 0.00 MiB
    Total Installed Size: 24.89 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [######################] 100%
    (1/1) checking package integrity [######################] 100%
    (1/1) loading package files [######################] 100%
    (1/1) checking for file conflicts [######################] 100%
    (1/1) checking available disk space [######################] 100%
    (1/1) reinstalling haskell-shake [######################] 100%
    Reading package info from stdin ... done.
    /tmp/alpm_0IbjT6/.INSTALL: line 17: /usr/share/doc/ghc/html/libraries/arch-gen-contents-index: No such file or directory
    error: command failed to execute correctly
    [xan@argonia ~]$
    Thanks in advance,
    Last edited by xanb (2015-02-15 19:38:15)

    I know this other thread isn't the same error as yours but it does provide some insight.  There are some packages on your unofficial repo that must be used instead of the packages from official arch repos.  Can you double check that you are indeed using all packages required from the unofficial?

  • [solved]haskell update

    hello guys,
    lately I tried to update my system and than that happend(I'm using xmonad as a wm):
    error: failed to prepare transaction (could not satisfy dependencies)
    :: Starting full system upgrade...
    :: haskell-transformers: requires ghc=7.6.3-1
    :: haskell-xmonad-contrib: requires ghc=7.6.3-1
    :: haskell-xmonad-contrib: requires haskell-x11=1.6.1.1-5
    :: haskell-xmonad-contrib: requires haskell-x11-xft=0.3.1-31
    :: haskell-xmonad-contrib: requires haskell-extensible-exceptions=0.1.1.4-27
    :: haskell-xmonad-contrib: requires haskell-mtl=2.1.2-27
    :: haskell-xmonad-contrib: requires haskell-random=1.0.1.1-27
    :: haskell-xmonad-contrib: requires haskell-utf8-string=0.3.7-27
    :: haskell-xmonad-contrib: requires haskell-xmonad=0.11-7
    Can you guys tell me what to do? Since I'm pretty much a noob
    edit: codetags added
    Last edited by blubbb (2014-04-15 14:47:07)

    blubbb wrote:
    skottish wrote:
    This problem is related to the other thread, but it's not exactly the same.
    xmonad-contrib (or the version haskell-xmonad-contrib) doesn't build against the libraries in [arch-haskell] right now, so there's no upgrade path. In fact, it's simply not in [arch-haskell] anymore. It can be removed and xmonad will still run, but there's no way to modify xmonad.hs with it's features.
    I didn't quite undestand this whole thing, I'm quite a noob dealing with xmonad. So which features would I lose exactly when removing this package?
    xmonad-contrib contains a bunch of trusted extensions for xmonad such as extra tiling and floating layouts, pretty printers for for xmobar and dzen, mouse pointer options, and a bunch more. See this for everything included:
    http://hackage.haskell.org/package/xmonad-contrib
    If you upgrade everything from [haskell-core] you won't be able to recompile xmonad with anything from xmonad-contrib until it gets updated. Basically, how things are now is how they're going to be until that time. But, the people that hack on xmonad are really smart and are going to update this stuff quickly, so it shouldn't take long.
    **EDIT**
    I should be careful on what I say as it is possible to compile only parts of xmonad-contrib. If one isn't using a particular parts of it, they don't need to be included. I have no need to rebuild xmonad right away, so I'm not in a hurry to sort out what works and what doesn't.
    **EDIT 2**
    Corrected repo name.
    Last edited by skottish (2014-04-13 14:10:29)

  • Has anyone addressed the AUR haskell depends/makedepends fiasco?

    I've been searching around here, the web, and flyspray, and haven't found anything yet. Has anyone addressed the depends/makedepends fiasco with the Haskell PKGBUILD generated by the arch-haskell script?
    haskell-hdbc-sqlite3 > grep -i depends PKGBUILD
    makedepends=('ghc' 'haskell-cabal' 'haskell-hdbc>=2.1.0' 'haskell-utf8-string' 'sqlite3')
    depends=('ghc' 'haskell-cabal' 'haskell-hdbc>=2.1.0' 'haskell-utf8-string' 'sqlite3')
    Do all 1000+ PKGBUILD have this problem? Surely someone's looking into this, right?
    --EDIT--
    There are incorrect dependencies. There are 31 packages that depend on haskell-time of which a newer version is in GHC. The licenses are in non-standard places. Etc.
    *** I recommend that all packages created by arch-haskell get removed from the AUR. ***

    skottish wrote:
    Do all 1000+ PKGBUILD have this problem? Surely someone's looking into this, right?
    --EDIT--
    There are incorrect dependencies. There are 31 packages that depend on haskell-time of which a newer version is in GHC. The licenses are in non-standard places. Etc.
    *** I recommend that all packages created by arch-haskell get removed from the AUR. ***
    Hello skottish.
    Thanks for the bug report. It would be better directed by reporting a bug to the Arch Haskell team, http://www.haskell.org/mailman/listinfo/arch-haskell
    Just some background, the Arch Haskell team is an group of about 12 developers, including 2 Arch core developers, engaged in supporting the Haskell programming langauge on Arch, bring the Haskell community to Arch, and advocating for Arch Linux. The effort is centered around the #archhaskell irc channel, the arch-haskell@ mailing list, archhaskell.wordpress.com and the wiki.
    We're aware of the depends/makedepends issue. cabal2arch, the tool that packages Haskell software for Arch, used a seemingly incorrect understanding of the semantics of makdepends and depends. That has been fixed. Packages are being updated incrementally, and the situation as is causes no harm. The current semantics for Haskell packages wrt. dependencies are stated here: http://www.haskell.org/pipermail/arch-h … 00193.html
    Regarding haskell-time, the reason packages are using an older version of haskell-time is that Arch Linux supports the Haskell Platform http://hackage.haskell.org/platform/ which specifies which versions of libraries to support on a distro. We follow that. It is a policy decision.
    Regarding the licenses, they're placed where the package guide says. http://www.haskell.org/pipermail/arch-h … 00196.html
    I'm not sure what you mean by "Etc."  but if you have a bug report in the packaging system, please report it to the mailing list.

  • Updated today and got warnings and errors from haskell package.

    Hello. I updated today and got errors and warnings form the haskell package.
    Do I need to fix anything? Kind of worried. I can still successfully recompile my xmonad configuration.
    Thank you very much.
    .-(~/scratch/rails_projects/milk)------------------------------------------------------------------------------(patrick@tesla)-
    `--> sudo pacman -Syu
    :: Synchronizing package databases...
    core 111.8 KiB 1532K/s 00:00 [###########################################] 100%
    extra 1491.3 KiB 2.00M/s 00:01 [###########################################] 100%
    community 2.2 MiB 2.11M/s 00:01 [###########################################] 100%
    :: Starting full system upgrade...
    :: Replace haskell-transformers with extra/ghc? [Y/n] y
    :: Replace shared-color-profiles with extra/colord? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    Packages (72): apache-ant-1.9.4-1 binutils-2.24-3 clang-3.4-2 colord-1.2.0-1 cronie-1.4.11-2 device-mapper-2.02.106-2
    elfutils-0.158-2 feh-2.11-1 ffmpeg-1:2.2.2-2 firefox-29.0-1 flashplugin-11.2.202.356-1 gcc-4.9.0-1
    gcc-libs-4.9.0-1 ghc-7.8.2-3 glibc-2.19-4 gtk3-3.12.1-2 gvim-7.4.274-1 haskell-data-default-0.5.3-3
    haskell-data-default-class-0.0.1-3 haskell-data-default-instances-base-0.0.1-5
    haskell-data-default-instances-containers-0.0.1-3 haskell-data-default-instances-dlist-0.0.1-4
    haskell-data-default-instances-old-locale-0.0.1-3 haskell-dataenc-0.14.0.5-3 haskell-dlist-0.5-26
    haskell-extensible-exceptions-0.1.1.4-6 haskell-mtl-2.1.3.1-2 haskell-random-1.0.1.1-7
    haskell-transformers-0.3.0.0-4 [removal] haskell-utf8-string-0.3.7-7 haskell-x11-1.6.1.1-5
    haskell-x11-xft-0.3.1-10 haskell-zlib-0.5.4.1-3 intel-dri-10.1.2-1 libass-0.11.2-1 libdrm-2.4.54-1
    libltdl-2.4.2-13 libtool-2.4.2-13 libvirt-1.2.4-1 linux-3.14.2-1 linux-api-headers-3.14.1-1
    linux-headers-3.14.2-1 llvm-3.4-2 llvm-libs-3.4-2 lvm2-2.02.106-2 mesa-10.1.2-1 mesa-libgl-10.1.2-1
    mtdev-1.1.5-1 nodejs-0.10.28-3 openjpeg-1.5.2-1 procps-ng-3.3.9-3 psmisc-22.21-2 python-3.4.0-3
    python-pip-1.5.5-1 python-setuptools-3.5.1-1 python2-pip-1.5.5-1 python2-setuptools-3.5.1-1
    qt5-base-5.2.1-4 rxvt-unicode-9.20-1 rxvt-unicode-terminfo-9.20-1 shared-color-profiles-0.1.5-1 [removal]
    sqlite-3.8.4.3-2 vim-runtime-7.4.274-1 vte-common-0.36.1-1 vte3-0.36.1-1 x265-1.0-1
    xf86-input-evdev-2.8.3-1 xf86-input-synaptics-1.7.5-1 xmonad-0.11-8 xmonad-contrib-0.11.2-3
    xorg-xbacklight-1.2.1-1 zenity-3.12.1-1
    Total Download Size: 312.14 MiB
    Total Installed Size: 1806.49 MiB
    Net Upgrade Size: 21.59 MiB
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages ...
    linux-api-headers-3.14.1-1-x86_64 721.2 KiB 1835K/s 00:00 [###########################################] 100%
    glibc-2.19-4-x86_64 8.4 MiB 2.19M/s 00:04 [###########################################] 100%
    binutils-2.24-3-x86_64 4.1 MiB 2.16M/s 00:02 [###########################################] 100%
    gcc-libs-4.9.0-1-x86_64 1162.1 KiB 2.10M/s 00:01 [###########################################] 100%
    gcc-4.9.0-1-x86_64 21.7 MiB 2.25M/s 00:10 [###########################################] 100%
    cronie-1.4.11-2-x86_64 60.2 KiB 1095K/s 00:00 [###########################################] 100%
    device-mapper-2.02.106-2-x86_64 169.1 KiB 2.09M/s 00:00 [###########################################] 100%
    libltdl-2.4.2-13-x86_64 145.9 KiB 1972K/s 00:00 [###########################################] 100%
    libtool-2.4.2-13-x86_64 270.5 KiB 2.26M/s 00:00 [###########################################] 100%
    linux-3.14.2-1-x86_64 53.6 MiB 2.16M/s 00:25 [###########################################] 100%
    linux-headers-3.14.2-1-x86_64 5.9 MiB 2.24M/s 00:03 [###########################################] 100%
    lvm2-2.02.106-2-x86_64 812.0 KiB 2.23M/s 00:00 [###########################################] 100%
    procps-ng-3.3.9-3-x86_64 221.3 KiB 2.37M/s 00:00 [###########################################] 100%
    psmisc-22.21-2-x86_64 100.7 KiB 2.14M/s 00:00 [###########################################] 100%
    apache-ant-1.9.4-1-any 2.1 MiB 2.23M/s 00:01 [###########################################] 100%
    llvm-libs-3.4-2-x86_64 6.5 MiB 2.22M/s 00:03 [###########################################] 100%
    llvm-3.4-2-x86_64 11.1 MiB 2.36M/s 00:05 [###########################################] 100%
    clang-3.4-2-x86_64 23.8 MiB 2.30M/s 00:10 [###########################################] 100%
    sqlite-3.8.4.3-2-x86_64 444.6 KiB 2.09M/s 00:00 [###########################################] 100%
    colord-1.2.0-1-x86_64 487.8 KiB 1928K/s 00:00 [###########################################] 100%
    elfutils-0.158-2-x86_64 559.2 KiB 2.20M/s 00:00 [###########################################] 100%
    feh-2.11-1-x86_64 170.7 KiB 2.25M/s 00:00 [###########################################] 100%
    libass-0.11.2-1-x86_64 61.2 KiB 737K/s 00:00 [###########################################] 100%
    openjpeg-1.5.2-1-x86_64 134.8 KiB 2043K/s 00:00 [###########################################] 100%
    x265-1.0-1-x86_64 537.7 KiB 2.04M/s 00:00 [###########################################] 100%
    ffmpeg-1:2.2.2-2-x86_64 5.4 MiB 2.16M/s 00:03 [###########################################] 100%
    firefox-29.0-1-x86_64 27.2 MiB 2.27M/s 00:12 [###########################################] 100%
    flashplugin-11.2.202.356-1-x86_64 8.3 MiB 2.12M/s 00:04 [###########################################] 100%
    ghc-7.8.2-3-x86_64 62.8 MiB 2.30M/s 00:27 [###########################################] 100%
    gtk3-3.12.1-2-x86_64 8.3 MiB 2.11M/s 00:04 [###########################################] 100%
    vim-runtime-7.4.274-1-x86_64 4.8 MiB 1915K/s 00:03 [###########################################] 100%
    gvim-7.4.274-1-x86_64 1238.8 KiB 2027K/s 00:01 [###########################################] 100%
    libdrm-2.4.54-1-x86_64 156.2 KiB 1755K/s 00:00 [###########################################] 100%
    mesa-10.1.2-1-x86_64 3.0 MiB 2.36M/s 00:01 [###########################################] 100%
    mesa-libgl-10.1.2-1-x86_64 3.0 KiB 0.00B/s 00:00 [###########################################] 100%
    intel-dri-10.1.2-1-x86_64 1535.3 KiB 1859K/s 00:01 [###########################################] 100%
    mtdev-1.1.5-1-x86_64 15.0 KiB 1071K/s 00:00 [###########################################] 100%
    python-3.4.0-3-x86_64 13.7 MiB 2.33M/s 00:06 [###########################################] 100%
    python-setuptools-3.5.1-1-any 336.0 KiB 2.34M/s 00:00 [###########################################] 100%
    python-pip-1.5.5-1-any 1094.8 KiB 2.41M/s 00:00 [###########################################] 100%
    python2-setuptools-3.5.1-1-any 316.8 KiB 2.52M/s 00:00 [###########################################] 100%
    python2-pip-1.5.5-1-any 1078.4 KiB 2.47M/s 00:00 [###########################################] 100%
    qt5-base-5.2.1-4-x86_64 10.3 MiB 2.21M/s 00:05 [###########################################] 100%
    vte-common-0.36.1-1-x86_64 5.6 KiB 2.75M/s 00:00 [###########################################] 100%
    vte3-0.36.1-1-x86_64 353.6 KiB 1953K/s 00:00 [###########################################] 100%
    xf86-input-evdev-2.8.3-1-x86_64 27.9 KiB 664K/s 00:00 [###########################################] 100%
    xf86-input-synaptics-1.7.5-1-x86_64 50.4 KiB 1399K/s 00:00 [###########################################] 100%
    xorg-xbacklight-1.2.1-1-x86_64 7.0 KiB 6.84M/s 00:00 [###########################################] 100%
    zenity-3.12.1-1-x86_64 3.2 MiB 1885K/s 00:02 [###########################################] 100%
    haskell-data-default-class-0.0.1-3-x86_64 25.6 KiB 483K/s 00:00 [###########################################] 100%
    haskell-data-default-instances-base-0.0.1-5-x... 35.8 KiB 607K/s 00:00 [###########################################] 100%
    haskell-data-default-instances-containers-0.0... 27.5 KiB 1720K/s 00:00 [###########################################] 100%
    haskell-dlist-0.5-26-x86_64 48.5 KiB 1731K/s 00:00 [###########################################] 100%
    haskell-data-default-instances-dlist-0.0.1-4-... 25.8 KiB 1076K/s 00:00 [###########################################] 100%
    haskell-data-default-instances-old-locale-0.0... 25.8 KiB 1610K/s 00:00 [###########################################] 100%
    haskell-data-default-0.5.3-3-x86_64 26.6 KiB 1771K/s 00:00 [###########################################] 100%
    haskell-dataenc-0.14.0.5-3-x86_64 258.2 KiB 1614K/s 00:00 [###########################################] 100%
    haskell-extensible-exceptions-0.1.1.4-6-x86_64 28.6 KiB 2042K/s 00:00 [###########################################] 100%
    haskell-mtl-2.1.3.1-2-x86_64 180.2 KiB 1820K/s 00:00 [###########################################] 100%
    haskell-random-1.0.1.1-7-x86_64 253.8 KiB 1938K/s 00:00 [###########################################] 100%
    haskell-utf8-string-0.3.7-7-x86_64 190.2 KiB 1378K/s 00:00 [###########################################] 100%
    haskell-x11-1.6.1.1-5-x86_64 909.8 KiB 1880K/s 00:00 [###########################################] 100%
    haskell-x11-xft-0.3.1-10-x86_64 70.1 KiB 2.36M/s 00:00 [###########################################] 100%
    haskell-zlib-0.5.4.1-3-x86_64 166.4 KiB 2.36M/s 00:00 [###########################################] 100%
    libvirt-1.2.4-1-x86_64 5.7 MiB 2.24M/s 00:03 [###########################################] 100%
    nodejs-0.10.28-3-x86_64 3.1 MiB 2.33M/s 00:01 [###########################################] 100%
    rxvt-unicode-terminfo-9.20-1-x86_64 2.0 KiB 0.00B/s 00:00 [###########################################] 100%
    rxvt-unicode-9.20-1-x86_64 638.7 KiB 2.14M/s 00:00 [###########################################] 100%
    xmonad-0.11-8-x86_64 722.5 KiB 2024K/s 00:00 [###########################################] 100%
    xmonad-contrib-0.11.2-3-x86_64 3.6 MiB 2.12M/s 00:02 [###########################################] 100%
    (70/70) checking keys in keyring [###########################################] 100%
    (70/70) checking package integrity [###########################################] 100%
    (70/70) loading package files [###########################################] 100%
    (70/70) checking for file conflicts [###########################################] 100%
    (72/72) checking available disk space [###########################################] 100%
    (1/2) removing shared-color-profiles [###########################################] 100%
    unregistering transformers-0.3.0.0 would break the following packages: xmonad-contrib-0.11.2 xmonad-0.11 mtl-2.1.2 (ignoring)
    (2/2) removing haskell-transformers [###########################################] 100%
    ( 1/70) upgrading apache-ant [###########################################] 100%
    ( 2/70) upgrading linux-api-headers [###########################################] 100%
    ( 3/70) upgrading glibc [###########################################] 100%
    ( 4/70) upgrading binutils [###########################################] 100%
    ( 5/70) upgrading gcc-libs [###########################################] 100%
    ( 6/70) upgrading llvm-libs [###########################################] 100%
    ( 7/70) upgrading llvm [###########################################] 100%
    ( 8/70) upgrading gcc [###########################################] 100%
    ( 9/70) upgrading clang [###########################################] 100%
    (10/70) upgrading sqlite [###########################################] 100%
    (11/70) upgrading colord [###########################################] 100%
    New optional dependencies for colord
    sane: scanner support
    (12/70) upgrading cronie [###########################################] 100%
    (13/70) upgrading device-mapper [###########################################] 100%
    (14/70) upgrading elfutils [###########################################] 100%
    (15/70) upgrading feh [###########################################] 100%
    (16/70) upgrading libass [###########################################] 100%
    (17/70) upgrading openjpeg [###########################################] 100%
    (18/70) upgrading x265 [###########################################] 100%
    (19/70) upgrading ffmpeg [###########################################] 100%
    (20/70) upgrading firefox [###########################################] 100%
    (21/70) upgrading flashplugin [###########################################] 100%
    ==> Unregistering cabalized packages...
    unregistering data-default-instances-old-locale-0.0.1 would break the following packages: X11-xft-0.3.1 X11-1.6.1.1 data-default-0.5.3 (ignoring)
    unregistering data-default-class-0.0.1 would break the following packages: data-default-instances-base-0.0.1 data-default-instances-containers-0.0.1 (ignoring)
    ==> Done.
    (22/70) upgrading ghc [###########################################] 100%
    ==> All cabalized packages need to be reinstalled now.
    ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
    (23/70) upgrading gtk3 [###########################################] 100%
    (24/70) upgrading vim-runtime [###########################################] 100%
    (25/70) upgrading gvim [###########################################] 100%
    ghc-pkg: cannot find package data-default-class-0.0.1
    error: command failed to execute correctly
    (26/70) upgrading haskell-data-default-class [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read data-default/data-default.haddock:
    Interface file is of wrong version: data-default/data-default.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-base/data-default-instances-base.haddock:
    Interface file is of wrong version: data-default-instances-base/data-default-instances-base.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-containers/data-default-instances-containers.haddock:
    Interface file is of wrong version: data-default-instances-containers/data-default-instances-containers.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-dlist/data-default-instances-dlist.haddock:
    Interface file is of wrong version: data-default-instances-dlist/data-default-instances-dlist.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-old-locale/data-default-instances-old-locale.haddock:
    Interface file is of wrong version: data-default-instances-old-locale/data-default-instances-old-locale.haddock
    Skipping this interface.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read dlist/dlist.haddock:
    Interface file is of wrong version: dlist/dlist.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package data-default-instances-base-0.0.1
    error: command failed to execute correctly
    (27/70) upgrading haskell-data-default-instances-base [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read data-default/data-default.haddock:
    Interface file is of wrong version: data-default/data-default.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-containers/data-default-instances-containers.haddock:
    Interface file is of wrong version: data-default-instances-containers/data-default-instances-containers.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-dlist/data-default-instances-dlist.haddock:
    Interface file is of wrong version: data-default-instances-dlist/data-default-instances-dlist.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-old-locale/data-default-instances-old-locale.haddock:
    Interface file is of wrong version: data-default-instances-old-locale/data-default-instances-old-locale.haddock
    Skipping this interface.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read dlist/dlist.haddock:
    Interface file is of wrong version: dlist/dlist.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package data-default-instances-containers-0.0.1
    error: command failed to execute correctly
    (28/70) upgrading haskell-data-default-instances-containers [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read data-default/data-default.haddock:
    Interface file is of wrong version: data-default/data-default.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-dlist/data-default-instances-dlist.haddock:
    Interface file is of wrong version: data-default-instances-dlist/data-default-instances-dlist.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-old-locale/data-default-instances-old-locale.haddock:
    Interface file is of wrong version: data-default-instances-old-locale/data-default-instances-old-locale.haddock
    Skipping this interface.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read dlist/dlist.haddock:
    Interface file is of wrong version: dlist/dlist.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package dlist-0.5
    error: command failed to execute correctly
    (29/70) upgrading haskell-dlist [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read data-default/data-default.haddock:
    Interface file is of wrong version: data-default/data-default.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-dlist/data-default-instances-dlist.haddock:
    Interface file is of wrong version: data-default-instances-dlist/data-default-instances-dlist.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-old-locale/data-default-instances-old-locale.haddock:
    Interface file is of wrong version: data-default-instances-old-locale/data-default-instances-old-locale.haddock
    Skipping this interface.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package data-default-instances-dlist-0.0.1
    error: command failed to execute correctly
    (30/70) upgrading haskell-data-default-instances-dlist [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read data-default/data-default.haddock:
    Interface file is of wrong version: data-default/data-default.haddock
    Skipping this interface.
    Warning: Cannot read data-default-instances-old-locale/data-default-instances-old-locale.haddock:
    Interface file is of wrong version: data-default-instances-old-locale/data-default-instances-old-locale.haddock
    Skipping this interface.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package data-default-instances-old-locale-0.0.1
    error: command failed to execute correctly
    (31/70) upgrading haskell-data-default-instances-old-locale [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read data-default/data-default.haddock:
    Interface file is of wrong version: data-default/data-default.haddock
    Skipping this interface.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package data-default-0.5.3
    error: command failed to execute correctly
    (32/70) upgrading haskell-data-default [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read dataenc/dataenc.haddock:
    Interface file is of wrong version: dataenc/dataenc.haddock
    Skipping this interface.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package dataenc-0.14.0.5
    error: command failed to execute correctly
    (33/70) upgrading haskell-dataenc [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read extensible-exceptions/extensible-exceptions.haddock:
    Interface file is of wrong version: extensible-exceptions/extensible-exceptions.haddock
    Skipping this interface.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package extensible-exceptions-0.1.1.4
    error: command failed to execute correctly
    (34/70) upgrading haskell-extensible-exceptions [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read mtl/mtl.haddock:
    Interface file is of wrong version: mtl/mtl.haddock
    Skipping this interface.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package mtl-2.1.2
    error: command failed to execute correctly
    (35/70) upgrading haskell-mtl [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read random/random.haddock:
    Interface file is of wrong version: random/random.haddock
    Skipping this interface.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package random-1.0.1.1
    error: command failed to execute correctly
    (36/70) upgrading haskell-random [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read utf8-string/utf8-string.haddock:
    Interface file is of wrong version: utf8-string/utf8-string.haddock
    Skipping this interface.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package utf8-string-0.3.7
    error: command failed to execute correctly
    (37/70) upgrading haskell-utf8-string [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11/X11.haddock:
    Interface file is of wrong version: X11/X11.haddock
    Skipping this interface.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package X11-1.6.1.1
    error: command failed to execute correctly
    (38/70) upgrading haskell-x11 [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read X11-xft/X11-xft.haddock:
    Interface file is of wrong version: X11-xft/X11-xft.haddock
    Skipping this interface.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package X11-xft-0.3.1
    error: command failed to execute correctly
    (39/70) upgrading haskell-x11-xft [###########################################] 100%
    Reading package info from stdin ... done.
    Warning: Cannot read zlib/zlib.haddock:
    Interface file is of wrong version: zlib/zlib.haddock
    Skipping this interface.
    ghc-pkg: cannot find package zlib-0.5.4.1
    error: command failed to execute correctly
    (40/70) upgrading haskell-zlib [###########################################] 100%
    Reading package info from stdin ... done.
    (41/70) upgrading libdrm [###########################################] 100%
    (42/70) upgrading mesa [###########################################] 100%
    (43/70) upgrading mesa-libgl [###########################################] 100%
    (44/70) upgrading intel-dri [###########################################] 100%
    (45/70) upgrading libltdl [###########################################] 100%
    (46/70) upgrading libtool [###########################################] 100%
    (47/70) upgrading libvirt [###########################################] 100%
    >>> You may need to run 'rm -rf ~/.libvirt'
    >>> libvirt runs qemu from nobody:nobody by default
    >>> change it in /etc/libvirt/qemu.conf
    (48/70) upgrading linux [###########################################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.14.2-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [encrypt]
    -> Running build hook: [lvm2]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.14.2-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: smsmdtv
    -> Running build hook: [encrypt]
    -> Running build hook: [lvm2]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    (49/70) upgrading linux-headers [###########################################] 100%
    (50/70) upgrading lvm2 [###########################################] 100%
    (51/70) upgrading mtdev [###########################################] 100%
    (52/70) upgrading nodejs [###########################################] 100%
    New optional dependencies for nodejs
    python2: for node-gyp [installed]
    (53/70) upgrading procps-ng [###########################################] 100%
    (54/70) upgrading psmisc [###########################################] 100%
    (55/70) upgrading python [###########################################] 100%
    (56/70) upgrading python-setuptools [###########################################] 100%
    (57/70) upgrading python-pip [###########################################] 100%
    (58/70) upgrading python2-setuptools [###########################################] 100%
    (59/70) upgrading python2-pip [###########################################] 100%
    (60/70) upgrading qt5-base [###########################################] 100%
    (61/70) upgrading rxvt-unicode-terminfo [###########################################] 100%
    (62/70) upgrading rxvt-unicode [###########################################] 100%
    (63/70) upgrading vte-common [###########################################] 100%
    (64/70) upgrading vte3 [###########################################] 100%
    (65/70) upgrading xf86-input-evdev [###########################################] 100%
    (66/70) upgrading xf86-input-synaptics [###########################################] 100%
    ghc-pkg: cannot find package xmonad-0.11
    error: command failed to execute correctly
    (67/70) upgrading xmonad [###########################################] 100%
    Reading package info from stdin ... done.
    xmonad-0.11: Warning: haddock-interfaces: /usr/share/doc/x86_64-linux-ghc-7.8.2/xmonad-0.11/html/xmonad.haddock doesn't exist or isn't a file
    xmonad-0.11: Warning: haddock-html: /usr/share/doc/x86_64-linux-ghc-7.8.2/xmonad-0.11/html doesn't exist or isn't a directory
    ghc-pkg: cannot find package xmonad-contrib-0.11.2
    error: command failed to execute correctly
    (68/70) upgrading xmonad-contrib [###########################################] 100%
    Reading package info from stdin ... done.
    xmonad-contrib-0.11.2: Warning: haddock-interfaces: /usr/share/doc/x86_64-linux-ghc-7.8.2/xmonad-contrib-0.11.2/html/xmonad-contrib.haddock doesn't exist or isn't a file
    xmonad-contrib-0.11.2: Warning: haddock-html: /usr/share/doc/x86_64-linux-ghc-7.8.2/xmonad-contrib-0.11.2/html doesn't exist or isn't a directory
    (69/70) upgrading xorg-xbacklight [###########################################] 100%
    (70/70) upgrading zenity [###########################################] 100%

    Gcool wrote:
    Check the following threads:
    1
    2
    My update didn't fail though. When I run pacman -Rsc haskell-transformers it complains that the package is not found.

Maybe you are looking for