I have dev-python/setuptools-68.1.2, but www-client/firefox-117.0.1[system-python-libs] complains that I have a much older version. That's not the only library. There's more libraries that aren't detected. Reproducible: Always Steps to Reproduce: 1. emerge Firefox with system-python-libs Actual Results: ansicon 1.89.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/ansicon attrs 23.1.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/attrs blessed 1.19.1 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/blessed certifi 2022.12.7 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/certifi chardet 4.0.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/chardet click 7.1.2 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/click colorama 0.4.5 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/colorama distro 1.8.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/distro idna 2.10 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/idna importlib-metadata 6.0.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/importlib_metadata importlib-resources 5.12.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/importlib_resources Jinja2 2.11.3 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/Jinja2 jinxed 1.2.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/jinxed jsmin 3.0.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/jsmin looseversion 1.0.1 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/looseversion MarkupSafe 2.0.1 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/MarkupSafe/src mozilla-version 2.0.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/mozilla_version packaging 21.3 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/packaging pip 23.0.1 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/pip pip-tools 5.5.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/pip_tools pyparsing 2.4.7 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/pyparsing requests 2.25.1 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/requests sentry-sdk 0.14.3 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/sentry_sdk setuptools 51.2.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/setuptools six 1.13.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/six tomlkit 0.11.8 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/tomlkit tqdm 4.62.3 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/tqdm typing-extensions 3.10.0.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/typing_extensions urllib3 1.26.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/urllib3 wcwidth 0.2.5 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/wcwidth wheel 0.37.0 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/wheel zipp 3.4.1 /var/tmp/portage/www-client/firefox-117.0.1/work/firefox-117.0.1/third_party/python/zipp streamlink 6.2.0 has requirement requests<3,>=2.26.0, but you have requests 2.25.1. streamlink 6.2.0 has requirement typing-extensions>=4.0.0, but you have typing-extensions 3.10.0.0. psycopg 3.1.10 has requirement typing-extensions>=4.1, but you have typing-extensions 3.10.0.0. sphinx 7.1.2 has requirement Jinja2>=3.0, but you have jinja2 2.11.3. setuptools-rust 1.6.0 has requirement setuptools>=62.4, but you have setuptools 51.2.0. Expected Results: All should come from /usr/lib/python3.11/site-packages and it should compile
Please include the full build.log and emerge --info.
Created attachment 871021 [details] build.log
Created attachment 871022 [details] output of emerge --info
I would guess that you have installed an older version of setuptools outside of Portage, possibly by accident.
The use flag is masked for a reason. I haven't had the time or interest to really make it work, and especially now it seems like the pip integration is just getting stronger and stronger. I fear the system-python-libs was a broken experiment and will not ever be finished by the looks of it. Or we need to somehow always carry custom pip patches. I don't know, haven't really followed what happens there in many releases. But the use flag is masked so it's known "not to work".