Re: Python 2.7 update error

2015-07-30 Thread Stuart Henderson
On 2015/07/29 23:54, Matthias Kilian wrote:
 On Wed, Jul 29, 2015 at 03:43:03PM +0200, Landry Breuil wrote:
  On Tue, Jul 28, 2015 at 11:02:59PM -0400, Michael McConville wrote:
   I'm on yesterday's AMD64 snapshot and just updated my packages. Did
   anyone else see this?
   
   
   --- -python-2.7.10 ---
   Couldn't delete /usr/local/lib/python2.7/email/mime/__init__.pyc (bad 
   checksum)
   Files kept as partial-python-2.7.10 package
  
  That happens randomly from time to time, over the past 2 or 3 years i
  think. something tampers with that file...
 
 Do our pythons still compare modification times of .py and .pyc
 files (and the compile timestamp stored in the .pyc files) and
 rebuild .pyc files when .py is newer? IIRC that had been identified
 as a problem a couple of years ago, but I don't know wether there
 was a solution.

I don't think we changed anything in the pythons, just worked around
it in pkg_add.

IIRC it's almost always email/mime/__init__.pyc that this happens to.



Re: Python 2.7 update error

2015-07-29 Thread Matthias Kilian
On Wed, Jul 29, 2015 at 03:43:03PM +0200, Landry Breuil wrote:
 On Tue, Jul 28, 2015 at 11:02:59PM -0400, Michael McConville wrote:
  I'm on yesterday's AMD64 snapshot and just updated my packages. Did
  anyone else see this?
  
  
  --- -python-2.7.10 ---
  Couldn't delete /usr/local/lib/python2.7/email/mime/__init__.pyc (bad 
  checksum)
  Files kept as partial-python-2.7.10 package
 
 That happens randomly from time to time, over the past 2 or 3 years i
 think. something tampers with that file...

Do our pythons still compare modification times of .py and .pyc
files (and the compile timestamp stored in the .pyc files) and
rebuild .pyc files when .py is newer? IIRC that had been identified
as a problem a couple of years ago, but I don't know wether there
was a solution.

Ciao,
Kili



Re: Python 2.7 update error

2015-07-29 Thread Landry Breuil
On Tue, Jul 28, 2015 at 11:02:59PM -0400, Michael McConville wrote:
 I'm on yesterday's AMD64 snapshot and just updated my packages. Did
 anyone else see this?
 
 
 --- -python-2.7.10 ---
 Couldn't delete /usr/local/lib/python2.7/email/mime/__init__.pyc (bad 
 checksum)
 Files kept as partial-python-2.7.10 package

That happens randomly from time to time, over the past 2 or 3 years i
think. something tampers with that file...

Landry



Python 2.7 update error

2015-07-28 Thread Michael McConville
I'm on yesterday's AMD64 snapshot and just updated my packages. Did
anyone else see this?


--- -python-2.7.10 ---
Couldn't delete /usr/local/lib/python2.7/email/mime/__init__.pyc (bad checksum)
Files kept as partial-python-2.7.10 package