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 792691 - Wrong gir_version in *.vapi and *-namespace.vala causes folks to fail to build with tracker enabled
Wrong gir_version in *.vapi and *-namespace.vala causes folks to fail to buil...
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2018-01-19 17:46 UTC by Ting-Wei Lan
Modified: 2018-01-27 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vala: Bump gir_version to 2.0 (4.65 KB, patch)
2018-01-19 17:48 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2018-01-19 17:46:25 UTC
The API version of tracker was bumped to 2.0, but gir_version set in *.vapi and *-namespace.vala are still 1.0, which can cause build failure when configuring folks with --enable-tracker-backend:

gmake[4]: Entering directory '/home/lantw44/gnome/source/folks/backends/tracker/lib'
  GICOMP   FolksTracker-0.6.gir
/home/lantw44/gnome/devinstall/share/gir-1.0/Gee-0.8.gir:9:51: warning: element attribute from state 7 is unknown, ignoring
/home/lantw44/gnome/devinstall/share/gir-1.0/Gee-0.8.gir:10:53: warning: element attribute from state 7 is unknown, ignoring
/home/lantw44/gnome/devinstall/share/gir-1.0/Gee-0.8.gir:4503:1: warning: element property from state 24 is unknown, ignoring
/home/lantw44/gnome/devinstall/share/gir-1.0/Gee-0.8.gir:4511:1: warning: element property from state 24 is unknown, ignoring
/home/lantw44/gnome/devinstall/share/gir-1.0/Gee-0.8.gir:4675:1: warning: element property from state 24 is unknown, ignoring
/home/lantw44/gnome/source/folks/folks/Folks-0.6.gir:12:51: warning: element attribute from state 7 is unknown, ignoring
/home/lantw44/gnome/source/folks/folks/Folks-0.6.gir:13:55: warning: element attribute from state 7 is unknown, ignoring
Could not find GIR file 'Tracker-1.0.gir'; check XDG_DATA_DIRS or use --includedir
error parsing file FolksTracker-0.6.gir: Failed to parse included gir Tracker-1.0
gmake[4]: *** [/home/lantw44/gnome/devinstall/share/gobject-introspection-1.0/Makefile.introspection:172: FolksTracker-0.6.typelib] Error 1
Comment 1 Ting-Wei Lan 2018-01-19 17:48:34 UTC
Created attachment 367093 [details] [review]
vala: Bump gir_version to 2.0
Comment 2 Carlos Garnacho 2018-01-26 23:24:51 UTC
Comment on attachment 367093 [details] [review]
vala: Bump gir_version to 2.0

Ugh :(. Looks good, thanks for noticing.
Comment 3 Ting-Wei Lan 2018-01-27 08:56:33 UTC
Attachment 367093 [details] pushed as 331472c - vala: Bump gir_version to 2.0