@obj
@eric1tran
Piaware fails to build on Ubuntu 24.04 Daily build dated 2024-02-25
Detailed log:
Successfully built cx_Freeze-6.15.9-cp312-cp312-linux_x86_64.whl
/home/abcd/piaware_builder/package-bookworm/debian/venv/bin/python -m pip install --no-index --no-deps --ignore-installed --require-virtualenv /home/abcd/piaware_builder/package-bookworm/wheels/cx_Freeze-6.15.9-*.whl
Processing ./wheels/cx_Freeze-6.15.9-cp312-cp312-linux_x86_64.whl
Installing collected packages: cx-Freeze
Successfully installed cx-Freeze-6.15.9
# build mlat-client proper
/home/abcd/piaware_builder/package-bookworm/debian/venv/bin/python -m build --skip-dependency-check --no-isolation --wheel -C="--build-option=--plat-name" -C="--build-option=linux-x86_64" --outdir /home/abcd/piaware_builder/package-bookworm/wheels mlat-client
* Building wheel...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 434, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir
self.run_setup()
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "<string>", line 24, in <module>
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 485, in __init__
_Distribution.__init__(
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 283, in __init__
self.finalize_options()
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 925, in finalize_options
for ep in sorted(loaded, key=by_order):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 924, in <lambda>
loaded = map(lambda e: e.load(), filtered)
^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/abcd/piaware_builder/package-bookworm/debian/venv/lib/python3.12/site-packages/cx_Freeze/__init__.py", line 12, in <module>
from .command.build_exe import BuildEXE as build_exe
File "/home/abcd/piaware_builder/package-bookworm/debian/venv/lib/python3.12/site-packages/cx_Freeze/command/build_exe.py", line 13, in <module>
from cx_Freeze.freezer import Freezer
File "/home/abcd/piaware_builder/package-bookworm/debian/venv/lib/python3.12/site-packages/cx_Freeze/freezer.py", line 30, in <module>
from .finder import ModuleFinder
File "/home/abcd/piaware_builder/package-bookworm/debian/venv/lib/python3.12/site-packages/cx_Freeze/finder.py", line 33, in <module>
IMPORT_STAR = opcode.opmap["IMPORT_STAR"]
~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'IMPORT_STAR'
ERROR Backend subprocess exited when trying to invoke build_wheel
make[1]: *** [debian/rules:86: build_mlat-client] Error 1
make[1]: Leaving directory '/home/abcd/piaware_builder/package-bookworm'
make: *** [debian/rules:116: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
[ERROR] Error in line 164 when executing: dpkg-buildpackage -b --no-sign
abcd@ubuntu-24:~$