Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 506848

Summary: dev-python/logilab-common-0.58.1 - distutils_src_install(): /usr/lib64/python2.7/site-packages/setuptools/command/install_lib.py: AttributeError: Distribution instance has no attribute 'namespace_packages'
Product: Gentoo Linux Reporter: John Stile <john>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
build.log.gz
build.log
emerge info

Description John Stile 2014-04-05 17:55:21 UTC
I get an "AttributeError: Distribution instance has no attribute 'namespace_packages'" in the build.log when trying to install dev-python/logilab-common.


Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/logilab-common
Actual Results:  
AttributeError: Distribution instance has no attribute 'namespace_packages'
 * ERROR: dev-python/logilab-common-0.58.1::gentoo failed (install phase):
 *   Installation failed with CPython 2.7 in distutils_installation() function


Expected Results:  
emerge success

I posted to the forum my issue, system details, and steps performed.
http://forums.gentoo.org/viewtopic-t-984704-highlight-.html
Comment 1 John Stile 2014-04-05 17:56:16 UTC
Created attachment 374314 [details]
emerge info
Comment 2 John Stile 2014-04-05 17:59:43 UTC
Created attachment 374316 [details]
build.log.gz
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-04-07 04:15:35 UTC
24 Aug 2012; Patrick Lauer <patrick@gentoo.org> +logilab-common-0.58.1.ebuild

is when this was added, and distutils_src_install reminds us it's using the the old eclass.  Given 0.61.0 has just been made stable, I suspect logilab-common-0.58.1  is prone to be purged, not fixed.  Do you really need this version?
Comment 4 John Stile 2014-04-08 06:41:05 UTC
Created attachment 374518 [details]
build.log

Tried to install dev-python/logilab-common-0.61.0
Comment 5 John Stile 2014-04-08 06:41:46 UTC
Created attachment 374520 [details]
emerge info

Updated system and tried to install dev-python/logilab-common-0.61.0
Problem persists
Comment 6 John Stile 2014-04-08 06:42:02 UTC
Updated system and tried to install dev-python/logilab-common-0.61.0
Problem persists
Comment 7 John Stile 2014-04-08 15:30:48 UTC
Do I have to file a new bug, or just change the title?
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2014-04-14 11:10:15 UTC
(In reply to johnny99 from comment #7)
> Do I have to file a new bug, or just change the title?

I s'pose leave it in this bug but it installed fine for me so I can't replicate so I'm somewhat hamstrung but mb someone else can.  It means all things are not equal between the systems
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2014-06-27 12:58:51 UTC
purged from portage