Hi,

reading Jasper's mail from Tuesday that one can possibly still get updates in,
I've rushed and created packages for Python 2.5.5 and Python 2.6.4. The
packages compile, and 'make regress' runs ok for 2.5, but breaks for 2.6:

For Python 2.5:

284 tests OK.
38 tests skipped:
    test_aepack test_al test_applesingle test_bsddb3 test_cd test_cl
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_curses test_dl test_gl
    test_imageop test_imgfile test_linuxaudiodev test_locale
    test_macfs test_macostools test_nis test_normalization
    test_ossaudiodev test_pep277 test_plistlib test_rgbimg
    test_scriptpackages test_socket_ssl test_socketserver
    test_startfile test_sunaudiodev test_timeout test_unicode_file
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
Those skips are all expected on openbsd4.


For Python 2.6:

327 tests OK.
1 test failed:
    test_httpservers
37 tests skipped:
    test_aepack test_al test_applesingle test_bsddb3 test_cd test_cl
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_curses test_dl test_epoll
    test_gl test_imageop test_imgfile test_linuxaudiodev test_macos
    test_macostools test_multiprocessing test_normalization
    test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
    test_smtpnet test_socketserver test_startfile test_sunaudiodev
    test_timeout test_unicode_file test_urllib2net test_urllibnet
    test_winreg test_winsound test_zipfile64
Those skips are all expected on openbsd4.
Re-running failed tests in verbose mode
Re-running test 'test_httpservers' in verbose mode
test_command (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_handler (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_head_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_header_close (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_internal_key_error (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_request_line_trimming (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_return_custom_status (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_return_header_keep_alive (test.test_httpservers.BaseHTTPServerTestCase) 
... ok
test_send_blank (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_bogus (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_digits (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_invalid (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_none (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_version_none_get (test.test_httpservers.BaseHTTPServerTestCase) ... ok
test_get (test.test_httpservers.SimpleHTTPServerTestCase) ... FAIL
test_head (test.test_httpservers.SimpleHTTPServerTestCase) ... ok
test_invalid_requests (test.test_httpservers.SimpleHTTPServerTestCase) ... ok
test_authorization (test.test_httpservers.CGIHTTPServerTestCase) ... Traceback 
(most recent call last):
  File 
"/home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4/Lib/CGIHTTPServer.py", line 
255, in run_cgi
OSError: [Errno 13] Permission denied
FAIL
test_headers_and_content (test.test_httpservers.CGIHTTPServerTestCase) ... 
Traceback (most recent call last):
  File 
"/home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4/Lib/CGIHTTPServer.py", line 
255, in run_cgi
OSError: [Errno 13] Permission denied
FAIL
test_invaliduri (test.test_httpservers.CGIHTTPServerTestCase) ... ok
test_post (test.test_httpservers.CGIHTTPServerTestCase) ... Traceback (most 
recent call last):
  File 
"/home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4/Lib/CGIHTTPServer.py", line 
255, in run_cgi
OSError: [Errno 13] Permission denied
FAIL

======================================================================
FAIL: test_get (test.test_httpservers.SimpleHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4/Lib/test/test_httpservers.py",
 line 243, in test_get
    self.check_status_and_reason(response, 404)
  File 
"/home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4/Lib/test/test_httpservers.py",
 line 219, in check_status_and_reason
    self.assertEquals(response.status, status)
AssertionError: 200 != 404

======================================================================
FAIL: test_authorization (test.test_httpservers.CGIHTTPServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4/Lib/test/test_httpservers.py",
 line 340, in test_authorization
    (res.read(), res.getheader(tee: stdout: Resource temporarily unavailable
*** Error code 1

Stop in /home/sw/obsd/ports/obj/Python-2.6.4/Python-2.6.4 (line 705 of 
Makefile).
*** Error code 1

Stop in /home/sw/obsd/ports/lang/python/2.6 (line 2222 of 
/home/sw/obsd/ports/infrastructure/mk/bsd.port.mk).




I'll try to figure this one out, but, as always, would appreciater
some help.



Diffs for both ports are attached.

-- 
Kind regards,
--Toni++

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/python/2.5/Makefile,v
retrieving revision 1.30
diff -u -w -r1.30 Makefile
--- Makefile	25 Jun 2009 01:49:54 -0000	1.30
+++ Makefile	25 Feb 2010 10:42:00 -0000
@@ -1,8 +1,8 @@
 # $OpenBSD: Makefile,v 1.30 2009/06/25 01:49:54 jolan Exp $
 
 VERSION=		2.5
-PATCHLEVEL=		.4
-PKG_PATCHLEVEL=		p1
+PATCHLEVEL=		.5
+#PKG_PATCHLEVEL=		p1
 SHARED_LIBS=		python2.5 1.0
 
 .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/python/2.5/distinfo,v
retrieving revision 1.5
diff -u -w -r1.5 distinfo
--- distinfo	1 Jan 2009 21:03:27 -0000	1.5
+++ distinfo	25 Feb 2010 10:42:00 -0000
@@ -1,5 +1,5 @@
-MD5 (Python-2.5.4.tgz) = rUeyN3j2TtraqotVNJhu7Q==
-RMD160 (Python-2.5.4.tgz) = mTXyxccGW19HxjnkUTa0sPhcvrk=
-SHA1 (Python-2.5.4.tgz) = RPSm5cpUpDFtPZ2LgmU7KIi9u3k=
-SHA256 (Python-2.5.4.tgz) = PTsgVhHuUDo4qUM9VkWlcWaEILshkkLH9Rr4XwVmTaY=
-SIZE (Python-2.5.4.tgz) = 11604497
+MD5 (Python-2.5.5.tgz) = q8AhOco49CWOjjcvfaBciA==
+RMD160 (Python-2.5.5.tgz) = 3VkOOO0fGkbADjm29has1ZklOkQ=
+SHA1 (Python-2.5.5.tgz) = v5ni1732C8TotiNs2Y+VoHmZY5M=
+SHA256 (Python-2.5.5.tgz) = A74QGcT+k9rrU7qeQpS/IqjtTLhUy9V+JOFva/Y+I5I=
+SIZE (Python-2.5.5.tgz) = 11606370
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/lang/python/2.5/pkg/PLIST-main,v
retrieving revision 1.9
diff -u -w -r1.9 PLIST-main
--- pkg/PLIST-main	1 Jan 2009 21:03:27 -0000	1.9
+++ pkg/PLIST-main	25 Feb 2010 10:42:00 -0000
@@ -1173,7 +1173,7 @@
 lib/python2.5/keyword.pyc
 lib/python2.5/keyword.pyo
 lib/python2.5/lib-dynload/
-lib/python2.5/lib-dynload/Python-2.5.4-py2.5.egg-info
+lib/python2.5/lib-dynload/Python-2.5.5-py2.5.egg-info
 lib/python2.5/lib-dynload/_bisect.so
 lib/python2.5/lib-dynload/_codecs_cn.so
 lib/python2.5/lib-dynload/_codecs_hk.so
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/python/2.6/Makefile,v
retrieving revision 1.12
diff -u -w -r1.12 Makefile
--- Makefile	9 Feb 2010 12:23:59 -0000	1.12
+++ Makefile	25 Feb 2010 10:37:32 -0000
@@ -1,8 +1,8 @@
 # $OpenBSD: Makefile,v 1.12 2010/02/09 12:23:59 jasper Exp $
 
 VERSION=		2.6
-PATCHLEVEL=		.3
-PKG_PATCHLEVEL=		p1
+PATCHLEVEL=		.4
+PKG_PATCHLEVEL=		p0
 SHARED_LIBS=		python2.6 1.0
 
 # PSUBDIR=		python/${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/python/2.6/distinfo,v
retrieving revision 1.4
diff -u -w -r1.4 distinfo
--- distinfo	16 Oct 2009 09:38:20 -0000	1.4
+++ distinfo	25 Feb 2010 10:37:32 -0000
@@ -1,5 +1,5 @@
-MD5 (Python-2.6.3.tgz) = xIQlMhcPwKb56HhJfvwN3w==
-RMD160 (Python-2.6.3.tgz) = MA2Hj9fwI5MYjrMIsgyReTgHPUA=
-SHA1 (Python-2.6.3.tgz) = QaUefPXpit3OG2xOSpnqEoUxHfg=
-SHA256 (Python-2.6.3.tgz) = pxtVVAaQQl/YKrAIGa65LBsjy7RzCgzNLiXIM7IqgS4=
-SIZE (Python-2.6.3.tgz) = 13319447
+MD5 (Python-2.6.4.tgz) = F9ysM+TzrbaaV8Jge23iRg==
+RMD160 (Python-2.6.4.tgz) = exy8q1TySas+qC3A7iVdU/NV8h4=
+SHA1 (Python-2.6.4.tgz) = 8wx+ZMLK+KWHBauRhL6hLbOcoKk=
+SHA256 (Python-2.6.4.tgz) = GiWkdQbkFlcEz+KwfAoGSwtXYqLRi4+9rVr2iK6s0lI=
+SIZE (Python-2.6.4.tgz) = 13322131
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/lang/python/2.6/pkg/PLIST-main,v
retrieving revision 1.5
diff -u -w -r1.5 PLIST-main
--- pkg/PLIST-main	20 Jan 2010 08:15:21 -0000	1.5
+++ pkg/PLIST-main	25 Feb 2010 10:37:32 -0000
@@ -1260,7 +1260,7 @@
 lib/python2.6/keyword.pyc
 lib/python2.6/keyword.pyo
 lib/python2.6/lib-dynload/
-lib/python2.6/lib-dynload/Python-2.6.3-py2.6.egg-info
+lib/python2.6/lib-dynload/Python-2.6.4-py2.6.egg-info
 lib/python2.6/lib-dynload/_bisect.so
 lib/python2.6/lib-dynload/_bytesio.so
 lib/python2.6/lib-dynload/_codecs_cn.so
@@ -1325,9 +1325,9 @@
 lib/python2.6/lib-old/
 lib/python2.6/lib2to3/
 lib/python2.6/lib2to3/Grammar.txt
-lib/python2.6/lib2to3/Grammar2.6.3.final.0.pickle
+lib/python2.6/lib2to3/Grammar2.6.4.final.0.pickle
 lib/python2.6/lib2to3/PatternGrammar.txt
-lib/python2.6/lib2to3/PatternGrammar2.6.3.final.0.pickle
+lib/python2.6/lib2to3/PatternGrammar2.6.4.final.0.pickle
 lib/python2.6/lib2to3/__init__.py
 lib/python2.6/lib2to3/__init__.pyc
 lib/python2.6/lib2to3/__init__.pyo

Reply via email to