Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940707 - app-emulation/qemu-8.1.5: ModuleNotFoundError: No module named 'packaging'
Summary: app-emulation/qemu-8.1.5: ModuleNotFoundError: No module named 'packaging'
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-03 10:08 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2024-10-03 19:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,21.37 KB, text/plain)
2024-10-03 10:08 UTC, Sergey 'L29Ah' Alirzaev
Details
build log (build.log.xz,38.44 KB, application/x-xz)
2024-10-03 10:09 UTC, Sergey 'L29Ah' Alirzaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2024-10-03 10:08:57 UTC
Created attachment 904817 [details]
emerge --info

I've upgraded my system to python3_12, and now qemu doesn't build:
```
FAILED: ui/dbus-display1.h ui/dbus-display1.c 
/usr/bin/gdbus-codegen ui/dbus-display1.xml --glib-min-required 2.64 --output-directory /var/tmp/portage/app-emulation/qemu-8.1.5/work/qemu-8.1.5/softmmu-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 25, in <module>
    from gdbus_codegen import codegen_main
  File "/usr/lib/python3.11/site-packages/gdbus_codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "/usr/lib/python3.11/site-packages/gdbus_codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "/usr/lib/python3.11/site-packages/gdbus_codegen/utils.py", line 22, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
```

dev-util/gdbus-codegen is still at PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12". Apparently some dependency isn't in place, as `emerge -avuDNt world` doesn't pick gdbus-codegen for update.
Comment 1 Sergey 'L29Ah' Alirzaev 2024-10-03 10:09:44 UTC
Created attachment 904818 [details]
build log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-03 10:13:54 UTC
Missing a dep on gdbus-codegen apparently, it seems.