Arch and Haskell, on little snag

Dear lazyweb (Arch users and especially DonS :-) ),

I just used yaourt to update my system and it noticed that haskell-time was available in a new version. After answering a few questions I was greeted with this message:

ghc-pkg: unregistering time-1.1.2.3 would break the following packages: hslogger-1.0.7 MissingH-1.1.0
    ConfigFile-1.0.4 convertible-1.0.1 HDBC-2.1.0 HDBC-sqlite3-2.1.0.0 HSH-1.2.6 (use --force to override)
error: scriptlet failed to execute correctly

Is there already some automated way to deal with this? (How to deal with it manually is fairly obvious to me…)

Share

2 Comments

  1. Mostly harmless. If you really want to have all packages upgrade to the new haskell-time, they’ll need to be rebuilt.

    I’d just ignore.

  2. @dons, doesn’t seem so harmless to me. After that failed upgrade this is what I got when trying to compile something that depends on MissingH (which in turn depends on time):

    % ghc --make vim-scripts-mgr.hs
    Linking vim-scripts-mgr ...
    /usr/bin/ld: cannot find -lHStime-1.1.2.3
    collect2: ld returned 1 exit status
    

    Not so surprising, since I’ve just replaced time-1.1.2.3 with time-1.1.2.4. After forcefully unregistering time-1.1.2.3:

    % ghc --make vim-scripts-mgr.hs
    
    vim-scripts-mgr.hs:27:7:
        Could not find module `System.IO.HVFS.Utils':
          Use -v to see a list of the files searched for.
    

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>