Bug 4477

Summary: bitbake -u depexp gives warnings
Product: [Build System, Metadata & Runtime] BitBake Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: bitbakeAssignee: Ross Burton <ross.burton>
Status: VERIFIED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: gary, poky.bs.watcher, poky.watcher, sgw
Version: 1.5   
Target Milestone: 1.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Patch to clean up GTK registration errors none

Description Stoicescu Cornel 2013-05-09 14:19:18 UTC
master:814d89bcbacb559775ad1b46f2163eaa7fae7f34

# bitbake -u depexp

or

# bitbake -u depexp -g man

Notice warnings:

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

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

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


Note: The command(Dependency Explorer) seems to work correctly.
Comment 1 Gary Thomas 2013-05-20 13:45:01 UTC
This is an error in your host (native) pygobject library and does not happen on all development hosts.

What is your development host?  The problem does not appear on Fedora (13,16) nor Ubuntu (12.04, 12.10)
Comment 2 Stoicescu Cornel 2013-05-20 13:59:53 UTC
Here is my environment:

[cornel@NODE3 build]$ uname -a
Linux NODE3 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Comment 3 Richard Purdie 2013-05-24 15:05:00 UTC
Ross, I'm assuming this is the host pygobject and there is nothing we can do about this? If so, its probably a CANTFIX (WONTFIX) ?
Comment 4 Ross Burton 2013-05-24 15:09:20 UTC
Yes, this is host pygobject (the gio bit) so there's nothing we can do.
Comment 5 Gary Thomas 2013-05-24 15:14:22 UTC
If you know where to push the changes, I have a patch that fixes this (attached)
Comment 6 Gary Thomas 2013-05-24 15:15:28 UTC
Created attachment 1224 [details]
Patch to clean up GTK registration errors
Comment 7 Ross Burton 2013-05-24 15:20:14 UTC
You were beat to it last year:

https://git.gnome.org/browse/pygobject/commit/gio/gio-types.defs?h=pygobject-2-28&id=42d01f060c5d764baa881d13c103d68897163a49

Sadly still not in a tarball release yet, someone should prod them to make a finaly 2.28.x release with these fixes in.
Comment 8 Stoicescu Cornel 2013-10-01 14:17:37 UTC
Latest Fedora version (Fedora 19) has "gnome-session 3.8.4" that does not reproduce this bug.