public inbox for yocto@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: Nicholas Krause <xerofoify@gmail.com>
To: yocto@lists.yoctoproject.org
Subject: Arch Linux - Python Newer than Recommend i.e. post 3.12
Date: Wed, 4 Feb 2026 21:39:15 -0500	[thread overview]
Message-ID: <bebf26e4-234b-40c8-af17-1582d733cae2@gmail.com> (raw)

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


             reply	other threads:[~2026-02-05  2:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05  2:39 Nicholas Krause [this message]
2026-02-05  9:46 ` [yocto] Arch Linux - Python Newer than Recommend i.e. post 3.12 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bebf26e4-234b-40c8-af17-1582d733cae2@gmail.com \
    --to=xerofoify@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox