Bug 49637 - build failure: TelepathyGLib-0.12.gir:: error: too few type arguments GLib.List GList
Summary: build failure: TelepathyGLib-0.12.gir:: error: too few type arguments GLib.Li...
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: git master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 05:43 UTC by Craig Keogh
Modified: 2012-05-11 07:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Craig Keogh 2012-05-08 05:43:37 UTC
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
Comment 1 Simon McVittie 2012-05-09 10:08:52 UTC
(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">
Comment 2 Craig Keogh 2012-05-10 05:13:52 UTC
(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
Comment 3 Simon McVittie 2012-05-11 07:52:35 UTC
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.