Why is haskell-utf8-string installed?

I suspect this is a bug in pacman, but would really like someone else to confirm that I'm not just confused ;-) I just removed all my haskell-related packages and re-installed the bare minimum I need: % sudo pacman -Rncs ghc % sudo pacman -S xmonad-contrib After this I find that I have two versions on utf8-string: % ghc-pkg list|grep utf8 utf8-string-0.3.4 utf8-string-0.3.6 That seems a bit strange to me so I had a look at the packages. First I confirmed that ghc provides utf8-string, which it does, version 0.3.4. Then I took a look at haskell-utf8-string (the package, version 0.3.6): % pacman -Qi haskell-utf8-string|grep Required Required By : haskell-x11-xft xmonad-contrib However, having a look at both haskell-x11-xft and xmonad-contrib it looks like they don't have a dependency that requires 0.3.6 to be installed: % pacman -Qi haskell-x11-xft|grep Depends Depends On : ghc=6.12.1 haskell-x11=1.5.0.0 haskell-utf8-string>=0.3 % pacman -Qi xmonad-contrib|grep Depends Depends On : xmonad=0.9.1 sh haskell-x11-xft=0.3 haskell-utf8-string So, why does pacman insist on installing haskell-utf8-string, when it doesn't really have to? Does pacman not use Provides properly in its dependency resolution? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

magnus:
I suspect this is a bug in pacman, but would really like someone else to confirm that I'm not just confused ;-)
I just removed all my haskell-related packages and re-installed the bare minimum I need:
% sudo pacman -Rncs ghc % sudo pacman -S xmonad-contrib
After this I find that I have two versions on utf8-string:
% ghc-pkg list|grep utf8 utf8-string-0.3.4 utf8-string-0.3.6
GHC 6.12 provides utf8-string, is that involved? -- Don

On Tue, Jan 19, 2010 at 7:12 AM, Don Stewart
magnus:
I suspect this is a bug in pacman, but would really like someone else to confirm that I'm not just confused ;-)
I just removed all my haskell-related packages and re-installed the bare minimum I need:
% sudo pacman -Rncs ghc % sudo pacman -S xmonad-contrib
After this I find that I have two versions on utf8-string:
% ghc-pkg list|grep utf8 utf8-string-0.3.4 utf8-string-0.3.6
GHC 6.12 provides utf8-string, is that involved?
Well, that's really the whole point of my email. Probably very clumsily asked though. Yes, GHC 6.12 provides utf8-string 0.3.4, neither xmonad-contrib nor haskell-x11-xft rely on any particular version (anything >=0.3 satisfies both). Yet pacman installed haskell-utf8-string (0.3.6). It looks like pacman didn't take into consideration that ghc (the Arch package) provides haskell-utf8-string[1]. In other words, it looks to me like pacman's dependency resolution has a bug. With my usual doubt in my own abilities I was wondering if there isn't a fault in my logic :-) /M [1]: http://repos.archlinux.org/wsvn/packages/ghc/repos/extra-x86_64/PKGBUILD -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

On Tue, Jan 19, 2010 at 4:20 PM, Magnus Therning
On Tue, Jan 19, 2010 at 7:12 AM, Don Stewart
wrote: magnus:
I suspect this is a bug in pacman, but would really like someone else to confirm that I'm not just confused ;-)
I just removed all my haskell-related packages and re-installed the bare minimum I need:
% sudo pacman -Rncs ghc % sudo pacman -S xmonad-contrib
After this I find that I have two versions on utf8-string:
% ghc-pkg list|grep utf8 utf8-string-0.3.4 utf8-string-0.3.6
GHC 6.12 provides utf8-string, is that involved?
Well, that's really the whole point of my email. Probably very clumsily asked though.
Yes, GHC 6.12 provides utf8-string 0.3.4, neither xmonad-contrib nor haskell-x11-xft rely on any particular version (anything >=0.3 satisfies both). Yet pacman installed haskell-utf8-string (0.3.6). It looks like pacman didn't take into consideration that ghc (the Arch package) provides haskell-utf8-string[1]. In other words, it looks to me like pacman's dependency resolution has a bug. With my usual doubt in my own abilities I was wondering if there isn't a fault in my logic :-)
/M
[1]: http://repos.archlinux.org/wsvn/packages/ghc/repos/extra-x86_64/PKGBUILD
Looking at the packages online it looks like I've missed some version information on the dependencies in pacman's output. So forget the whole thing! ;-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe
participants (2)
-
Don Stewart
-
Magnus Therning