On 23/12/2018 21:29, spiky0011 via blfs-dev wrote:
> I get an error building vte-0.54.2, I tried on my old build and it failed, but
> I did upgrade alot of packages.
> 
> Now this is a new systemd build today. All deps installed.
> 
> make[2]: Leaving directory '/home/spiky/build/vte-0.54.2/src'
> Making all in bindings
> make[2]: Entering directory '/home/spiky/build/vte-0.54.2/bindings'
> Making all in gir
> make[3]: Entering directory '/home/spiky/build/vte-0.54.2/bindings/gir'
>   GISCAN   Vte-2.91.gir
> src/pty.cc:989: Warning: Vte: invalid "transfer" annotation for gint: only
> valid for array, struct, union, boxed, object and interface types
> src/pty.cc:1020: Warning: Vte: invalid "transfer" annotation for gint: only
> valid for array, struct, union, boxed, object and interface types
> src/vtegtk.cc:2647: Warning: Vte: vte_terminal_spawn_async: argument callback:
> Missing (scope) annotation for callback without GDestroyNotify (valid: call,
> async)
>   GICOMP   Vte-2.91.gir
> make[3]: Leaving directory '/home/spiky/build/vte-0.54.2/bindings/gir'
> Making all in vala
> make[3]: Entering directory '/home/spiky/build/vte-0.54.2/bindings/vala'
>  VAPIGEN vte-2.91.vapi
>   GEN      app.c
> ./app.vala:984.5-1058.6: warning: the modifier `static' is not applicable to
> constants
> ./app.vala:793.5-793.33: warning: Gtk.Settings.gtk_enable_mnemonics has been
> deprecated since 3.10
> ./app.vala:796.5-796.31: warning: Gtk.Settings.gtk_menu_bar_accel has been
> deprecated since 3.10
> _./app.vala:820.3-820.23: error: struct `Test.App.Options' cannot be empty_
>   public struct Options
>   ^^^^^^^^^^^^^^^^^^^^^
> ./app.vala:649.5-649.15: warning: Gtk.Menu.popup has been deprecated since 
> 3.22
> ./app.vala:562.5-562.42: warning: Vte.Terminal.set_geometry_hints_for_window
> has been deprecated since 0.52
> ./app.vala:417.5-417.22: warning: Gtk.Window.resize_to_geometry has been
> deprecated since 3.20
> ./app.vala:296.5-296.31: warning: Vte.Terminal.icon_title_changed has been
> deprecated since 0.54
> ./app.vala:699.32-699.54: warning: Vte.Terminal.get_icon_title has been
> deprecated since 0.54
> ./app.vala:765.5-765.22: warning: Gtk.Window.resize_to_geometry has been
> deprecated since 3.20
> ./app.vala:314.7-314.34: warning: Gtk.Widget.set_double_buffered has been
> deprecated since 3.14
> ./app.vala:318.9-318.29: warning: Vte.Terminal.set_encoding has been
> deprecated since 0.54
> ./app.vala:399.17-399.41: warning: Vte.Terminal.match_add_gregex has been
> deprecated since 0.46
> ./app.vala:402.9-402.38: warning: Vte.Terminal.match_set_cursor_type has been
> deprecated since 0.54
> ./app.vala:428.11-428.24: warning: Gtk.Window.parse_geometry has been
> deprecated since 3.20
> ./app.vala:435.9-435.26: warning: Gtk.Window.resize_to_geometry has been
> deprecated since 3.20
> ./app.vala:442.7-442.26: warning: Gtk.Window.set_default_geometry has been
> deprecated since 3.20
> ./app.vala:454.11-454.29: warning: Vte.Terminal.spawn_sync has been deprecated
> since 0.48
> ./app.vala:1092.7-1092.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
> Compilation failed: 1 error(s), 19 warning(s)
> make[3]: *** [Makefile:848: app.c] Error 1
> make[3]: Leaving directory '/home/spiky/build/vte-0.54.2/bindings/vala'
> make[2]: *** [Makefile:450: all-recursive] Error 1
> make[2]: Leaving directory '/home/spiky/build/vte-0.54.2/bindings'
> make[1]: *** [Makefile:578: all-recursive] Error 1
> make[1]: Leaving directory '/home/spiky/build/vte-0.54.2'
> make: *** [Makefile:485: all] Error 2
> 
> 
> If I add --enable-vala=no  it will build.
> 
> If I add --enable-vala=auto  it fails
> 
> Any Ideas please
> 
> 

Have you upgraded vala itself? If not, try to recompile it. If yes, you should
recompile/upgrade everything depending on vala...

HTH
Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to