Skip to content

./bootstrap.sh moddwarf fails on ubuntustudio 24.04 #185

@sensorium

Description

@sensorium

Hi, a fresh install of mod-plugin-builder on a fresh ubuntustudio 24.04 fails as follows... I think it's due to "imp" being deprecated in favour of "importlib" in python 3.12. Could I workaround it by downgrading python? (Any help appreciated! thanks)

/usr/bin/make  install-am
 /usr/bin/mkdir -p '/home/tim/mod-workdir/moddwarf/host/usr/bin'
 /usr/bin/mkdir -p '/home/tim/mod-workdir/moddwarf/host/usr/share/glib-2.0/codegen'
 /usr/bin/install -c gdbus-codegen '/home/tim/mod-workdir/moddwarf/host/usr/bin'
 /usr/bin/install -c -m 644 __init__.py codegen.py codegen_main.py codegen_docbook.py config.py dbustypes.py parser.py utils.py '/home/tim/mod-workdir/moddwarf/host/usr/share/glib-2.0/codegen'
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'imp'
make[8]: *** [Makefile:982: install-codegenPYTHON] Error 1
make[7]: *** [Makefile:1284: install-am] Error 2
make[6]: *** [Makefile:1278: install] Error 2
make[5]: *** [Makefile:4092: install-recursive] Error 1
make[4]: *** [Makefile:4414: install] Error 2
make[3]: *** [Makefile:1211: install-recursive] Error 1
make[2]: *** [Makefile:1677: install] Error 2
make[1]: *** [package/pkg-generic.mk:208: /home/tim/mod-workdir/moddwarf/build/host-libglib2-2.46.2/.stamp_host_installed] Error 2
make: *** [Makefile:36: _all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions