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

Bug 449688

Summary: gnome-extra/libgda-5.1.1 ingoring introspection flag
Product: Gentoo Linux Reporter: nebojsa <nebojsa>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: if introspection USE flag configure with --enable-gda-gi --enable-gdaui-gi
remove typecasting from constant, so g-ir-compiler is happy

Description nebojsa 2013-01-01 20:37:19 UTC
No matter introspection flag, gir files are neither built nor installed.

Reproducible: Always

Steps to Reproduce:
1. USE=introspection emerge =gnome-extra/libgda-5.1.1

Actual Results:  
No Gda-5.0.gir nor Gdaui-5.0.gir files are built



It seems as libgda configure is ignoring enable-introspection flag. If --enable-gda-gi and --enable-gdaui-gi are used, then it tries to build gir files. And failes. Problem seems to be related to >dev-libs/gobject-introspection-1.32 g-ir-compiler, but I didn't verify it. To be able to generate gir files, a small patch is needed (or a propper fix in g-ir-compiler, which seems not able to make difference between void and void* types).
Comment 1 nebojsa 2013-01-01 20:42:06 UTC
Created attachment 333962 [details, diff]
if introspection USE flag configure with --enable-gda-gi --enable-gdaui-gi

needs libgda-5.1.1-gir-workaround.patch
Comment 2 nebojsa 2013-01-01 20:43:41 UTC
Created attachment 333964 [details, diff]
remove typecasting from constant, so g-ir-compiler is happy
Comment 3 Pacho Ramos gentoo-dev 2014-02-09 13:00:23 UTC
With 5.2.2 I see the gir file being installed