Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571944 - dev-python/setuptools-19.2 doesn't build
Summary: dev-python/setuptools-19.2 doesn't build
Status: RESOLVED INVALID
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-14 21:46 UTC by manuel
Modified: 2016-01-14 23:04 UTC (History)
0 users

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


Attachments
emerge --info (file_571944.txt,20.03 KB, text/plain)
2016-01-14 21:47 UTC, manuel
Details
build.log (file_571944.txt,6.33 KB, text/plain)
2016-01-14 21:47 UTC, manuel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manuel 2016-01-14 21:46:52 UTC
I get an error with a very long backtrace during the build phase:

IOError: [Errno 13] Permission denied: '/usr/lib64/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO'

Reproducible: Always
Comment 1 manuel 2016-01-14 21:47:07 UTC
Created attachment 422948 [details]
emerge --info
Comment 2 manuel 2016-01-14 21:47:57 UTC
Created attachment 422950 [details]
build.log
Comment 3 Mike Gilbert gentoo-dev 2016-01-14 22:21:39 UTC
Please show the output of the following command:

stat /usr/lib64/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO
Comment 4 manuel 2016-01-14 22:22:48 UTC
# stat /usr/lib64/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO
  File: ‘/usr/lib64/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO’
  Size: 710             Blocks: 8          IO Block: 4096   regular file
Device: 806h/2054d      Inode: 675456      Links: 1
Access: (0600/-rw-------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-10-03 15:44:33.170946525 +0200
Modify: 2015-10-03 15:44:32.352978000 +0200
Change: 2015-10-03 15:44:34.529893053 +0200
 Birth: -
Comment 5 manuel 2016-01-14 22:25:51 UTC
How strange... 600 not 644? Maybe I installed it via pip as superuser?
Comment 6 Mike Gilbert gentoo-dev 2016-01-14 22:35:55 UTC
Yeah, it shows up as 0644 here.

  File: ‘/usr/lib64/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO’
  Size: 710             Blocks: 8          IO Block: 4096   regular file
Device: 1bh/27d Inode: 112562383   Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2016-01-14 17:34:26.382963000 -0500
Modify: 2016-01-14 17:34:26.382963000 -0500
Change: 2016-01-14 17:34:38.650699611 -0500
 Birth: -

I'm going to assume this was user error until proven otherwise. ;)
Comment 7 manuel 2016-01-14 22:57:10 UTC
I changed the permissions to 644, but still the same error!

# stat PKG-INFO 
  File: ‘PKG-INFO’
  Size: 710             Blocks: 8          IO Block: 4096   regular file
Device: 806h/2054d      Inode: 675456      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2016-01-14 23:51:54.881231724 +0100
Modify: 2015-10-03 15:44:32.352978000 +0200
Change: 2016-01-14 23:53:09.591372989 +0100
 Birth: -
Comment 8 manuel 2016-01-14 23:03:57 UTC
Reemerging prettytable fixed it.