Message3896

Author worlddominationkites
Recipients fwierzbicki, pjenvey, thijs, worlddominationkites
Date 2008-12-09.22:50:36
SpamBayes Score 9.68741e-05
Marked as misclassified No
Message-id <1228863037.31.0.567649725244.issue1166@psf.upfronthosting.co.za>
In-reply-to
Content
I'm getting the same problem trying to install django.

jython 5.5b0+ (trunk, Dec 9 2008, 16:54:43)
[Java HotSpot(TM) 64-bit Server VM (Sun Microsystems Inc.)] on 
java1.6.0_04

django/trunk r9619

when I typed
# jython setup.py install
there were lots of

"copying django/this/that -> build/lib/django/this/that"

then, build/lib/django/contrib/csrf/tests.py throws up a traceback, 
with line 542 of os.py
_posix.utimes(path, long(atime * 1000), long(mtime * 1000))

throwing 

TypeError: utimes(): 3rd arg can't be coerced to long

I stuck some print statements into os.py, and 

DEBUG: mtime=7310012245875128690

what? Checking with stat
# stat build/lib/django/contrib/csrf/tests.py
  File: `build/lib/django/contrib/csrf/moved_tests.py'
  Size: 5037            Blocks: 24         IO Block: 4096   regular file
Device: 823h/2083d      Inode: 11255892    Links: 1
Access: (0644/-rw-r--r--)  Uid: ( XXXX/  XXXX)   Gid: (  XXXX/   XXXXX)
Access: 2008-12-10 09:00:48.000000000 +1100
Modify: 7165064483007524707
Change: 2008-12-10 09:00:45.000000000 +1100

Hmm. Other files don't stat like that (XXX overtyped by me by the 
way)...
# stat build/lib/django/contrib/gis/measure.py
  File: `build/lib/django/contrib/gis/measure.py'
  Size: 12528           Blocks: 40         IO Block: 4096   regular file
Device: 823h/2083d      Inode: 11256021    Links: 1
Access: (0644/-rw-r--r--)  Uid: ( XXXX/  XXXXXX)   Gid: (  XXX/   XXXXX)
Access: 2008-12-10 09:00:45.000000000 +1100
Modify: 1970-01-01 13:28:48.000000000 +1000
Change: 2008-12-10 09:00:45.000000000 +1100

That  that Modify time is not nonsence, but it's not right either. see 
also:

# ls -l build/lib/django/contrib/csrf/tests.py
-rw-r--r--  1 XXXXXX XXXXX 5037 7165064483007524707 
build/lib/django/contrib/csrf/tests.py

# ls -l  build/lib/django/contrib/gis/measure.py
-rw-r--r--  1 XXXXXX XXXXX 12528 Jan  1  1970 
build/lib/django/contrib/gis/measure.py

Yeah, right.

# touch build/lib/django/contrib/gis/measure.py
# ls -l build/lib/django/contrib/gis/measure.py
-rw-r--r--  1 XXXXXX XXXXX 12528 Dec 10 09:25 
build/lib/django/contrib/gis/measure.py

OK then,
# touch build/lib/django/contrib/csrf/tests.py
# ls -l build/lib/django/contrib/csrf/tests.py
-rw-r--r--  1 A01417 eawmd 5037 Dec 10 09:26 
build/lib/django/contrib/csrf/tests.py

Another "jython setup.py install" failed the same way further down, in 
contrib/webdesign. So I went on a touch rampage all over build/lib, 
then "jython setup.py install" completed OK.

But why was "jython setup.py build" making dodgy MTIMES in the build 
directory when stat in the source files looks fine?

Why is coreutils giving me nonsence with some of these dodgy MTIMES 
(but not all of them)?
History
Date User Action Args
2008-12-09 22:50:37worlddominationkitessetmessageid: <1228863037.31.0.567649725244.issue1166@psf.upfronthosting.co.za>
2008-12-09 22:50:37worlddominationkitessetrecipients: + worlddominationkites, fwierzbicki, pjenvey, thijs
2008-12-09 22:50:37worlddominationkiteslinkissue1166 messages
2008-12-09 22:50:36worlddominationkitescreate