Bug 2698 - [Hob] pk-gtk-module fails to load on fedora 17
Summary: [Hob] pk-gtk-module fails to load on fedora 17
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2.2
Assignee: Cristiana Voicu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-05 06:31 UTC by Jiajun Xu
Modified: 2012-08-30 15:29 UTC (History)
12 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2012-07-05 06:31:46 UTC
tree/branch: poky/denzil
commit: 73cdebf60df225ee10f2eb215935be3b61e1b831

With the denzil branch on Fedora 17, Hob launch will cause an error and a lot of warning messages, which is caused no gtk-2.0 installed on Fedora 17.

The error messge as below:
############

** (process:11878): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:11878): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:11878): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Gtk-Message: Failed to load module "pk-gtk-module"
############

libpk-gtk-module.so is installed on /usr/lib64/gtk-3.0/modules/libpk-gtk-module.so, meanwhile hob will only check /usr/lib64/gtk-2.0
Comment 1 Saul Wold 2012-07-05 17:58:46 UTC
Does this fail on 1.3 also?
Comment 2 Shane Wang 2012-07-06 00:36:01 UTC
Cristi, I think you can follow https://bugzilla.yoctoproject.org/show_bug.cgi?id=2207 to fix it, which is Hob can't run on CentOS 6.2.

I also suspect the following errors Jiajun saw can't be caught by the commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e5a63fd66b7855e0c9cafb788d95294e1b06ba58.
Comment 3 Jiajun Xu 2012-07-06 01:11:41 UTC
(In reply to comment #1)
> Does this fail on 1.3 also?

Yes.
Comment 4 Cristian Iorga 2012-08-30 13:46:08 UTC
QA: Please test this issue.
Update the bug accordingly based on the result.
In both cases(works or still reproducible), can QA provide a log of Hob start?

Thanks,
Cristian
Comment 5 Stefan Stanacar 2012-08-30 14:00:34 UTC
I can't reproduce this on F17. (it's un up-to-date Fedora install) and I belive it's an upstream issue https://bugzilla.redhat.com/show_bug.cgi?id=790053 

Tested with commit 73cdebf60df225ee10f2eb215935be3b61e1b831 and current 1.3 master bb0aab79e488a99cb1b43f72f0e8ddbe39d97519
Comment 6 Stefan Stanacar 2012-08-30 15:28:13 UTC
Now I'm sure this is an upstream issue
After I've downgraded pygobject2.x86_64 2.28.6-5.fc17 to 2.28.6-3.fc17 I do get those warnings:

** (process:3553): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:3553): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:3553): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'


Marked as fixed.
Comment 7 Stefan Stanacar 2012-08-30 15:29:02 UTC
Mark as verified.