[arch-haskell] Using makeahpkg

Alessandro Pezzoni alessandro_pezzoni at lavabit.com
Sat Oct 12 07:40:19 UTC 2013

I'm trying to use the 'makehapkg' script to build Haskell packages, as
suggested by Magnus Therning, but I'm having some issues with it. Though
it works fine for packages without dependencies other than ghc, like
haskell-xdg-basedir (not currently in habs), it fails to install extra
dependencies prior to building, e.g.:

$./makeahpkg haskell-data-accessor
==> Making package: haskell-data-accessor (Wed Jul 25 12:14:10
UTC 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
sudo: effective uid is not 0, is sudo installed setuid root?
==> ERROR: 'pacman' failed to install missing dependencies.
==> ERROR: Build failed, check /home/bexie/my-habs/x86_64-chroot/build/build

As I don't have any kind of experience with chroots I'm quite at a loss
here. Am I doing something wrong?

Thank you in advance,

More information about the arch-haskell mailing list