GNOME Bugzilla – Bug 787032
gdbus-codegen 2.53.6: ImportError: No module named codegen
Last modified: 2017-09-11 14:17:09 UTC
While compiling gnome-bluetooth 3.25.91 with Meson I get the following build error: > /bin/gdbus-codegen --interface-prefix org.freedesktop.DBus --output-directory lib --generate-c-code bluetooth-fdo-glue ../lib/bluetooth-fdo.xml > Traceback (most recent call last): > File "/bin/gdbus-codegen", line 42, in <module> > from codegen import codegen_main > ImportError: No module named codegen Cause seems to be the following commit: https://git.gnome.org/browse/glib/commit/gio/gdbus-2.0/codegen/gdbus-codegen.in?id=fe2a9887a8ccb14f2386e01b14834e97a33bc2d7 Note that gdbus-codegen is called as /bin/gdbus-codegen. It actually lives in /usr/bin//gdbus-codegen. This breaks the logic that was added/changed in above commit.
*** This bug has been marked as a duplicate of bug 786785 ***