Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10561 - slow python due to timestamps altered on merge
Summary: slow python due to timestamps altered on merge
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Reported: 2002-11-10 19:54 UTC by Peter Maxwell
Modified: 2011-10-30 22:21 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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 
-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 ..../ 
# 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.