[arch-haskell] Proper dependencies, please!
magnus at therning.org
Wed Oct 14 02:02:43 EDT 2009
Don Stewart wrote:
>> Yesterday there was an update to haskell-x11 available (184.108.40.206) and pacman
>> was happy with installing it. GHC however, was not since a few of the other
>> installed packages depended on version 1.4.5. Despite ghc-pkg complaining
>> loudly pacman pushed on and in the end I was left with a somewhat broken
>> To fix it I ran "pacman -Rcs haskell-x11", but that of course means I can't
>> use xmonad until it has been recompiled against the newer haskell-x11.
>> AFAICS this all stems from xmonad having the dependency on
>> "haskell-x11" when it in fact ought be on "haskell-x11>=1.4.5 haskell<1.4.6".
>> Is it possible to get these more specific dependencies into PKGBUILDs in some
>> automated fashion, so that breakage like this can be easily avoided?
> Ah, so the binary xmonad has more precise dependencies than the src xmonad
> -- so when cabal2arch generates a PKGBUILD -- one that works for AUR -- it
> will actually be subtly broken for the binary installs, where the ABI compat
> requires only one version of each dependency.
Yes, I guess this is since xmonad will rebuild itself in order to incorporate
the user's configuration.
The current scheme will continue to work fine for "regular" binaries. At
least as long as GHC spits out statically linked binaries. I suspect the
situation changes for DLLs.
> I think we could do this -- it would be done when moving a PKGBUILD into the
> binary repos -- and pinning the version at that point.
I actually think that this is a much wider problem than just xmonad. My
experience seems to back up Debian's very strict policy on dependencies among
library packages compiled with GHC (see ).
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus＠therning．org Jabber: magnus＠therning．org
http://therning.org/magnus identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/arch-haskell/attachments/20091014/d783a5a3/signature.bin
More information about the arch-haskell