public inbox for yocto@lists.yoctoproject.org
 help / color / mirror / Atom feed
* Arch Linux - Python Newer than Recommend i.e. post 3.12
@ 2026-02-05  2:39 Nicholas Krause
  2026-02-05  9:46 ` [yocto] " Alexander Kanavin
  2026-02-05 10:40 ` Ross Burton
  0 siblings, 2 replies; 7+ messages in thread
From: Nicholas Krause @ 2026-02-05  2:39 UTC (permalink / raw)
  To: yocto

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-22  7:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05  2:39 Arch Linux - Python Newer than Recommend i.e. post 3.12 Nicholas Krause
2026-02-05  9:46 ` [yocto] " Alexander Kanavin
2026-02-05 10:40 ` Ross Burton
2026-02-06 22:49   ` Nicholas Krause
2026-02-08 21:09     ` Hugh Manning
2026-02-22  5:58     ` Nicholas Krause
2026-02-22  7:15       ` Nicholas Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox