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

Bug 10561

Summary: slow python due to timestamps altered on merge
Product: Portage Development Reporter: Peter Maxwell <peter.maxwell>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Maxwell 2002-11-10 19:54:45 UTC
My most recently installed python packages  
have all their .pyc and .py file timestamps  
set the same, eg: 
 
 $ emerge dev-python/twisted 
 $ cd  /usr/lib/python2.2/site-packages/twisted/internet 
 $ ls -gG base.* 
-rw-r--r--    1    12689 Nov  6 15:49 base.py 
-rw-r--r--    1    20603 Nov  6 15:49 base.pyc 
 
So (as a non-root user): 
 $ python -v -c 'import twisted.internet.base' 2>&1 | grep base 
# ..../base.pyc has bad mtime 
import twisted.internet.base # from ..../base.py 
# can't create ..../base.pyc 
 
.pyc files which are no newer than their .py files are useless! 
 
I think this happens on merge because the  
timestamps on the files made in /var/tmp by  
 
 $ ebuild /usr/portage/dev-python/twisted/twisted-1.0.0.ebuild install 
 
are OK.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-01-12 01:58:41 UTC
still an issue ?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-04 23:03:36 UTC
I assume not
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 10:35:07 UTC
Closing after 3 years.