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.