Created attachment 636916 [details] build.log The relevant build.log bit: Configure complete! Be sure to run |mach build| to pick up any changes * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- * LOG FILE: "/var/tmp/portage/www-client/firefox-76.0.1/temp/sandbox.log" * VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /usr/lib64/python3.7/lib2to3/Grammar3.7.7.final.0.pickle A: /usr/lib64/python3.7/lib2to3/Grammar3.7.7.final.0.pickle R: /usr/lib64/python3.7/lib2to3/Grammar3.7.7.final.0.pickle C: /var/tmp/portage/www-client/firefox-76.0.1/work/firefox-76.0.1/ff/_virtualenvs/init_py3/bin/python /var/tmp/portage/www-client/firefox-76.0.1/work/firefox-76.0.1/third_party/python/psutil/setup.py build_ext --inplace F: open_wr S: deny P: /usr/lib64/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle A: /usr/lib64/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle R: /usr/lib64/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle C: /var/tmp/portage/www-client/firefox-76.0.1/work/firefox-76.0.1/ff/_virtualenvs/init_py3/bin/python /var/tmp/portage/www-client/firefox-76.0.1/work/firefox-76.0.1/third_party/python/psutil/setup.py build_ext --inplace * --------------------------------------------------------------------------------
Created attachment 636918 [details] emerge --info
Can't reproduce. Please provide steps how to reproduce in a clean stage3.
I have the same error regarding the Python pickle when emerging 'sys-apps/file' and 'dev-python/python-distutils-extra'. It's looking for /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle when it should be 3.7.8. Appears PC specific and I haven't been able to determine why. You can use a symlink to get past it for now.
(In reply to Todd Walter from comment #3) > I have the same error regarding the Python pickle when emerging > 'sys-apps/file' and 'dev-python/python-distutils-extra'. It's looking for > /usr/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle when it should be > 3.7.8. Appears PC specific and I haven't been able to determine why. You > can use a symlink to get past it for now. I was able to resolve this issue by removing Python stuff that was installed on root outside of Portage (probably a `sudo pip install ...`).
Thanks, that was it. Why /opt is given precedence over /usr/lib escapes me but it's fixed now.