Hi all,
Just wondering if anyone has had success building morty-based systems on Ubuntu
22.04?
As part of my environment setup scripts I've added the following to force use
of python3.8 (3.8.14) as python3.10 is the default in 22.04
* alias python3=/usr/bin/python3.8
* export PYTHONPATH=/usr/lib/python3.8:$PYTHONPATH
This seems to work in that I get passed the initial error relating to use of
MutableMapping from collections (due to being deprecated)
The next error I hit relates to fork_exec():
*****************************************************************************************************
[proj-devkit]:build> bitbake $MACHINE-image
Traceback (most recent call last):
File "/buildData/Proj_OS/sources/bitbake/bin/bitbake", line 47, in <module>
sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
File "/buildData/Proj_OS/sources/bitbake/lib/bb/main.py", line 468, in
bitbake_main
server = start_server(servermodule, configParams, configuration, featureset)
File "/buildData/Proj_OS/sources/bitbake/lib/bb/main.py", line 354, in
start_server
cooker = bb.cooker.BBCooker(configuration, features)
File "/buildData/Proj_OS/sources/bitbake/lib/bb/cooker.py", line 178, in
__init__
self.configwatcher = pyinotify.WatchManager()
File "/buildData/Proj_OS/sources/bitbake/lib/pyinotify.py", line 1757, in
__init__
self._inotify_wrapper = INotifyWrapper.create()
File "/buildData/Proj_OS/sources/bitbake/lib/pyinotify.py", line 126, in
create
if inotify.init():
File "/buildData/Proj_OS/sources/bitbake/lib/pyinotify.py", line 210, in init
libc_name = ctypes.util.find_library(try_libc_name)
File "/usr/lib/python3.8/ctypes/util.py", line 340, in find_library
return _findSoname_ldconfig(name) or \
File "/usr/lib/python3.8/ctypes/util.py", line 300, in _findSoname_ldconfig
with subprocess.Popen(['/sbin/ldconfig', '-p'],
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1639, in _execute_child
self.pid = _posixsubprocess.fork_exec(
TypeError: fork_exec() takes exactly 21 arguments (17 given)
*****************************************************************************************************
I didn't have these problems with my previous dev machine using Ubuntu 20.04
which uses python3.8.10
It seems I'm stuck with Ubuntu 22.04 so have to work through the issues
Regards,
Evan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14051):
https://lists.yoctoproject.org/g/meta-arago/message/14051
Mute This Topic: https://lists.yoctoproject.org/mt/94136874/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-