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- 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- 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…)


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.


@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-
collect2: ld returned 1 exit status

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

% ghc --make vim-scripts-mgr.hs

    Could not find module `System.IO.HVFS.Utils':
      Use -v to see a list of the files searched for.
Leave a comment