Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264308 - python.eclass is broken with package managers that preserve mtime
Summary: python.eclass is broken with package managers that preserve mtime
Status: RESOLVED DUPLICATE of bug 256953
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 15:57 UTC by Maximilian Grothusmann
Modified: 2009-03-30 17:54 UTC (History)
6 users (show)

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


Attachments
This should demonstrate the bug quite clearly (python-eclass-compile-fail.txt,10.15 KB, text/plain)
2009-03-30 15:58 UTC, Maximilian Grothusmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Grothusmann 2009-03-30 15:57:07 UTC
When updating/downgrading/reinstalling a package, .pyc/.pyo files aren't regenerated because their mtime is newer than the mtime of the newly installed .py files.

Reproducible: Always

Steps to Reproduce:
* Install some python package, mess up the .pyc files, reinstall again and find your .pyc files still broken.
* After downgrading a python package, the .pyc files will also not be regenerated
* Can happen with normal upgrades too, if your upgrade has been released before you installed the older version.
Actual Results:  
.pyc files broken

Expected Results:  
.pyc files regenerated when installing a package
Comment 1 Maximilian Grothusmann 2009-03-30 15:58:08 UTC
Created attachment 186771 [details]
This should demonstrate the bug quite clearly
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-03-30 17:14:36 UTC
Is this a dupe of bug #256953?
Comment 3 Maximilian Grothusmann 2009-03-30 17:54:48 UTC
Bleh. Indeed, it's a dupe.

*** This bug has been marked as a duplicate of bug 256953 ***