I am building telepathy-glib git master via JHBuild on Fedora 16. The build fails with: Making all in vala make[2]: Entering directory `/home/oxyde/gnome/build/telepathy-glib/vala' /opt/gnome/bin/vapigen \ --library telepathy-glib \ --pkg gio-2.0 \ ../telepathy-glib/TelepathyGLib-0.12.gir \ TelepathyGLib-0.12.gir:20.37-20.37: error: too few type arguments <type name="GLib.List" c:type="GList"/> ^ TelepathyGLib-0.12.gir:23.37-23.37: error: too few type arguments <type name="GLib.List" c:type="GList"/> ^ Generation failed: 2 error(s), 0 warning(s) make[2]: *** [telepathy-glib.vapi] Error 1 make[2]: Leaving directory `/home/oxyde/gnome/build/telepathy-glib/vala' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/oxyde/gnome/build/telepathy-glib' make: *** [all] Error 2
(In reply to comment #0) > I am building telepathy-glib git master via JHBuild on Fedora 16. What version of vapigen is that? (/opt/gnome/bin/vapigen --version) With telepathy-glib master (close to 0.19.0) on Debian, and vapigen 0.14.2, I get a different error: TelepathyGLib-0.12.gir:27672.34-27672.34: error: The type name `GLib.Bytes' could not be found <type name="GLib.Bytes"/> ^ although my /usr/share/gir-1.0/GLib-2.0.gir does indeed have <record name="Bytes" c:type="GBytes" version="2.32" glib:type-name="GBytes" glib:get-type="g_bytes_get_type" c:symbol-prefix="bytes">
(In reply to comment #1) > What version of vapigen is that? (/opt/gnome/bin/vapigen --version) Vala from git. # /opt/gnome/bin/vapigen --version Vala API Generator 0.17.0.11-1ac3a
Fixed in git for 0.19.1 via a patch from Ray Strode.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.