[arch-haskell] ghc 7.4.1 in a temporary repo
magnus at therning.org
Sat Oct 12 07:39:57 UTC 2013
On Sat, Feb 18, 2012 at 06:30:52PM +0100, Adrien Haxaire wrote:
> A short update.
> I got confused in the process and I restarted from scratch hence the
> time since my last mail.
> I have almost all the packages compiled. I have uploaded them to
> Amongst others, what does not compile:
> basically all archive which size is 1K
> Also some patches do not apply well:
> [adrien at arch ah-ghc74]$ cblrepo pkgbuild $(cat ,,build-order)
> Failed patching /tmp/cblrepo.2CyhXK/PKGBUILD with
> Failed patching /tmp/cblrepo.Y8IXQb/PKGBUILD with
> Failed patching /tmp/cblrepo.S2YpEn/PKGBUILD with
> Failed patching /tmp/cblrepo.EJxKM1/PKGBUILD with
> Failed patching /tmp/cblrepo.6NWYBP/PKGBUILD with
> I'll have more time to make a full report tomorrow. In the meantime,
> please let me know if the uploaded packages are ok, so that I can
> restart a new cycle if something went wrong.
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
- 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 ;)
Magnus Therning OpenPGP: 0xAB4DFBA4
email: magnus at therning.org jabber: magnus at therning.org
twitter: magthe http://therning.org/magnus
Perl is another example of filling a tiny, short-term need, and then
being a real problem in the longer term.
-- Alan Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the arch-haskell