[ python-Bugs-1022951 ] make test fails on HP-UX11i

SourceForge.net noreply at sourceforge.net
Wed Sep 8 09:12:38 CEST 2004


Bugs item #1022951, was opened at 2004-09-06 09:57
Message generated for change (Comment added) made by rptownsend
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1022951&group_id=5470

Category: Build
Group: Python 2.4
Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: Richard Townsend (rptownsend)
Assigned to: Nobody/Anonymous (nobody)
Summary: make test fails on HP-UX11i

Initial Comment:
Built Python-2.4a3 on HP-UX11i.

When running make test, I get the following error:

running build_scripts
         ./python -E -c 'import sys ; from distutils.util 
import get_platform ; print get_platform()+"-
"+sys.version[0:3]' >platform
        find ./Lib -name '*.py[co]' -print | xargs rm -f
         ./python -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 98, in ?
    import random
  File "/home/richardt/python-24/Python-
2.4a3/Lib/random.py", line 834, in ?
    _inst = Random()
  File "/home/richardt/python-24/Python-
2.4a3/Lib/random.py", line 100, in __init__
    self.seed(x)
  File "/home/richardt/python-24/Python-
2.4a3/Lib/random.py", line 117, in seed
    a = long(_hexlify(_urandom(16)), 16)
  File "/home/richardt/python-24/Python-
2.4a3/Lib/os.py", line 675, in urandom
    raise NotImplementedError("/dev/urandom (or 
equivalent) not found")
NotImplementedError: /dev/urandom (or equivalent) not 
found
*** Error exit code 1 (ignored)
         ./python -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 98, in ?
    import random
  File "/home/richardt/python-24/Python-
2.4a3/Lib/random.py", line 834, in ?
    _inst = Random()
  File "/home/richardt/python-24/Python-
2.4a3/Lib/random.py", line 100, in __init__
    self.seed(x)
  File "/home/richardt/python-24/Python-
2.4a3/Lib/random.py", line 117, in seed
    a = long(_hexlify(_urandom(16)), 16)
  File "/home/richardt/python-24/Python-
2.4a3/Lib/os.py", line 675, in urandom
    raise NotImplementedError("/dev/urandom (or 
equivalent) not found")
NotImplementedError: /dev/urandom (or equivalent) not 
found
*** Error exit code 1



----------------------------------------------------------------------

>Comment By: Richard Townsend (rptownsend)
Date: 2004-09-08 08:12

Message:
Logged In: YES 
user_id=200117

I copied the two files to my Python-2.4a3 installation and ran 
the test - all 37 tests ran OK.



----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2004-09-07 08:13

Message:
Logged In: YES 
user_id=80475

Thanks for report anyway.

After that patch was posted, a couple of other changes were
made.  Since you have a system that treats _urandom
differently from the rest of the development machines, it
would be great if you could load the latest version, run the
test, and report the results back here.

The two files attached below.

----------------------------------------------------------------------

Comment By: Richard Townsend (rptownsend)
Date: 2004-09-06 10:55

Message:
Logged In: YES 
user_id=200117

Sorry, I should have read the bugs page first!

Please disregard this report.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1022951&group_id=5470


More information about the Python-bugs-list mailing list