After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616559 - [libpeas] Build fails with introspection enabled
[libpeas] Build fails with introspection enabled
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-22 20:12 UTC by Łukasz Jernaś
Modified: 2010-04-22 21:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix build with itnrospection enabled (824 bytes, patch)
2010-04-22 20:45 UTC, Łukasz Jernaś
committed Details | Review

Description Łukasz Jernaś 2010-04-22 20:12:31 UTC
When I try to build libpeas with introspection enabled I get

Making all in libpeasui
make[2]: Entering directory `/home/deejay1/PRACA/GNOME/libpeas/libpeasui'
  GEN    PeasUI-2.0.typelib
Error at line 18, character 39: Could not find GIR file 'Peas-2.0.gir'; check XDG_DATA_DIRS or use --includedir
--- BACKTRACE (9 frames) ---
/usr/bin/g-ir-compiler() [0x40925c]
/usr/bin/g-ir-compiler() [0x40d57c]
/lib/libglib-2.0.so.0(+0x45122) [0x2ae7acbcd122]
/lib/libglib-2.0.so.0(g_markup_parse_context_parse+0x1059) [0x2ae7acbceb49]
/usr/bin/g-ir-compiler(g_ir_parser_parse_string+0x170) [0x408f60]
/usr/bin/g-ir-compiler(g_ir_parser_parse_file+0xf6) [0x4090c6]
/usr/bin/g-ir-compiler(main+0x183) [0x4038d3]
/lib/libc.so.6(__libc_start_main+0xfd) [0x2ae7ad4adc4d]
/usr/bin/g-ir-compiler() [0x403689]
--- END BACKTRACE ---
error parsing file PeasUI-2.0.gir: Could not find GIR file 'Peas-2.0.gir'; check XDG_DATA_DIRS or use --includedir
make[2]: *** [PeasUI-2.0.typelib] Error 1
make[2]: Leaving directory `/home/deejay1/PRACA/GNOME/libpeas/libpeasui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/deejay1/PRACA/GNOME/libpeas'
make: *** [all] Error 2
Comment 1 Łukasz Jernaś 2010-04-22 20:45:37 UTC
Created attachment 159361 [details] [review]
Fix build with itnrospection enabled

The attached patch should fix the build for this bug
Comment 2 Steve Frécinaux 2010-04-22 21:32:53 UTC
Thank you for your patch!