QEMU does not build with vte v2.91

Bug #1794939 reported by Bastian Koppelmann
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

when I build qemu with vte support and vte-2.91 installed I get the following deprecation warning:

error: ‘vte_terminal_set_encoding’ is deprecated [-Werror=deprecated-declarations]
     vte_terminal_set_encoding(VTE_TERMINAL(vc->vte.terminal), "UTF-8", NULL);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/vte-2.91/vte/vte.h:35

I looked for the commit in vte that deprecated the offending function (a17e714d), which led me to the thread:

https://gitlab.gnome.org/GNOME/vte/issues/3

It looks like from this version forward vte forces us to use utf-8, such that this function call becomes unnecessary in QEMU.

Cheers,
Bastian

Revision history for this message
berglh (berglh) wrote :

Hi Bastian,

I got past this error by installing libvte-dev instead of libvte-2.91-dev.

I'm not sure if it actually works however.

Cheers,
Berg

Revision history for this message
Bastian Koppelmann (kbastian) wrote :

Hi Berg,

thanks for the tip, a fix has also been commited already :)

Cheers,
Bastian

Changed in qemu:
status: New → Fix Committed
Revision history for this message
Thomas Huth (th-huth) wrote :
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.