Hi Martin,

Martin Krüger wrote:

> Adding
>     rv = 0
> to the /usr/lib/python2.5/py_compile.py should solve this.

Yes, looks like the initialization was left out when backporting
http://http://bugs.python.org/issue8233

It’s still building here, so I can’t confirm it works, but might save
you some time.

 debian/changelog                |    6 ++++++
 debian/patches/issue8233.dpatch |    5 +++--
 2 files changed, 9 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 debian/patches/issue8233.dpatch

diff --git a/debian/changelog b/debian/changelog
index 34634ec..4b6f16d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python2.5 (2.5.5-5.1) local; urgency=low
+
+  * Initialize return value for issue #8233 fix. Closes: #578596.
+
+ -- Jonathan Nieder <jrnie...@gmail.com>  Wed, 21 Apr 2010 03:00:29 -0500
+
 python2.5 (2.5.5-5) unstable; urgency=low
 
   * Fix issue #1923: Fixed the removal of meaningful spaces when PKG-INFO
diff --git a/debian/patches/issue8233.dpatch b/debian/patches/issue8233.dpatch
old mode 100644
new mode 100755
index 2afee1d..4c74fe2
--- a/debian/patches/issue8233.dpatch
+++ b/debian/patches/issue8233.dpatch
@@ -25,8 +25,8 @@ esac
 exit 0
 
 --- Lib/py_compile.py~ 2005-06-10 19:15:18.000000000 +0200
-+++ Lib/py_compile.py  2010-04-20 21:25:40.339251044 +0200
-@@ -149,16 +149,35 @@
++++ Lib/py_compile.py  2010-04-21 02:42:27.977561734 -0500
+@@ -149,16 +149,36 @@ def main(args=None):
      not specified) are compiled and the resulting bytecode is cached
      in the normal manner.  This function does not search a directory
      structure to locate source files; it only compiles files named
@@ -35,6 +35,7 @@ exit 0
 +    files is taken from standard input.
  
      """
++    rv = 0
      if args is None:
          args = sys.argv[1:]
 -    for filename in args:
-- 
1.7.1.rc1




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to