regression - ia32-libs gtk does not find 32bit engines

Bug #364074 reported by Alexander Sack
66
This bug affects 12 people
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Medium
Loïc Minier
Jaunty
Won't Fix
Undecided
Loïc Minier
ia32-libs (Ubuntu)
Fix Released
High
Alexander Sack
Jaunty
Fix Released
High
Alexander Sack

Bug Description

Binary package hint: ia32-libs

when starting firefox 32 bit you see:

(firefox-bin:21161): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

on command line with latest ia32-libs (2.7ubuntu5); with 2.7ubuntu4 this didnt happen.

Related branches

Revision history for this message
Alexander Sack (asac) wrote :

seems that this regression was introduced on gtk side: latest upload builds with --host=i686... and not i486; the fix on ia32-libs side is trivial and involves just shipping the proper link.

Changed in ia32-libs (Ubuntu):
assignee: nobody → Alexander Sack (asac)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Alexander Sack (asac) wrote :

adding gtk+2.0 ... leaving importance untouched until we know about the impact

Changed in gtk+2.0 (Ubuntu):
status: New → Triaged
Changed in gtk+2.0 (Ubuntu Jaunty):
assignee: nobody → Loïc Minier (lool)
Revision history for this message
Alexander Sack (asac) wrote :

ia32-libs_2.7ubuntu6_source.changes uploaded to jaunty

Changed in ia32-libs (Ubuntu Jaunty):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ia32-libs - 2.7ubuntu6

---------------
ia32-libs (2.7ubuntu6) jaunty; urgency=low

  * debian/rules: gtk+2.0 has a bug in jaunty that builds it with
    --host=i686-pc-linux-gnu; to mitigate this we ship a
    /usr/lib/gtk-2.0/2.10.0/i686-pc-linux-gnu link instead of the i486 one
    previously used; this change should be reverted in karmic (LP: #364074)

 -- Alexander Sack <email address hidden> Mon, 20 Apr 2009 11:58:42 +0000

Changed in ia32-libs (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Alexander Sack (asac) wrote :

workaround has landed in ia32-libs; untargetting gtk; obviously will be fixed in karmic still.

Changed in gtk+2.0 (Ubuntu Jaunty):
status: Triaged → Won't Fix
Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Miles Lane (miles-lane) wrote :

I am still seeing this with a brand new install of 9.04 yesterday and then all updates applied as of this morning.
$ ./acroread
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiogconf.so
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 364074] Re: regression - ia32-libs gtk does not find 32bit engines

On Wed, Apr 29, 2009 at 06:53:48PM -0000, Miles Lane wrote:
> I am still seeing this with a brand new install of 9.04 yesterday and then all updates applied as of this morning.
> $ ./acroread
> Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
> /usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
> Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
> /usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64

modules are a separate issue that isnt covered by this regression bug
... modules never worked properly; if you open a new bug i would be
happy to drive for a fix for that.

 - Alexander

Revision history for this message
Bill Smith (sememmon2) wrote :

I updated to 9.04 this morning. I've 2.7ubuntu6 of ia32-libs installed but receive this error when starting firefox:

Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
*** stack smashing detected ***: /usr/lib/nspluginwrapper/i386/linux/npviewer.bin terminated

Is this at all related to https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/369123 ?

Revision history for this message
Fabien Tassin (fta) wrote :
Revision history for this message
Loïc Minier (lool) wrote :

Fixed in karmic some time ago:

gtk+2.0 (2.16.1-0ubuntu3) karmic; urgency=low

  * Add missing backslash after --enable-print-backend which cause the --host
    and --build args to be ignored and hence the wrong triplet to be used.

 -- Loic Minier <email address hidden> Sun, 10 May 2009 19:34:06 +0200

Changed in gtk+2.0 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
trendzetter (trendzetter) wrote :

I have a fresh installation of Karmic and libgtk2.0 2.17.11-1ubuntu1 and I still get:
$ ./Together
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiogconf.so
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
joris@ubuntu:~/Borland/Together/eclipse$

Revision history for this message
SheeEttin (sheeettin) wrote :

Getting this error in Natty with Firefox 4.0b10 (from repos). Is this actually a bug?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.