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 781720 - can't build vala bindings, version 0.49.1
can't build vala bindings, version 0.49.1
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-25 13:59 UTC by Cynede
Modified: 2017-04-26 10:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cynede 2017-04-25 13:59:08 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
Comment 1 Egmont Koblinger 2017-04-25 14:36:48 UTC
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?)
Comment 2 Christian Persch 2017-04-25 16:14:17 UTC
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.
Comment 3 Cynede 2017-04-26 06:48:37 UTC
full build log https://paste.pound-python.org/show/zkTKDcaySDFa4wbKW3s6/
Comment 4 Christian Persch 2017-04-26 09:24:21 UTC
Should be fixed on master and 0-48.
Comment 5 Cynede 2017-04-26 10:30:33 UTC
thank you, will there be correcting release?
Comment 6 Christian Persch 2017-04-26 10:34:17 UTC
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.