pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5



The following reply was made to PR pkg/43239; it has been noted by GNATS.

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after 
upgrade to 2.6.5
Date: Mon, 3 May 2010 23:39:10 -0400

 >When the package was modified to exclude pyexpat from the build, the
 >test suite coverage wasn't correspondingly altered, so when the test
 >runs, it tries to access a module that doesn't exist.
 
 I should add, unless the module in question exists elsewhere because it
 was built previously.  The module isn't built in the python26 package,
 so it shouldn't be tested, true, but the test was finding the pre-
 existing pyexpat package in my environment and making use of it.  (So
 the path to search for modules needs to be sanitized too, for testing.)
 
 I tested before and after situations with a VM image of 5.99.27/amd64.
 If I test with 2.6.4 and py26-expat from a vintage of several months
 ago, test_pyexpat.py works as expected.
 
 test_ordered_attributes (__main__.SetAttributeTest) ... ok
 test_returns_unicode (__main__.SetAttributeTest) ... ok
 test_specified_attributes (__main__.SetAttributeTest) ... ok
 test_parse_file (__main__.ParseTest) ... ok
 test_unicode (__main__.ParseTest) ... ok
 test_utf8 (__main__.ParseTest) ... ok
 test_illegal (__main__.NamespaceSeparatorTest) ... ok
 test_legal (__main__.NamespaceSeparatorTest) ... ok
 test_zero_length (__main__.NamespaceSeparatorTest) ... ok
 test (__main__.InterningTest) ... ok
 test1 (__main__.BufferTextTest) ... ok
 test2 (__main__.BufferTextTest) ... ok
 test3 (__main__.BufferTextTest) ... ok
 test4 (__main__.BufferTextTest) ... ok
 test5 (__main__.BufferTextTest) ... ok
 test6 (__main__.BufferTextTest) ... ok
 test7 (__main__.BufferTextTest) ... ok
 test_buffering_enabled (__main__.BufferTextTest) ... ok
 test_default_to_disabled (__main__.BufferTextTest) ... ok
 test (__main__.HandlerExceptionTest) ... ok
 test (__main__.PositionTest) ... ok
 test_parse_only_xml_data (__main__.sf1296433Test) ... ok
 test_1000_bytes (__main__.ChardataBufferTest) ... ok
 test_1025_bytes (__main__.ChardataBufferTest) ... ok
 test_change_size_1 (__main__.ChardataBufferTest) ... ok
 test_change_size_2 (__main__.ChardataBufferTest) ... ok
 test_disabling_buffer (__main__.ChardataBufferTest) ... ok
 test_unchanged_size (__main__.ChardataBufferTest) ... ok
 test_wrong_size (__main__.ChardataBufferTest) ... ok
 test1 (__main__.MalformedInputText) ... ok
 test2 (__main__.MalformedInputText) ... ok
 
 ----------------------------------------------------------------------
 Ran 31 tests in 0.007s
 
 OK
 
 If I test with 2.6.5 and py26-expat from today's pkgsrc, I end up with
 a crash.
 
 test_ordered_attributes (__main__.SetAttributeTest) ... ok
 test_returns_unicode (__main__.SetAttributeTest) ... ok
 test_specified_attributes (__main__.SetAttributeTest) ... ok
 test_parse_file (__main__.ParseTest) ... ok
 test_unicode (__main__.ParseTest) ... ok
 test_utf8 (__main__.ParseTest) ... ok
 test_illegal (__main__.NamespaceSeparatorTest) ... ok
 test_legal (__main__.NamespaceSeparatorTest) ... ok
 test_zero_length (__main__.NamespaceSeparatorTest) ... ok
 test (__main__.InterningTest) ... ok
 test1 (__main__.BufferTextTest) ... ok
 test2 (__main__.BufferTextTest) ... ok
 test3 (__main__.BufferTextTest) ... ok
 test4 (__main__.BufferTextTest) ... ok
 test5 (__main__.BufferTextTest) ... ok
 test6 (__main__.BufferTextTest) ... ok
 test7 (__main__.BufferTextTest) ... ok
 test_buffering_enabled (__main__.BufferTextTest) ... ok
 test_default_to_disabled (__main__.BufferTextTest) ... ok
 test (__main__.HandlerExceptionTest) ... ok
 test (__main__.PositionTest) ... ok
 test_parse_only_xml_data (__main__.sf1296433Test) ... Memory fault (core =
 dumped)=20
 
 Steps to reproduce:
 
 -Build lang/python26.
 -Build textproc/py-expat.
 -Run the test_pyexpat.py test.  (It's installed in =
 pkg/lib/python2.6/test/.)
 
 I'm seeing this with both 5.1_RC1/i386 and 5.99.27/amd64.
 
 Dave=
 


Home | Main Index | Thread Index | Old Index