automation/build/suse/opensuse-leap.dockerfile | 1 + automation/build/suse/opensuse-tumbleweed.dockerfile | 1 + 2 files changed, 2 insertions(+)
The qemu-xen build system uses gdbus-codegen, which relies on 'packaging'.
Make sure it is available.
[188/2647] Generating ui/dbus-display gdbus-codegen with a custom command
FAILED: ui/dbus-display1.h ui/dbus-display1.c
/usr/bin/gdbus-codegen ../qemu-xen-dir-remote/ui/dbus-display1.xml
--glib-min-required 2.64 --output-directory /build/tools/qemu-xen-build/ui
--interface-prefix org.qemu. --c-namespace QemuDBus
--generate-c-code dbus-display1
Traceback (most recent call last):
File "/usr/bin/gdbus-codegen", line 53, in <module>
from codegen import codegen_main
File "/usr/share/glib-2.0/codegen/codegen_main.py", line 30, in <module>
from . import dbustypes
File "/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
from . import utils
File "/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
import packaging.version
ModuleNotFoundError: No module named 'packaging'
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
automation/build/suse/opensuse-leap.dockerfile | 1 +
automation/build/suse/opensuse-tumbleweed.dockerfile | 1 +
2 files changed, 2 insertions(+)
diff --git a/automation/build/suse/opensuse-leap.dockerfile b/automation/build/suse/opensuse-leap.dockerfile
index 1344cbb0d1..0eea74be15 100644
--- a/automation/build/suse/opensuse-leap.dockerfile
+++ b/automation/build/suse/opensuse-leap.dockerfile
@@ -59,6 +59,7 @@ RUN zypper install -y --no-recommends \
'pkgconfig(sdl)' \
'pkgconfig(sdl2)' \
python3-devel \
+ python3-packaging \
python3-setuptools \
# systemd-devel for Xen < 4.19
systemd-devel \
diff --git a/automation/build/suse/opensuse-tumbleweed.dockerfile b/automation/build/suse/opensuse-tumbleweed.dockerfile
index 2587a3fa4f..caf0d42ce1 100644
--- a/automation/build/suse/opensuse-tumbleweed.dockerfile
+++ b/automation/build/suse/opensuse-tumbleweed.dockerfile
@@ -60,6 +60,7 @@ RUN zypper install -y --no-recommends \
'pkgconfig(sdl)' \
'pkgconfig(sdl2)' \
python3-devel \
+ python3-packaging \
python3-setuptools \
# systemd-devel for Xen < 4.19
systemd-devel \
On 02/07/2024 9:56 am, Olaf Hering wrote: > The qemu-xen build system uses gdbus-codegen, which relies on 'packaging'. > Make sure it is available. > > [188/2647] Generating ui/dbus-display gdbus-codegen with a custom command > FAILED: ui/dbus-display1.h ui/dbus-display1.c > /usr/bin/gdbus-codegen ../qemu-xen-dir-remote/ui/dbus-display1.xml > --glib-min-required 2.64 --output-directory /build/tools/qemu-xen-build/ui > --interface-prefix org.qemu. --c-namespace QemuDBus > --generate-c-code dbus-display1 > Traceback (most recent call last): > File "/usr/bin/gdbus-codegen", line 53, in <module> > from codegen import codegen_main > File "/usr/share/glib-2.0/codegen/codegen_main.py", line 30, in <module> > from . import dbustypes > File "/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module> > from . import utils > File "/usr/share/glib-2.0/codegen/utils.py", line 22, in <module> > import packaging.version > ModuleNotFoundError: No module named 'packaging' > > Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Again, CC Oleksii for 4.19. ~Andrew > --- > automation/build/suse/opensuse-leap.dockerfile | 1 + > automation/build/suse/opensuse-tumbleweed.dockerfile | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/automation/build/suse/opensuse-leap.dockerfile b/automation/build/suse/opensuse-leap.dockerfile > index 1344cbb0d1..0eea74be15 100644 > --- a/automation/build/suse/opensuse-leap.dockerfile > +++ b/automation/build/suse/opensuse-leap.dockerfile > @@ -59,6 +59,7 @@ RUN zypper install -y --no-recommends \ > 'pkgconfig(sdl)' \ > 'pkgconfig(sdl2)' \ > python3-devel \ > + python3-packaging \ > python3-setuptools \ > # systemd-devel for Xen < 4.19 > systemd-devel \ > diff --git a/automation/build/suse/opensuse-tumbleweed.dockerfile b/automation/build/suse/opensuse-tumbleweed.dockerfile > index 2587a3fa4f..caf0d42ce1 100644 > --- a/automation/build/suse/opensuse-tumbleweed.dockerfile > +++ b/automation/build/suse/opensuse-tumbleweed.dockerfile > @@ -60,6 +60,7 @@ RUN zypper install -y --no-recommends \ > 'pkgconfig(sdl)' \ > 'pkgconfig(sdl2)' \ > python3-devel \ > + python3-packaging \ > python3-setuptools \ > # systemd-devel for Xen < 4.19 > systemd-devel \ >
© 2016 - 2024 Red Hat, Inc.