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 656842 - unknown child elements prevent compilation with jhbuild
unknown child elements prevent compilation with jhbuild
Status: RESOLVED DUPLICATE of bug 657586
Product: libpeas
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-18 18:15 UTC by chernoff
Modified: 2011-08-30 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description chernoff 2011-08-18 18:15:44 UTC
compilation problems for functions and identifiers:

build_path     g_module_build_path
error          g_module_error
supported      g_module_supported
error_quark    peas_plugin_info_error_quark


Full terminal listing from jhbuild follows


*** Building libpeas *** [133/214]
make  
make  all-recursive
make[1]: Entering directory `/home/dfc/checkout/gnome/libpeas'
Making all in libpeas
make[2]: Entering directory `/home/dfc/checkout/gnome/libpeas/libpeas'
  GEN    peas-marshal.c
  GEN    peas-marshal.h
make  all-am
make[3]: Entering directory `/home/dfc/checkout/gnome/libpeas/libpeas'
  CC     peas-marshal.lo
  CC     peas-activatable.lo
  CC     peas-debug.lo
  CC     peas-dirs.lo
  CC     peas-engine.lo
  CC     peas-extension.lo
  CC     peas-extension-base.lo
  CC     peas-extension-set.lo
  CC     peas-extension-wrapper.lo
  CC     peas-extension-subclasses.lo
  CC     peas-helpers.lo
  CC     peas-i18n.lo
  CC     peas-introspection.lo
  CC     peas-object-module.lo
  CC     peas-plugin-info.lo
  CC     peas-plugin-loader.lo
  CCLD   libpeas-1.0.la
  GISCAN Peas-1.0.gir
peas-extension.c:190: Warning: Peas: peas_extension_callv: argument args: Unresolved type: 'GIArgument*'
peas-extension.c:190: Warning: Peas: peas_extension_callv: argument return_value: Unresolved type: 'GIArgument*'
peas-extension-set.c:544: Warning: Peas: peas_extension_set_callv: argument args: Unresolved type: 'GIArgument*'
  GICOMP Peas-1.0.gir
make[3]: Leaving directory `/home/dfc/checkout/gnome/libpeas/libpeas'
make[2]: Leaving directory `/home/dfc/checkout/gnome/libpeas/libpeas'
Making all in loaders
make[2]: Entering directory `/home/dfc/checkout/gnome/libpeas/loaders'
Making all in c
make[3]: Entering directory `/home/dfc/checkout/gnome/libpeas/loaders/c'
  CC     peas-plugin-loader-c.lo
  CCLD   libcloader.la
make[3]: Leaving directory `/home/dfc/checkout/gnome/libpeas/loaders/c'
Making all in python
make[3]: Entering directory `/home/dfc/checkout/gnome/libpeas/loaders/python'
  CC     peas-extension-python.lo
  CC     peas-plugin-loader-python.lo
peas-plugin-loader-python.c:55:18: warning: 'PyGObject_Type' defined but not used
  CCLD   libpythonloader.la
make[3]: Leaving directory `/home/dfc/checkout/gnome/libpeas/loaders/python'
make[3]: Entering directory `/home/dfc/checkout/gnome/libpeas/loaders'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dfc/checkout/gnome/libpeas/loaders'
make[2]: Leaving directory `/home/dfc/checkout/gnome/libpeas/loaders'
Making all in libpeas-gtk
make[2]: Entering directory `/home/dfc/checkout/gnome/libpeas/libpeas-gtk'
  CC     peas-gtk-configurable.lo
  CC     peas-gtk-disable-plugins-dialog.lo
  CC     peas-gtk-plugin-manager.lo
  CC     peas-gtk-plugin-manager-store.lo
  CC     peas-gtk-plugin-manager-view.lo
  CCLD   libpeas-gtk-1.0.la
  GISCAN PeasGtk-1.0.gir
  GICOMP PeasGtk-1.0.gir
make[2]: Leaving directory `/home/dfc/checkout/gnome/libpeas/libpeas-gtk'
Making all in peas-demo
make[2]: Entering directory `/home/dfc/checkout/gnome/libpeas/peas-demo'
Making all in plugins
make[3]: Entering directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins'
Making all in helloworld
make[4]: Entering directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/helloworld'
  CC     peasdemo-hello-world-plugin.lo
  CC     peasdemo-hello-world-configurable.lo
  CCLD   libhelloworld.la
make[4]: Leaving directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/helloworld'
Making all in secondtime
make[4]: Entering directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/secondtime'
  CC     second-time.lo
  CCLD   libsecondtime.la
make[4]: Leaving directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/secondtime'
Making all in pythonhello
make[4]: Entering directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/pythonhello'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/pythonhello'
Making all in valahello
make[4]: Entering directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/valahello'
  VALAC  libvalahello_la_vala.stamp
GModule-2.0.gir:46.7-46.66: error: unknown child element `function' in `class'
      <function name="build_path" c:identifier="g_module_build_path">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GModule-2.0.gir:59.7-59.46: error: unknown child element `function' in `class'
      <function name="error" c:identifier="g_module_error">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GModule-2.0.gir:77.7-77.62: error: unknown child element `function' in `class'
      <function name="supported" c:identifier="g_module_supported">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Peas-1.0.gir:1542.7-1542.86: error: unknown child element `function' in `class'
      <function name="error_quark" c:identifier="peas_plugin_info_error_quark">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 4 error(s), 0 warning(s)
make[4]: *** [libvalahello_la_vala.stamp] Error 1
make[4]: Leaving directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins/valahello'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dfc/checkout/gnome/libpeas/peas-demo/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dfc/checkout/gnome/libpeas/peas-demo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dfc/checkout/gnome/libpeas'
make: *** [all] Error 2
*** Error during phase build of libpeas: ########## Error running make   *** [133/214]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice:
Comment 1 Garrett Regier 2011-08-28 22:11:54 UTC
I just checked with Vala from git and cannot reproduce this, it might be that your Vala install is borked given the error regarding GModule functions.
Comment 2 chernoff 2011-08-30 02:03:30 UTC
I tried again; completely clean download; still fails but for different reasons:

*** Building libpeas *** [132/214]
make  
make  all-recursive
make[1]: Entering directory `/home/dfc/checkout/gnome/libpeas'
Making all in libpeas
make[2]: Entering directory `/home/dfc/checkout/gnome/libpeas/libpeas'
  GEN    peas-marshal.c
  GEN    peas-marshal.h
make  all-am
make[3]: Entering directory `/home/dfc/checkout/gnome/libpeas/libpeas'
  CC     peas-marshal.lo
  CC     peas-activatable.lo
  CC     peas-debug.lo
  CC     peas-dirs.lo
  CC     peas-engine.lo
  CC     peas-extension.lo
  CC     peas-extension-base.lo
  CC     peas-extension-set.lo
  CC     peas-extension-wrapper.lo
  CC     peas-extension-subclasses.lo
  CC     peas-helpers.lo
  CC     peas-i18n.lo
  CC     peas-introspection.lo
  CC     peas-object-module.lo
  CC     peas-plugin-info.lo
  CC     peas-plugin-loader.lo
  CCLD   libpeas-1.0.la
  GISCAN Peas-1.0.gir
<unknown>:: Fatal: Peas: Skipping foreign identifier 'GObject' from namespace GModule

make[3]: *** [Peas-1.0.gir] Error 1
make[3]: Leaving directory `/home/dfc/checkout/gnome/libpeas/libpeas'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dfc/checkout/gnome/libpeas/libpeas'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dfc/checkout/gnome/libpeas'
make: *** [all] Error 2
Comment 3 Garrett Regier 2011-08-30 02:16:10 UTC
Yes that is due to https://bugzilla.gnome.org/show_bug.cgi?id=657586 which seems to be a bug in gobject-introspection. If you git revert --hard HEAD^ past that commit then libpeas will build again.
Comment 4 Steve Frécinaux 2011-08-30 20:49:12 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 657586 ***