This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: build problems on DEC Unix 4.0f
Type: Stage:
Components: Build Versions: Python 2.2
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, gareytm, loewis
Priority: normal Keywords:

Created on 2002-05-30 20:27 by gareytm, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (7)
msg10980 - (view) Author: Garey Mills (gareytm) Date: 2002-05-30 20:27
Building with cc instead of gcc (as recommended) and with configure switch '--with-dec-threads' (also 
recommended. 'make test yields the following errors and messages:

test test_bsddb crashed -- bsddb.error: (22, 'Invalid argument')

test test_format produced unexpected output:
**********************************************************************
*** lines 2-3 of actual output doesn't appear in expected output after line 1:
+ '%#o' % 0 == '00' != '0'
+ u'%#o' % 0 == u'00' != '0'
**********************************************************************


2 tests failed:
    test_bsddb test_format
27 tests skipped:
    test_al test_audioop test_cd test_cl test_curses test_dl test_gdbm
    test_gl test_gzip test_imageop test_imgfile test_linuxaudiodev
    test_locale test_minidom test_nis test_ntpath test_pyexpat
    test_rgbimg test_sax test_socket_ssl test_socketserver
    test_sunaudiodev test_unicode_file test_winreg test_winsound
    test_zipfile test_zlib
Ask someone to teach regrtest.py about which tests are
expected to get skipped on osf1V4.


Are test failures important? Who do I ask "to teach regrtest.py about which tests are expected to get 
skipped on osf1V4"?
msg10981 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-05-30 22:18
Logged In: YES 
user_id=21627

the test_format bug is not important; it indicates a bug in
the system's C library.

For recording expected skipped tests, see Lib/regrtest.py.
Search for win32, and submit a patch that records the
expected skips. Alternatively, just don't worry about this.

For test_:bsddb, please run "python Lib/regrtest.py -v
test_bsddb" separately, and report the output.
msg10982 - (view) Author: Garey Mills (gareytm) Date: 2002-05-30 22:40
Logged In: YES 
user_id=555793

Here are the command and output

# ./python Lib/test/regrtest.py -v test_bsddb
test_bsddb

Testing:  BTree
test test_bsddb crashed -- bsddb.error: (22, 'Invalid argument')
Traceback (most recent call last):
  File "Lib/test/regrtest.py", line 305, in runtest
    the_module = __import__(test, globals(), locals(), [])
  File "./Lib/test/test_bsddb.py", line 76, in ?
    test(type[0], type[1])
  File "./Lib/test/test_bsddb.py", line 18, in test
    f = openmethod(fname, 'c')
error: (22, 'Invalid argument')
1 test failed:
    test_bsddb
msg10983 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-05-31 22:12
Logged In: YES 
user_id=21627

Can you please edit the fragment in test_bsddb.py that reads

    f = openmethod(fname, 'c')

to print fname before that line? Apparently, mktemp returns
a bad file name.
msg10984 - (view) Author: Garey Mills (gareytm) Date: 2002-05-31 22:47
Logged In: YES 
user_id=555793

Here is the output of the test with the file name:

# ./python Lib/test/regrtest.py -v test_bsddb
test_bsddb

Testing:  BTree

fname:  /tmp/@18218.0
test test_bsddb crashed -- bsddb.error: (22, 'Invalid argument')
Traceback (most recent call last):
  File "Lib/test/regrtest.py", line 305, in runtest
    the_module = __import__(test, globals(), locals(), [])
  File "Lib/test/test_bsddb.py", line 79, in ?
    test(type[0], type[1])
  File "Lib/test/test_bsddb.py", line 21, in test
    f = openmethod(fname, 'c')
error: (22, 'Invalid argument')
1 test failed:
    test_bsddb

Garey
msg10985 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-06-01 21:05
Logged In: YES 
user_id=21627

Ok, I don't feel qualified to analyse this further from
remote. It seems that something on your system does not like
this file name; not sure whether this is the operating
system, bsddb, or something else. One would need to use
debugging techniques to get more information about the
nature of this problem. If you don't plan to use bsddb, you
can probably safely ignore this problem.
msg10986 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-06-05 21:56
Logged In: YES 
user_id=11375

No discussion in two years; closing this bug.
History
Date User Action Args
2022-04-10 16:05:22adminsetgithub: 36673
2002-05-30 20:27:45gareytmcreate