Error at line 14, character 40: Could not find GIR file 'Pango-1.0.gir'; check XDG_DATA_DIRS or use --includedir --- BACKTRACE (9 frames) --- /usr/bin/g-ir-compiler() [0x408d3c] /usr/bin/g-ir-compiler() [0x40d246] /usr/lib/libglib-2.0.so.0(+0x41aea) [0x2b3c0a546aea] /usr/lib/libglib-2.0.so.0(g_markup_parse_context_parse+0x1096) [0x2b3c0a548576] /usr/bin/g-ir-compiler(g_ir_parser_parse_string+0x126) [0x408a06] /usr/bin/g-ir-compiler(g_ir_parser_parse_file+0xf6) [0x408b76] /usr/bin/g-ir-compiler(main+0x185) [0x403445] /lib/libc.so.6(__libc_start_main+0xfd) [0x2b3c0aa15bbd] /usr/bin/g-ir-compiler() [0x4031c9] --- END BACKTRACE --- error parsing file Gdk-2.0.gir: Could not find GIR file 'Pango-1.0.gir'; check XDG_DATA_DIRS or use --includedir make[4]: *** [Gdk-2.0.typelib] Error 1
Forced Pango to build *with* introspection, gets funkier: Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 38, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 277, in scanner_main transformer.register_include(include_obj) File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 111, in register_include filename = self._find_include(include) File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 129, in _find_include % (girname, searchdirs)) ValueError: Couldn't find include 'Atk-1.0.gir' (search path: ['../gdk-pixbuf', '../gdk', '/usr/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/kde/3.5/share/gir-1.0', '/usr/local/xine-lib-1.2/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']) make[4]: *** [Gtk-2.0.gir] Error 1 make[4]: *** Waiting for unfinished jobs....
One --disable-introspection later it installed fine. On the other hand it might be the right time to start introducing USE flags around… probably masked at first would be the best idea…
Well, even if it worked and generated the .gir properly, it would end up colliding with gir-repository[gtk] :S
And we cannot disable Gtk-2.0.gir generation in gir-repository because it'll break generation of Notify-0.4.gir, gtksourceview, etc. Looks like I'll have to do major surgery on gir-repository.
Hmm.. my bad, when I tested the ebuild, introspection didn't get enabled because we still had 0.6.5. I also fixed similar problem with dev-libs/atk.
Closing per previous comment, thanks plaes!