FAILED: gen/components/schema_org/schema_org_entity_names.h gen/components/schema_org/schema_org_entity_names.cc gen/components/schema_org/schema_org_property_configurations.h gen/components/schema_org/schema_org_property_configurations.cc gen/components/schema_org/schem a_org_property_names.h gen/components/schema_org/schema_org_property_names.cc gen/components/schema_org/schema_org_enums.h gen/components/schema_org/schema_org_enums.cc python ../../components/schema_org/generate_schema_org_code.py --schema-file ../../third_party/schema_org/schema.jsonld --overrides-file ../../third_party/schema_org/overrides.jsonld --output-dir gen/components/schema_org --templates templates/schema_org_entity_names.cc. tmpl templates/schema_org_entity_names.h.tmpl templates/schema_org_enums.cc.tmpl templates/schema_org_enums.h.tmpl templates/schema_org_property_configurations.cc.tmpl templates/schema_org_property_configurations.h.tmpl templates/schema_org_property_names.cc.tmpl templat es/schema_org_property_names.h.tmpl Traceback (most recent call last): File "../../components/schema_org/generate_schema_org_code.py", line 22, in <module> env = Environment(loader=PackageLoader('generate_schema_org_code', '')) File "/var/tmp/portage/www-client/chromium-83.0.4103.7/work/chromium-83.0.4103.7/components/schema_org/../../third_party/jinja2/loaders.py", line 222, in __init__ from pkg_resources import DefaultProvider, ResourceManager, \ ImportError: No module named pkg_resources Reemerging dev-python/setuptools with python_targets_python2_7 allowed it to finish compiling Reproducible: Always
As an alternative, we could fetch a copy of setuptools-44.1.0 via SRC_URI, and reference it via PYTHONPATH. That would be nicer for those of us who have disabled python_targets_python2_7 globally.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df339c659fdb3b9088838d210dd2dfa8d4974aee commit df339c659fdb3b9088838d210dd2dfa8d4974aee Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-04-14 23:56:26 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-04-14 23:56:26 +0000 www-client/chromium: use a local copy of setuptools Closes: https://bugs.gentoo.org/717456 Package-Manager: Portage-2.3.99, Repoman-2.3.22_p29 Signed-off-by: Mike Gilbert <floppym@gentoo.org> www-client/chromium/Manifest | 1 + www-client/chromium/chromium-83.0.4103.7.ebuild | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-)