Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491500 - dev-haskell/gtk-0.12.0 has insufficient dependency specs
Summary: dev-haskell/gtk-0.12.0 has insufficient dependency specs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-17 12:32 UTC by Andreas K. Hüttel
Modified: 2014-01-11 15:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2013-11-17 12:32:10 UTC
on emerge -uDNav --with-bdeps world ...


[32;01m * [39;49;00mPackage:    dev-haskell/gtk-0.12.0
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: haskell@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc gio kernel_linux multilib userland_GNU
[32;01m * [39;49;00mFEATURES:   compressdebug fakeroot preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gtk-0.12.0.tar.gz to /var/tmp/portage/dev-haskell/gtk-0.12.0/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/gtk-0.12.0/work
>>> Preparing source in /var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0 ...
 [32;01m*[0m Applying gtk-0.12.0-ghc-7.2.patch ...
[A[181C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying gtk-0.12.3-glib-2.32.patch ...
[A[181C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0 ...
 [32;01m*[0m Using cabal-1.16.0.
 [32;01m*[0m Prepending /usr/lib64/ghc-7.6.3 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.16.0 --make /var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0/Setup.hs -dynamic -o setup

Gtk2HsSetup.hs:25:2:
     warning: #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command) [-Wcpp]
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( /var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0/Setup.hs, /var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=gtk-0.12.0/ghc-7.6.3 --datadir=/usr/share/ --datasubdir=gtk-0.12.0/ghc-7.6.3 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--hash-style=gnu --disable-executable-stripping --docdir=/usr/share/doc/gtk-0.12.0 --verbose --flags=deprecated --flags=have-gio
Configuring gtk-0.12.0...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13,
gio >=0.12.0 && <0.13,
glib >=0.12.0 && <0.13,
pango >=0.12.0 && <0.13
 [31;01m*[0m Detected outdated packages: dev-haskell/glade:2 dev-haskell/cairo:2 dev-haskell/gtk2hs-buildtools:2 dev-haskell/gio:2 dev-haskell/deepseq:0 dev-haskell/pango:2 dev-haskell/gtk:2 dev-haskell/parsec:0 dev-haskell/glib:2 dev-util/bustle:0
 [31;01m*[0m ERROR: dev-haskell/gtk-0.12.0::gentoo failed (configure phase):
 [31;01m*[0m   //==-- Please, run 'haskell-updater' to fix outdated packages --==//
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   93:  Called src_configure
 [31;01m*[0m   environment, line 2965:  Called cabal_src_configure '--flags=deprecated' '--flags=have-gio'
 [31;01m*[0m   environment, line  766:  Called haskell-cabal_src_configure '--flags=deprecated' '--flags=have-gio'
 [31;01m*[0m   environment, line 2276:  Called cabal-configure '--flags=deprecated' '--flags=have-gio'
 [31;01m*[0m   environment, line  601:  Called cabal-show-brokens-and-die 'setup configure failed'
 [31;01m*[0m   environment, line  672:  Called cabal-show-old
 [31;01m*[0m   environment, line  677:  Called cabal-die-if-nonempty 'outdated' 'dev-haskell/glade:2' 'dev-haskell/cairo:2' 'dev-haskell/gtk2hs-buildtools:2' 'dev-haskell/gio:2' 'dev-haskell/deepseq:0' 'dev-haskell/pango:2' 'dev-haskell/gtk:2' 'dev-haskell/parsec:0' 'dev-haskell/glib:2' 'dev-util/bustle:0'
 [31;01m*[0m   environment, line  617:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-haskell/gtk-0.12.0::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-haskell/gtk-0.12.0::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-haskell/gtk-0.12.0:20131117-121522.log.gz'.
 [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/gtk-0.12.0/temp/build.log.gz'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-haskell/gtk-0.12.0/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0'
 [31;01m*[0m S: '/var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0'
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2013-11-17 18:46:08 UTC
> Configuring gtk-0.12.0...
> setup: At least the following dependencies are missing:
> cairo >=0.12.0 && <0.13,
> gio >=0.12.0 && <0.13,
> glib >=0.12.0 && <0.13,
> pango >=0.12.0 && <0.13
>  [31;01m*[0m Detected outdated packages: dev-haskell/glade:2
> dev-haskell/cairo:2 dev-haskell/gtk2hs-buildtools:2 dev-haskell/gio:2
> dev-haskell/deepseq:0 dev-haskell/pango:2 dev-haskell/gtk:2
>  dev-haskell/parsec:0 dev-haskell/glib:2 dev-util/bustle:0
>  [31;01m*[0m ERROR: dev-haskell/gtk-0.12.0::gentoo failed (configure phase):
>  [31;01m*[0m   //==-- Please, run 'haskell-updater' to fix outdated packages --==//

It's usually a sign, that dev-haskell/{cairo,gio,glib,pango} were built with previous
version of ghc (not the one currently installed). It's a requirement to run 'haskell-updater'
to fix such packages (we force rebuilds with subslots nowadays, but it does not always help: #bug 449094).

Does running 'haskell-updater' restore system state for you?