Disco libvirt FTBS for the next SRU

Bug #1849342 reported by Rafael David Tinoco on 2019-10-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)

Bug Description

Because of the following patch:

  From 73efd3699e8e1b1f4521af63401184e31dd3cd97 Mon Sep 17 00:00:00 2001
  From: Stefan Bader <email address hidden>
  Date: Sat, 3 May 2014 17:10:29 -0400
  Subject: [PATCH 2/2] libxl: Fix up VRAM to minimum requirements

  This is a bit debatable. On one side it hides configuration errors
  in a way that makes them hard to spot. On the other side there is
  at least one issue with (maybe some older versions) virt-manager.
  Virt-manager sets VRAM directly, not using the default memory setting
  but uses too small values for libxl. Worse, those versions do not seem
  to allow to change VRAM from the GUI. So switching the video type to
  VGA makes the guest fail to start until one manually adapts the VRAM
  size in the XML definition.
  With this change this would not happen but VRAM will be bigger than
  the GUI says. This would not be that different from current Cirrus
  behaviour. Only that in that case qemu seems to ignore the provided

  Signed-off-by: Stefan Bader <email address hidden>

and possibly some default Werror= change in newer GCCs, we can't recompile cleanly libvirt in Ubuntu Disco, facing the following error:

libtool: link: ( cd ".libs" && rm -f "libvirt_driver_lxc_impl.la" && ln -s "../libvirt_driver_lxc_impl.la" "libvirt_driver_lxc_impl.la" )
../../../src/libxl/li bxl_conf.c: In function 'libxlMakeVideo':
../../../src/libxl/libxl_conf.c:2393:13: error: enumeration value 'LIBXL_DEVICE_MODEL_VERSION_UNKNOWN' not handled in switch [-Werror=switch-enum]

My patch is fixing this issue by patching the previous patch.

Changed in libvirt (Ubuntu Disco):
status: New → Confirmed
Changed in libvirt (Ubuntu):
status: New → Fix Released
Changed in libvirt (Ubuntu Disco):
importance: Undecided → Low
assignee: nobody → Christian Ehrhardt  (paelzer)
description: updated

While the patch is "correct" there is no issue like that "in Disco".

It only affects custom build environments.
I have built libvirt in Disco in a PPA today and it worked fine (PPA deleted again).

Setting Won't Fix on this one.

Changed in libvirt (Ubuntu Disco):
status: Confirmed → Won't Fix
assignee: Christian Ehrhardt  (paelzer) → nobody

Thank you, sorry for the noise. Will fix here.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers