GNOME Bugzilla – Bug 782745
Build failure of vapi bindings (xmlDocPtr ~> xmlDoc *)
Last modified: 2017-05-18 06:56:45 UTC
EDS is failing to build in Continuous with this error: [944/947] Generating libedataserver-1.2.vapi FAILED: src/vala/libedataserver-1.2.vapi cd /ostbuild/source/evolution-data-server/_build/src/vala && /usr/bin/vapigen --vapidir=/ostbuild/source/evolution-data-server/src/vala --vapidir=/ostbuild/source/evolution-data-server/_build/src/vala --girdir=/ostbuild/source/evolution-data-server/_build/src/camel --girdir=/ostbuild/source/evolution-data-server/_build/src/libedataserver --pkg gio-2.0 --pkg libxml-2.0 --pkg libsoup-2.4 --pkg posix --library libedataserver-1.2 --metadatadir=/ostbuild/source/evolution-data-server/src/vala /ostbuild/source/evolution-data-server/_build/src/libedataserver/EDataServer-1.2.gir EDataServer-1.2.gir:20402.63-20402.63: error: The type name `Xml.DocPtr' could not be found <type name="libxml2.DocPtr" c:type="xmlDocPtr*"/> ^ EDataServer-1.2.gir:21832.59-21832.59: error: The type name `Xml.DocPtr' could not be found <type name="libxml2.DocPtr" c:type="xmlDocPtr"/> ^ Generation failed: 2 error(s), 0 warning(s) I've tagged the build to commit 75804db35d46b2242a56a462cef24e89c380ca72 in the Continuous manifest.
Thanks for a bug report. I failed to verify this part, of course. Thanks to ricotz, whom told me that vala doesn't know xmlDocPtr, only "xmlDoc *", I renamed the types in the public API and it made it work. Created commit 5e51898 in eds master (3.25.2+)