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).Hi,Continuing my investigations about my building problem, I think I have found its cause and a way to reproduce 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-tempcd habs-tempcblrepo sync
cblrepo pkgbuild Diff
./makeahpkg -c -- Diff# sudo rm habs-temp -rfCan anybody confirm this behavior? Or is it just me?Best regards,
Fabien Dubosson