<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Continuing my investigations about my building problem, I think I have found its cause and a way to reproduce it.<br><br></div>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).<br>

<br>At the opposite, if the chroot is created with a newer version, Haskell packages will build and install, but with a message like:<br><br>    Diff-0.3.0: cannot find libHSDiff-0.3.0.a on library path (use --force to override)<br>

</div><div><br></div>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):<br><br>
</div>
<div>    git clone <a href="https://github.com/StreakyCobra/habs.git">https://github.com/StreakyCobra/habs.git</a> habs-temp<br></div><div>    cd habs-temp<br></div><div>    cblrepo sync<br>    cblrepo pkgbuild Diff<br></div>

<div>    ./makeahpkg -c -- Diff<br></div><div>    # sudo rm habs-temp -rf<br></div><div>    <br></div><div>Can anybody confirm this behavior? Or is it just me?<br><br></div><div>Best regards,<br>Fabien Dubosson<br></div>
<div>
<br></div></div>