[arch-haskell] devtools version problem

Fabien Dubosson fabien.dubosson at gmail.com
Sun Oct 27 23:40:46 UTC 2013


Hi,

Continuing my investigations about my building problem, I think I have
found its cause and a way to reproduce it.

Briefly, the important point is that the chroot environment must be created
with devtools <= 20130408 (the last version that has makechrootpkg that
support the "-d" flag). Once created, packages can be built even with
newest versions of devtools that doesn't support the "-d" flag (but this
requires to adapt the makeahpkg script to remove it).

At the opposite, if the chroot is created with a newer version, Haskell
packages will build and install, but with a message like:

    Diff-0.3.0: cannot find libHSDiff-0.3.0.a on library path (use --force
to override)

To reproduce, run the following commands once with devtools 20130408 and
once with 20131020 (and don't forget to remove completely the "habs-temp"
folder between the two tests):

    git clone https://github.com/StreakyCobra/habs.git habs-temp
    cd habs-temp
    cblrepo sync
    cblrepo pkgbuild Diff
    ./makeahpkg -c -- Diff
    # sudo rm habs-temp -rf

Can anybody confirm this behavior? Or is it just me?

Best regards,
Fabien Dubosson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20131028/e6d5d5e7/attachment.html>


More information about the arch-haskell mailing list