GNOME Bugzilla – Bug 781720
can't build vala bindings, version 0.49.1
Last modified: 2017-04-26 10:34:17 UTC
Generation succeeded - 0 warning(s) rm -f vte_2_91_vala.stamp && echo stamp > vte_2_91_vala.stamp-t CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac-0.34 --target-glib=2.38 --pkg=posix --pkg=gio-2.0 --pkg=gtk+-3.0 --gresources app.gresource.xml -C app.vala config.vapi ./vte-2.91.vapi app.vala:980.5-1054.6: warning: the modifier `static' is not applicable to constants app.vala:632.23-632.52: error: Vte.Terminal.hyperlink_check_event is not available in vte-2.91 0.48.2. Use vte-2.91 >= 0.50 var hyperlink = terminal.hyperlink_check_event(event); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ app.vala:327.5-327.32: error: Vte.Terminal.set_allow_hyperlink is not available in vte-2.91 0.48.2. Use vte-2.91 >= 0.50 terminal.set_allow_hyperlink(!App.Options.no_hyperlink); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ app.vala:399.17-399.41: warning: Vte.Terminal.match_add_gregex has been deprecated since 0.46 app.vala:454.11-454.29: warning: Vte.Terminal.spawn_sync has been deprecated since 0.48 app.vala:1088.7-1088.34: warning: Gdk.Window.set_debug_updates has been deprecated since 3.22 app.vala:156.7-156.32: warning: Vte.Terminal.search_set_gregex has been deprecated since 0.46
Hmmm... these methods are annotated as being supported since 0.50, but actually are supported since 0.49.1. (In such annotations we don't care about devel versions.) I'm wondering though where it takes 0.48.2 from. Is that your system version? Does it try to build the vala app against the installed vte rather than the just-compiled one?? Weird, but could be the reason. Could you please show us the exact steps you make? (E.g. are you building out of srcdir?)
From configure.ac: if test "$enable_test_application" = "yes"; then PKG_CHECK_MODULES([GTK_3_16],[gtk+-$GTK_API_VERSION >= 3.16],[have_gtk_3_16=ye s],[have_gtk_3_16=no]) AM_PROG_VALAC([0.31.1],[have_vala_0_31=yes],[have_vala_0_31=no]) else have_gtk_3_16=no have_vala_0_31=no fi What's the result of this check for vala 0.31.1 ? It should succeed since you have 0.34.
full build log https://paste.pound-python.org/show/zkTKDcaySDFa4wbKW3s6/
Should be fixed on master and 0-48.
thank you, will there be correcting release?
I don't think this requires an immediate release. 0-48 will be released on schedule for gnome 3.24.2, and master as 0.49.x when warranted.