On Tue, Feb 21, 2012 at 12:01:00AM +0100, Adrien Haxaire wrote: > On 18/02/2012 23:51, Magnus Therning wrote: >> I'd recommend you fetch the latest changes I've made to the git repo. >> There's a new pkgrel of GHC itself (7.4.1-2) as well as some fixes to >> the patches. Some extra instructions: >> >> - After creating all the PKGBUILDs it's necessary to adjust the >> dependency on GHC (unless you modify `cblrepo` and build a new >> version of it), e.g. by executing something like >> >> for f in */PKGBUILD; do >> sed -e 's/\(.*\)ghc=7\.4\.1-1\(.*\)/\1ghc=7.4.1-2\2/' -i $f >> done >> >> - It's not possible to record dependencies on tools in Cabal files, >> instead that is done in some of the patches. Unfortunately this >> means that `clbrepo` can't produce a build order that is 100% >> guaranteed to work; a bit of manual tweaking of the ,,build-order >> file may be necessary. I think the only tools in question are >> `alex`, `happy` and `gtk2hs-buildtools`. >> >> Good luck ;) > > Et voilĂ ! > > I have pulled your changes to the patches then rebuilt all. I have > uploaded them at the same location.
Excellent, I'll prepare a repo with those packages during the day. > I did not need to tweak the ,,build-order file. Ah, then you were lucky :) > By the way, what happens if I want to build it while being root (or > under a sudo bash)? I had to type in me password several times > because I did not dare try it being root. Do you have a trick to > avoid typing it? Yeah, it's a bit unfortunate that we have to work with chroot, which requires root access. I always configure a timeout for sudo so I don't have to enter my password on *every* invocation. For larger builds, like all of [haskell] for instance, I actually configure sudo to not require a password. Those are the only ways I know of avoiding typing the password several times. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: [email protected] jabber: [email protected] twitter: magthe http://therning.org/magnus I invented the term Object-Oriented, and I can tell you I did not have C++ in mind. -- Alan Kay
pgp7Yewcyusrg.pgp
Description: PGP signature
_______________________________________________ arch-haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/arch-haskell
