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 782745 - Build failure of vapi bindings (xmlDocPtr ~> xmlDoc *)
Build failure of vapi bindings (xmlDocPtr ~> xmlDoc *)
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
3.25.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-05-17 14:26 UTC by Emmanuele Bassi (:ebassi)
Modified: 2017-05-18 06:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuele Bassi (:ebassi) 2017-05-17 14:26:13 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.
Comment 1 Milan Crha 2017-05-18 06:56:45 UTC
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+)