[Python-bugs-list] [Bug #133050] Python-2.1a2 tests failed on NetBSD 1.5 i386

noreply@sourceforge.net noreply@sourceforge.net
Sun, 18 Feb 2001 23:19:00 -0800


Bug #133050, was updated on 2001-Feb-18 23:12
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: aandersen
Assigned to : nobody
Summary: Python-2.1a2 tests failed on NetBSD 1.5 i386

Details: Experiences from compiling and installing Python-2.1a2 on a NetBSD
1.5
i386 machine with the pth 1.3.7 thread implementation (thread library
installed as a NetBSD package and located in the /usr/pkg directory):

Configure done with the following command:

  CFLAGS=`pthread-config --cflags` \
  LDFLAGS=`pthread-config --ldflags` \
  LIBS=`pthread-config --libs` \
  ./configure 

Added thread information to CFLAGS and LDFLAGS in Makefile:

  CFLAGS=   $(OPT) -I/usr/pkg/include -I. -I$(srcdir)/Include $(DEFS)
  LDFLAGS=  -L/usr/pkg/lib

Build Python-2.1a2 with the `make' command.  Run tests (make test)
with the following results:

  Skipped: al, bsddb, cd, cl, dl, gdbm, gl, imgfile, linuxaudiodev,
  minidom, nis, pyexpat, sax, sunaudiodev, sundry, winreg, winsound

  Failed: fork1, largefile, mailbox, ucn

I noticed the following strange problems: `make test' hangs forever on
test_thread, but test_thread works OK done separately.  test_pty hangs
forever done separately, but works OK during `make test'.

Results from failed tests:

  $ ./python Lib/test/test_fork1.py
  Traceback (most recent call last):
    File "Lib/test/test_fork1.py", line 72, in ?
      main()
    File "Lib/test/test_fork1.py", line 47, in main
      verify(a == range(NUM_THREADS))
    File "./Lib/test/test_support.py", line 81, in verify
      raise TestFailed(reason)
  test_support.TestFailed: test failed

  $ ./python Lib/test/test_largefile.py
  Traceback (most recent call last):
    File "Lib/test/test_largefile.py", line 18, in ?
      f.seek(2147483649L)
  IOError: [Errno 22] Invalid argument

  $ ./python Lib/test/test_mailbox.py  
  Traceback (most recent call last):
    File "Lib/test/test_mailbox.py", line 23, in ?
      try: os.rmdir(newdir)
  OSError: [Errno 20] Not a directory: '@test/new'

  $ ./python Lib/test/test_mailbox.py 
  ...
  Testing unicode character name expansion strict error handling....
  Traceback (most recent call last):
    File "Lib/test/test_ucn.py", line 90, in ?
      raise AssertionError, "failed to raise an exception when given
	a bogus character name"
  AssertionError: failed to raise an exception when given a bogus
	character name


Follow-Ups:

Date: 2001-Feb-18 23:18
By: aandersen

Comment:
The last test was test_ucn and not test_mailbox.  Sorry
about the cut and paste error.

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

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133050&group_id=5470