Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550446

Summary: Try to detect broken packages after dev-libs/glib downgrade
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: enhancement Keywords: NeedPatch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kobboi 2015-05-26 09:04:28 UTC
* Messages for package x11-libs/gtk+-2.24.28-r1:

 * FAILED postinst: 1
 * ERROR: x11-libs/gtk+-2.24.28-r1::gentoo failed (postinst phase):
 *   Update immodules cache failed (for amd64)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called pkg_postinst
 *   environment, line 3962:  Called multilib_parallel_foreach_abi 'multilib_pkg_postinst'
 *   environment, line 3688:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib_pkg_postinst'
 *   environment, line 3275:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib_pkg_postinst'
 *   environment, line 3273:  Called _multilib_multibuild_wrapper 'multilib_pkg_postinst'
 *   environment, line  768:  Called multilib_pkg_postinst
 *   environment, line 3960:  Called die
 * The specific snippet of code:
 *           gnome2_query_immodules_gtk2 || die "Update immodules cache failed (for ${ABI})"
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/gtk+-2.24.28-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/gtk+-2.24.28-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.24.28-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.24.28-r1/temp/environment'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/x11-libs/gtk+-2.24.28-r1/work/gtk+-2.24.28'


Reproducible: Always
Comment 1 Kobboi 2015-05-26 09:05:48 UTC
What kinda sucks is that there is no build.log in this case? Portage does not log these issues?
Comment 2 Kobboi 2015-05-26 09:19:18 UTC
>>> Installing (1 of 1) x11-libs/gtk+-2.24.28-r1::gentoo
 * abi_x86_32.x86: running multilib_pkg_preinst
 * abi_x86_64.amd64: running multilib_pkg_preinst
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * abi_x86_32.x86: running multilib_pkg_postrm
 * abi_x86_64.amd64: running multilib_pkg_postrm
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * abi_x86_32.x86: running multilib_pkg_postinst
 * abi_x86_64.amd64: running multilib_pkg_postinst
Cannot load module /usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so: GModule (/usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
/usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so does not export GTK+ IM module API: GModule (/usr/lib64/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
Comment 3 Kobboi 2015-05-26 09:19:51 UTC
[I] dev-libs/glib
     Available versions:  
     (1)    1.2.10-r5
     (2)    2.40.2 (~)2.42.1 2.42.2
       {dbus debug fam hardened +mime selinux static-libs systemtap test utils xattr ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux" PYTHON_TARGETS="python2_7"}
     Installed versions:  2.42.2(2)(01:48:16 PM 04/17/2015)(dbus mime -debug -fam -selinux -static-libs -systemtap -test -utils -xattr ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" KERNEL="linux" PYTHON_TARGETS="python2_7")
     Homepage:            http://www.gtk.org/
     Description:         The GLib library of C routines
Comment 4 Kobboi 2015-05-26 09:20:14 UTC
FYI, not running the overlay on this machine
Comment 5 Kobboi 2015-05-26 09:31:04 UTC
Issue disappeared after rebuilding ibus. Note that the previous ibus was very likely built at the time I *was* running the overlay. 

Up to the devs to decide what to do with this, for me it's no longer an issue
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-05-26 12:39:54 UTC
Well, this is why downgrading glib is not recommended, sometimes you have to rebuild almost half of gnome.

Would be useful if we had some tool to scan and determine which half of gnome ;)