Re: [arch-haskell] ghc 7.4.1 in a temporary repo
On Wed, Feb 15, 2012 at 01:26, Bernardo Barros newsgro...@bbarros.com wrote: On 02/14/2012 01:39 PM, Magnus Therning wrote: 173.255.233.139 I did try it just now and it was working just fine. Now it's working. I'd like to try ghc 7.4. Did you find any problems so far with hackage packages? Only with 'darcs', everything else has worked beautifully out of the box. Nice. But `darcs` is an important one. Indeed. I should have mentioned that `darcs-beta` compiled just fine though :-) So you can have darcs, just a more bleeding-edge version. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus ___ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell
Re: [arch-haskell] ghc 7.4.1 in a temporary repo
On Tue, 14 Feb 2012 13:01:05 +0100, Magnus Therning wrote: Start with cleaning up your ah-ghc74 directory (you can use `git clean` for that) and make sure you have `cblrepo` in your path. Then the following steps ought to do the job: $ cd ah-ghc74 $ cblrepo build $(cblrepo list | cut -f1 -d\ ) ,,build-order $ cblrepo pkgbuild $(cat ,,build-order) $ ./makeahpkg -x -- ghc $(cat ,,build-order) Seems it built successfully. I started with a cblrepo sync to initialize it. Here are the files/directories in my ah-ghc74 directory after running the scripts: ,,build-order cblrepo.db ghc haskell-ansi-terminal haskell-ansi-wl-pprint haskell-cereal haskell-cmdargs haskell-crypto-api haskell-darcs-beta haskell-data-default haskell-dataenc haskell-entropy haskell-hashed-storage haskell-haskeline haskell-html haskell-hunit haskell-json haskell-largeword haskell-mmap haskell-mtl haskell-parallel haskell-parsec haskell-primitive haskell-puremd5 haskell-random haskell-regex-base haskell-regex-compat haskell-regex-posix haskell-regex-tdfa haskell-semigroups haskell-split haskell-syb haskell-tagged haskell-tar haskell-text haskell-transformers haskell-unixutils haskell-utf8-string haskell-vector haskell-x11 haskell-xmonad haskell-xmonad-contrib haskell-xmonad-extras haskell-zlib i686-chroot makeahpkg patches I made a copy of it for safety, then tried to install it: sudo pacman -U ghc/ghc-7.4.1-1-i686.pkg.tar.xz Mot de passe : chargement des paquets… résolution des dépendances... recherche des conflits entre paquets... Erreur : la préparation de la transaction a échoué (la satisfaction des dépendances a échoué) :: haskell-cpphs : requiert ghc=7.0.3-2 :: haskell-ghc-paths : requiert ghc=7.0.3-2 :: haskell-haskell-src-exts : requiert ghc=7.0.3-2 :: haskell-hlint : requiert ghc=7.0.3-2 :: haskell-hscolour : requiert ghc=7.0.3-2 :: haskell-hscolour : requiert haskell-containers=0.4.0.0 :: haskell-hunit : requiert ghc=7.0.3-2 :: haskell-json : requiert ghc=7.0.3-2 :: haskell-json : requiert haskell-array=0.3.0.2 :: haskell-json : requiert haskell-bytestring=0.9.1.10 :: haskell-json : requiert haskell-containers=0.4.0.0 :: haskell-json : requiert haskell-pretty=1.0.1.2 :: haskell-mtl : requiert ghc=7.0.3-2 :: haskell-parsec : requiert ghc=7.0.3-2 :: haskell-primitive : requiert ghc=7.0.3-2 :: haskell-quickcheck : requiert ghc=7.0.3-2 :: haskell-syb : requiert ghc=7.0.3-2 :: haskell-transformers : requiert ghc=7.0.3-2 :: haskell-uniplate : requiert ghc=7.0.3-2 :: haskell-vector : requiert ghc=7.0.3-2 :: haskell-xhtml : requiert ghc=7.0.3-2 It says it cannot resolve the dependencies, namely ghc 7.0.3-2, but ghc --version gives: The Glorious Glasgow Haskell Compilation System, version 7.0.3. Any clue? I did not update my arch for a while, maybe this is why. By the way, where should I upload it when finished? Thanks again for the help, it takes a while to compile, but it's fun :) Adrien If you have some links on how to do it, I'll be glad to look at it and learn how to do it. There's a README that comes with cblrepo, that's a good place to start, then there's also a README for HABS (http://is.gd/7b8ICP). /M ___ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell
Re: [arch-haskell] ghc 7.4.1 in a temporary repo
On 02/15/2012 10:28 AM, Adrien Haxaire wrote: On Tue, 14 Feb 2012 13:01:05 +0100, Magnus Therning wrote: Start with cleaning up your ah-ghc74 directory (you can use `git clean` for that) and make sure you have `cblrepo` in your path. Then the following steps ought to do the job: $ cd ah-ghc74 $ cblrepo build $(cblrepo list | cut -f1 -d\ ) ,,build-order $ cblrepo pkgbuild $(cat ,,build-order) $ ./makeahpkg -x -- ghc $(cat ,,build-order) Seems it built successfully. I started with a cblrepo sync to initialize it. Here are the files/directories in my ah-ghc74 directory after running the scripts: ,,build-order cblrepo.db ghc haskell-ansi-terminal haskell-ansi-wl-pprint haskell-cereal haskell-cmdargs haskell-crypto-api haskell-darcs-beta haskell-data-default haskell-dataenc haskell-entropy haskell-hashed-storage haskell-haskeline haskell-html haskell-hunit haskell-json haskell-largeword haskell-mmap haskell-mtl haskell-parallel haskell-parsec haskell-primitive haskell-puremd5 haskell-random haskell-regex-base haskell-regex-compat haskell-regex-posix haskell-regex-tdfa haskell-semigroups haskell-split haskell-syb haskell-tagged haskell-tar haskell-text haskell-transformers haskell-unixutils haskell-utf8-string haskell-vector haskell-x11 haskell-xmonad haskell-xmonad-contrib haskell-xmonad-extras haskell-zlib i686-chroot makeahpkg patches I made a copy of it for safety, then tried to install it: sudo pacman -U ghc/ghc-7.4.1-1-i686.pkg.tar.xz Mot de passe : chargement des paquets… résolution des dépendances... recherche des conflits entre paquets... Erreur : la préparation de la transaction a échoué (la satisfaction des dépendances a échoué) :: haskell-cpphs : requiert ghc=7.0.3-2 :: haskell-ghc-paths : requiert ghc=7.0.3-2 :: haskell-haskell-src-exts : requiert ghc=7.0.3-2 :: haskell-hlint : requiert ghc=7.0.3-2 :: haskell-hscolour : requiert ghc=7.0.3-2 :: haskell-hscolour : requiert haskell-containers=0.4.0.0 :: haskell-hunit : requiert ghc=7.0.3-2 :: haskell-json : requiert ghc=7.0.3-2 :: haskell-json : requiert haskell-array=0.3.0.2 :: haskell-json : requiert haskell-bytestring=0.9.1.10 :: haskell-json : requiert haskell-containers=0.4.0.0 :: haskell-json : requiert haskell-pretty=1.0.1.2 :: haskell-mtl : requiert ghc=7.0.3-2 :: haskell-parsec : requiert ghc=7.0.3-2 :: haskell-primitive : requiert ghc=7.0.3-2 :: haskell-quickcheck : requiert ghc=7.0.3-2 :: haskell-syb : requiert ghc=7.0.3-2 :: haskell-transformers : requiert ghc=7.0.3-2 :: haskell-uniplate : requiert ghc=7.0.3-2 :: haskell-vector : requiert ghc=7.0.3-2 :: haskell-xhtml : requiert ghc=7.0.3-2 It says it cannot resolve the dependencies, namely ghc 7.0.3-2, but ghc --version gives: The Glorious Glasgow Haskell Compilation System, version 7.0.3. Any clue? I did not update my arch for a while, maybe this is why. OK, I do not know French but it looks like you have some packages installed which depend on the old version of ghc. Remove the old ghc *and all the packages which depend on it* beofre installing 7.4.1. Peter. ___ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell
Re: [arch-haskell] ghc 7.4.1 in a temporary repo
On Wed, Feb 15, 2012 at 10:28, Adrien Haxaire adr...@haxaire.org wrote: On Tue, 14 Feb 2012 13:01:05 +0100, Magnus Therning wrote: Start with cleaning up your ah-ghc74 directory (you can use `git clean` for that) and make sure you have `cblrepo` in your path. Then the following steps ought to do the job: $ cd ah-ghc74 $ cblrepo build $(cblrepo list | cut -f1 -d\ ) ,,build-order $ cblrepo pkgbuild $(cat ,,build-order) $ ./makeahpkg -x -- ghc $(cat ,,build-order) Seems it built successfully. I started with a cblrepo sync to initialize it. Here are the files/directories in my ah-ghc74 directory after running the scripts: Ah, yes, you do need to sync it first, I tend to forget that step all the time when writing down instructions. ,,build-order cblrepo.db ghc haskell-ansi-terminal [...] haskell-zlib i686-chroot makeahpkg patches You'll find all the built packages under `ghc` and `haskell-*`. I made a copy of it for safety, then tried to install it: sudo pacman -U ghc/ghc-7.4.1-1-i686.pkg.tar.xz Mot de passe : chargement des paquets… résolution des dépendances... recherche des conflits entre paquets... Erreur : la préparation de la transaction a échoué (la satisfaction des dépendances a échoué) :: haskell-cpphs : requiert ghc=7.0.3-2 :: haskell-ghc-paths : requiert ghc=7.0.3-2 :: haskell-haskell-src-exts : requiert ghc=7.0.3-2 :: haskell-hlint : requiert ghc=7.0.3-2 :: haskell-hscolour : requiert ghc=7.0.3-2 :: haskell-hscolour : requiert haskell-containers=0.4.0.0 :: haskell-hunit : requiert ghc=7.0.3-2 :: haskell-json : requiert ghc=7.0.3-2 :: haskell-json : requiert haskell-array=0.3.0.2 :: haskell-json : requiert haskell-bytestring=0.9.1.10 :: haskell-json : requiert haskell-containers=0.4.0.0 :: haskell-json : requiert haskell-pretty=1.0.1.2 :: haskell-mtl : requiert ghc=7.0.3-2 :: haskell-parsec : requiert ghc=7.0.3-2 :: haskell-primitive : requiert ghc=7.0.3-2 :: haskell-quickcheck : requiert ghc=7.0.3-2 :: haskell-syb : requiert ghc=7.0.3-2 :: haskell-transformers : requiert ghc=7.0.3-2 :: haskell-uniplate : requiert ghc=7.0.3-2 :: haskell-vector : requiert ghc=7.0.3-2 :: haskell-xhtml : requiert ghc=7.0.3-2 It says it cannot resolve the dependencies, namely ghc 7.0.3-2, but ghc --version gives: The Glorious Glasgow Haskell Compilation System, version 7.0.3. Any clue? I did not update my arch for a while, maybe this is why. You have a number of installed haskell packages that require ghc 7.0.3-2 on your system. Remove those first (e.g. `pacman -Rncs ghc`), then you should have no problems installing the newly built one. By the way, where should I upload it when finished? Good question. Do you have any place where you can keep them long enough for me to copy them over? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus ___ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell
Re: [arch-haskell] ghc 7.4.1 in a temporary repo
Thank you Peter and Magnus. I'll try this tonight. Good question. Do you have any place where you can keep them long enough for me to copy them over? Yes. Once I have it running on my machine, I'll upload them to a subdomain of my own. Whats is the best option then: a big tarball, or several ones? I can try to set up an ftp also, might be better. Adrien ___ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell