Bug 1159684

Summary: firefox 31 rpm does not have minimum required version on gtk2 dependency
Product: Red Hat Enterprise Linux 6 Reporter: bizniz.nonaya
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: bizniz.nonaya, jwright, mkolbas, philwyett.vendetta, stransky, tpelka, vorpal, woodard
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: firefox-31.3.0-1.el6_6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-16 14:52:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1159926    

Description bizniz.nonaya 2014-11-03 01:42:49 UTC
Description of problem:
updating firefox to version 31 on EL 6.5 (without first updating everything),
firefox fails to start because of undef symbol from gtk2

Version-Release number of selected component (if applicable):
firefox-31.2.0-3

How reproducible:
100%

Steps to Reproduce:
1. Install EL 6.5
2. yum update firefox (to version 31)
3. run firefox

Actual results:
$ firefox
        Xlib:  extension "RANDR" missing on display ":0.0".  
        /usr/lib64/firefox/firefox: symbol lookup error: 
        /usr/lib64/firefox/libxul.so: undefined symbol: gdk_window_get_visual

Expected results:
firefox should require version >= 2.24 of gtk2 library.
GNOME clearly indicates this symbol requires GTK2 version 2.24:

https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#gdk-window-get-visual
        gdk_window_get_visual()
        Since 2.24

Additional info:

to resolve problem, I updated the world:
$ sudo yum update

here is a trail of findind the required dependency (after updating the world):

$ rpm -q firefox
        firefox-31.2.0-3.el6.x86_64
$ rpm -q --whatprovides /usr/lib64/firefox/libxul.so
        firefox-31.2.0-3.el6.x86_64
$ nm -Do /usr/lib/libgdk* | grep gdk_window_get_visual
        /usr/lib/libgdk-x11-2.0.so:00a257b0 T gdk_window_get_visual
        /usr/lib/libgdk-x11-2.0.so.0:00a257b0 T gdk_window_get_visual
        /usr/lib/libgdk-x11-2.0.so.0.2400.23:00a257b0 T gdk_window_get_visual
$ rpm -q --whatprovides /usr/lib/libgdk-x11-2.0.so.0.2400.23
        gtk2-2.24.23-6.el6.i686

Inspecting the spec file in the source RPM reveals the gtk2 dependency does not include any minimum version.

Comment 4 BugMasta 2014-11-12 00:18:13 UTC
Weak.

Comment 5 BugMasta 2014-11-18 02:18:15 UTC
So sick of this:
"You are not authorized to access bug #1159926.
Most likely the bug has been restricted for internal development processes and we cannot grant access."

Here we have a bug in Red Hat's rpms for firefox (an open source product), relating to dependencies on gtk2 (another open source product).

And somehow this bug is blocked by another bug (#1159926) which cannot be accessed. So we can't even see what's blocking this.

Way to go, Red Hat!

Comment 6 Martin Stransky 2014-12-16 14:52:23 UTC
Fixed in firefox-31.3.0-1.el6_6, released on Dec 02 2014.