Skip to content

Workaround another import problem on update#1587

Open
mgorny wants to merge 1 commit into
gentoo:masterfrom
mgorny:upgr-2
Open

Workaround another import problem on update#1587
mgorny wants to merge 1 commit into
gentoo:masterfrom
mgorny:upgr-2

Conversation

@mgorny

@mgorny mgorny commented Jun 2, 2026

Copy link
Copy Markdown
Member

Bug: https://bugs.gentoo.org/976616
Signed-off-by: Michał Górny <mgorny@gentoo.org>
@mgorny

mgorny commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

Disclaimer: I didn't test it (or reproduced the original issue).

@s7a7ic

s7a7ic commented Jun 13, 2026

Copy link
Copy Markdown

Hi, I had the Bug while updating. So I've applied your commit as a patch to portage and tested it while updating another host and got this error on multiple packages:

Process Process-1224:
Traceback (most recent call last):
  File "/usr/lib/python3.13/multiprocessing/process.py", line 313, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "/usr/lib/python3.13/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/portage/util/_async/ForkProcess.py", line 336, in _bootstrap
  File "/usr/lib/python3.13/site-packages/portage/dbapi/_MergeProcess.py", line 276, in _target
  File "/usr/lib/python3.13/site-packages/portage/dbapi/vartree.py", line 1939, in wrapper
  File "/usr/lib/python3.13/site-packages/portage/dbapi/vartree.py", line 6188, in merge
  File "/usr/lib/python3.13/site-packages/portage/dbapi/vartree.py", line 4368, in treewalk
ModuleNotFoundError: No module named 'portage.util.env_update'

As this was the last host to update, I can't test/reproduce the original issue either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants