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
Created attachment 422948 [details] emerge --info
Created attachment 422950 [details] build.log
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
# 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: -
How strange... 600 not 644? Maybe I installed it via pip as superuser?
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. ;)
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: -
Reemerging prettytable fixed it.