[Pkg-vala-maintainers] Bug#707399: gedit-valencia-plugin: FTBFS: GIRepository-2.0.gir:240.11-240.30: error: expected start element of `parameter'

Sebastian Ramacher sramacher at debian.org
Fri May 10 10:57:53 UTC 2013


On 2013-05-09 09:50:00, Lucas Nussbaum wrote:
> Source: gedit-valencia-plugin
> Version: 0.3.0-3.1
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20130509 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > make[1]: Entering directory `/«PKGBUILDDIR»'
> > m4 -DVERSION='0.3.0' valencia.plugin.m4 > valencia.plugin
> > valac  -X --shared -X -fPIC --vapidir=. --pkg gedit --pkg gee-1.0 --pkg gtk+-3.0 --pkg libvala-0.14 --pkg vte-2.90 --pkg gtksourceview-3.0 --pkg PeasGtk-1.0 autocomplete.vala browser.vala expression.vala gtk_util.vala parser.vala program.vala scanner.vala settings.vala util.vala valencia.vala -o libvalencia.so
> > GIRepository-2.0.gir:240.11-240.30: error: expected start element of `parameter'
> >           <instance-parameter name="info1" transfer-ownership="none">
> >           ^^^^^^^^^^^^^^^^^^^^
> > ...

This issue is caused by incompatible versions of g-ir-scanner and valac.
The newer g-ir-scanner now emits instance-paramater elements but valac
does not understand them.

On the valac side, this has been fixed in [1]. Indeed, rebuilding
valac-0.14 with this patch makes the build failure go away. Bringing the
vala maintainers in to the loop and let's see what they think about
that.

Also CCing #707441 since it looks like the same issue. But I haven't
tested it.

Regards

[1] https://git.gnome.org/browse/vala/commit/?id=c755bb4bd3b078363193ea41495e4c9f2782a9d8
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vala-maintainers/attachments/20130510/c1787bed/attachment.pgp>


More information about the Pkg-vala-maintainers mailing list