Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573168 - dev-python/packaging-16.0 removing egg info fails: ImportError: No module named 'copy_reg'
Summary: dev-python/packaging-16.0 removing egg info fails: ImportError: No module nam...
Status: RESOLVED DUPLICATE of bug 585146
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-27 23:58 UTC by Sebastian Pipping
Modified: 2017-05-04 18:00 UTC (History)
2 users (show)

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


Attachments
Build log (dev-python:packaging-16.0:20160127-233815.log,20.57 KB, text/plain)
2016-01-27 23:58 UTC, Sebastian Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2016-01-27 23:58:56 UTC
Created attachment 424030 [details]
Build log

Please find the build log attached.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-01-28 08:55:10 UTC
I can absolutely not reproduce this. Is this reproducible for you?
Comment 2 Sebastian Pipping gentoo-dev 2016-01-30 01:25:10 UTC
Yes.  The 3.4 branch seems to pull in 2.7 code somehow, see the last "File:" line:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.4/distutils/sysconfig.py", line 13, in <module>
    import re
  File "/usr/lib64/python3.4/re.py", line 336, in <module>
    import copyreg
  File "/usr/lib64/python2.7/site-packages/copyreg.py", line 3, in <module>
    from copy_reg import *
ImportError: No module named 'copy_reg'

I haven't seen a mix-up like that before.  Maybe something is messing with PYTHONPATH.
Comment 3 Mike Gilbert gentoo-dev 2017-05-04 18:00:51 UTC

*** This bug has been marked as a duplicate of bug 585146 ***