Skip to contentSkip to conversation

qemu is missing monitor

Qemu-devel Jiri Slaby 3 participants 5 messages Oct 9, 2014 – Oct 10, 2014

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

Hi guys,

qemu in opensuse latest (factory) does not have monitor. Despite libvte-devel is installed, it is not detected by qemu. The problem is that configure looks for vte-2.90, but we have vte-2.91 in factory. The attached patch fixes that for factory, but it's dirty, of course.

Any better idea?

thanks,

Signature · 2 lines
js
suse labs
---
 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
configure +2 -2
@@ -2068,7 +2068,7 @@ fi
 
 if test "$vte" != "no"; then
     if test "$gtkabi" = "3.0"; then
-      vtepackage="vte-2.90"
+      vtepackage="vte-2.91"
       vteversion="0.32.0"
     else
       vtepackage="vte"
@@ -2081,7 +2081,7 @@ if test "$vte" != "no"; then
         vte="yes"
     elif test "$vte" = "yes"; then
         if test "$gtkabi" = "3.0"; then
-            feature_not_found "vte" "Install libvte-2.90 devel"
+            feature_not_found "vte" "Install libvte-2.91 devel"
         else
             feature_not_found "vte" "Install libvte devel"
         fi
#1 lore raw
Quoted 6 lines · Jiri Slaby

Hi guys,

qemu in opensuse latest (factory) does not have monitor. Despite libvte-devel is installed, it is not detected by qemu. The problem is that configure looks for vte-2.90, but we have vte-2.91 in factory. The attached patch fixes that for factory, but it's dirty, of course.

Why the heck have the GTK folk made point releases end up needing their own pkg-config library name??

-- PMM

#2 lore raw
Quoted 10 lines · Peter Maydell
Quoted 6 lines · Jiri Slaby

Hi guys,

qemu in opensuse latest (factory) does not have monitor. Despite libvte-devel is installed, it is not detected by qemu. The problem is that configure looks for vte-2.90, but we have vte-2.91 in factory. The attached patch fixes that for factory, but it's dirty, of course.

Why the heck have the GTK folk made point releases end up needing their own pkg-config library name??

Good question. They should not do that in the first place unless they have a ABI change (i.e. gtk2 -> gtk3 switch was a good reason). The point release doesn't look like that though ...

I'd suggest to try sort that with vte upstream before trying to hack around this in qemu (and if we have to we'll need to check for both 2.90 and 2.91 because you don't know what version the user has installed).

cheers,
Gerd

author
#4 lore raw
In reply to Peter Maydell
Quoted 10 lines · Peter Maydell
Quoted 6 lines · Jiri Slaby

Hi guys,

qemu in opensuse latest (factory) does not have monitor. Despite libvte-devel is installed, it is not detected by qemu. The problem is that configure looks for vte-2.90, but we have vte-2.91 in factory. The attached patch fixes that for factory, but it's dirty, of course.

Why the heck have the GTK folk made point releases end up needing their own pkg-config library name??

Don't ask me, /me wonders too. I am thinking of one of
* --enable-vte=2.91: we would have to do rpm -q vte-devel in .spec, but that should work
* for ver in seq 0 9; do

    if pkg-config --exists vte-2.9$ver; then
      vteversion="vte-2.9$ver"
    fi

done
* yell at the author of the versioning to retract and rethink!

thanks,

Signature · 2 lines
js
suse labs
author
#3 lore raw
In reply to Gerd Hoffmann
Quoted 9 lines · Gerd Hoffmann
Quoted 8 lines · Peter Maydell
Quoted 6 lines · Jiri Slaby

Hi guys,

qemu in opensuse latest (factory) does not have monitor. Despite libvte-devel is installed, it is not detected by qemu. The problem is that configure looks for vte-2.90, but we have vte-2.91 in factory. The attached patch fixes that for factory, but it's dirty, of course.

Quoted 6 lines
Quoted 2 lines

Why the heck have the GTK folk made point releases end up needing their own pkg-config library name??

Good question. They should not do that in the first place unless they have a ABI change (i.e. gtk2 -> gtk3 switch was a good reason). The point release doesn't look like that though ...

Note, that qemu is terribly broken with 2.91. The monitor window is over 30 000 pixels in height. So there is perhaps some weird API/ABI change. Built against 2.90, it works fine.

Quoted 3 lines

I'd suggest to try sort that with vte upstream before trying to hack around this in qemu (and if we have to we'll need to check for both 2.90 and 2.91 because you don't know what version the user has installed).

Ok, could you take care of that and sort that out?

Signature · 2 lines
js
suse labs