Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20141 - [gtk2hs-gtk] 0.11.0-1 is missing dependency on gtk2hs-pango
Attached to Project:
Community Packages
Opened by Gregory D. Weber (gdweber) - Saturday, 10 July 2010, 19:57 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 11 July 2010, 17:57 GMT
Opened by Gregory D. Weber (gdweber) - Saturday, 10 July 2010, 19:57 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 11 July 2010, 17:57 GMT
|
DetailsDescription:
If gtk2hs-pango is not already installed, then # pacman -S gtk2hs-gtk fails because GHC cannot find the pango package. Additional info: 1. Terminal I/O of attempted installation: # pacman -S community/gtk2hs-gtk resolving dependencies... looking for inter-conflicts... Targets (1): gtk2hs-gtk-0.11.0-1 Total Download Size: 0.00 MB Total Installed Size: 46.00 MB Proceed with installation? [Y/n] checking package integrity... (1/1) checking for file conflicts [######################] 100% (1/1) installing gtk2hs-gtk [######################] 100% Reading package info from stdin ... done. gtk-0.11.0: dependency "pango-0.11.0-d05d9f0e9c5b738a67ed0d24e084fb0d" doesn't exist (use --force to override) 2. Although pacman says the package is installed, GHC will not be able to find or use the gtk package. # ghc-pkg list gtk /usr/lib/ghc-6.12.1/package.conf.d [not found] 3. The obvious temporary work-around is to install gtk2hs-pango first. Steps to reproduce: 1. If gtk2hs-pango is installed, remove it: # pacman -R gtk2hs-pango 2. Then try to install gtk2hs-gtk: # pacman -S gtk2hs-gtk |
This task depends upon
Closed by Sergej Pupykin (sergej)
Sunday, 11 July 2010, 17:57 GMT
Reason for closing: Fixed
Additional comments about closing: gtk2hs-{pango,cairo,glib} haskell-mts added
Sunday, 11 July 2010, 17:57 GMT
Reason for closing: Fixed
Additional comments about closing: gtk2hs-{pango,cairo,glib} haskell-mts added
but there is actually more: gtk2hs-gtk should also depend on haskell-mtl
and gtk2hs-cairo. And probably more than that! I believe the safest move
would be to check all the gtk2hs-* packages on Hackage or in their
Cabal files to see which of them depend on each other.
Here's what happened the _first_ time I tried to install
them, all together, along with a few other (irrelevant) packages:
# pacman -S happy alex haskell-zlib \
> gtk2hs-{buildtools,cairo,glib,gtk,pango}
...
( 4/10) installing gtk2hs-buildtools [######################] 100%
( 5/10) installing gtk2hs-cairo [######################] 100%
Reading package info from stdin ... done.
cairo-0.11.0: dependency "mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634" doesn't exist (use --force to override)
( 6/10) installing gtk2hs-glib [######################] 100%
Reading package info from stdin ... done.
( 7/10) installing glib [######################] 100%
( 8/10) installing gtk [######################] 100%
( 9/10) installing gtk2hs-gtk [######################] 100%
Reading package info from stdin ... done.
gtk-0.11.0: dependency "cairo-0.11.0-8ee85d559624d66e22a1dce521b771ce" doesn't exist (use --force to override)
gtk-0.11.0: dependency "mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634" doesn't exist (use --force to override)
gtk-0.11.0: dependency "pango-0.11.0-d05d9f0e9c5b738a67ed0d24e084fb0d" doesn't exist (use --force to override)
(10/10) installing gtk2hs-pango [######################] 100%
Reading package info from stdin ... done.
pango-0.11.0: dependency "cairo-0.11.0-8ee85d559624d66e22a1dce521b771ce" doesn't exist (use --force to override)