Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717456 - www-client/chromium-83.0.4103.7 requires dev-python/setuptools with python_targets_python2_7
Summary: www-client/chromium-83.0.4103.7 requires dev-python/setuptools with python_ta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-14 17:07 UTC by Mike Lothian
Modified: 2020-04-14 23:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2020-04-14 17:07:34 UTC
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
Comment 1 Mike Gilbert gentoo-dev 2020-04-14 17:24:19 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2020-04-14 23:57:53 UTC
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(-)