Re: [yocto] Arch Linux - Python Newer than Recommend i.e. post 3.12
Alexander Kanavin <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CANNYZj9hbLXOXnpj4zsG+Q=qW7cwF-X8aTWBwQ0k1oYxxpBvwQ@mail.gmail.com> |
Which version of yocto/bitbake are you using? Can you check if the issue triggers on latest master of bitbake/oe-core? Alex On Thu, 5 Feb 2026 at 03:37, Nicholas Krause via lists.yoctoproject.org <[email protected]> wrote: > > Greetings, > I'm getting this on Arch: > bitbake core-image-full-cmdline > Traceback (most recent call last): > File "/home/npkrause/poky/bitbake/bin/bitbake", line 36, in <module> > sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv), > ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > cookerdata.CookerConfiguration())) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/home/npkrause/poky/bitbake/lib/bb/main.py", line 378, in > bitbake_main > return ui_module.main(server_connection.connection, > server_connection.events, > > ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > configParams) > ^^^^^^^^^^^^^ > File "/home/npkrause/poky/bitbake/lib/bb/ui/knotty.py", line 415, in main > params.updateToServer(server, os.environ.copy()) > ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/home/npkrause/poky/bitbake/lib/bb/cookerdata.py", line 75, in > updateToServer > raise Exception("Unable to update the server configuration with > local parameters: %s" % error) > Exception: Unable to update the server configuration with local > parameters: Traceback (most recent call last): > File "/home/npkrause/poky/bitbake/lib/bb/command.py", line 90, in > runCommand > result = command_method(self, commandline) > File "/home/npkrause/poky/bitbake/lib/bb/command.py", line 286, in > updateConfig > command.cooker.updateConfigOpts(options, environment, cmdline) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/home/npkrause/poky/bitbake/lib/bb/cooker.py", line 535, in > updateConfigOpts > self.reset() > ~~~~~~~~~~^^ > File "/home/npkrause/poky/bitbake/lib/bb/cooker.py", line 1775, in reset > self.handlePRServ() > ~~~~~~~~~~~~~~~~~^^ > File "/home/npkrause/poky/bitbake/lib/bb/cooker.py", line 437, in > handlePRServ > self.hashserv.serve_as_process() > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ > File "/home/npkrause/poky/bitbake/lib/bb/asyncrpc/serv.py", line 280, > in serve_as_process > self.process.start() > ~~~~~~~~~~~~~~~~~~^^ > File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start > self._popen = self._Popen(self) > ~~~~~~~~~~~^^^^^^ > File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in > _Popen > return _default_context.get_context().Process._Popen(process_obj) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ > File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in > _Popen > return Popen(process_obj) > File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line > 35, in __init__ > super().__init__(process_obj) > ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ > File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in > __init__ > self._launch(process_obj) > ~~~~~~~~~~~~^^^^^^^^^^^^^ > File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line > 47, in _launch > reduction.dump(process_obj, buf) > ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump > ForkingPickler(file, protocol).dump(obj) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ > _pickle.PicklingError: Can't pickle local object <function > AsyncServer.serve_as_process.<locals>.run at 0x7fea88598a90> > when serializing dict item '_target' > when serializing multiprocessing.context.Process state > > Due to being on Python 3.14. I would prefer not to have to use a > backwards supported penv for Yocto alone. Does anyone have any > experience with working on Arch and how to avoid these issues without > either dealing with penv or yay for getting a older version of python, > pre 3.12 I believe. > Thanks, > Nick > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#66220): https://lists.yoctoproject.org/g/yocto/message/66220 > Mute This Topic: https://lists.yoctoproject.org/mt/117647566/1686489 > Group Owner: [email protected] > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=- >