Package: python-svn Version: 1.4.2-2 Severity: serious Tags: patch Justification: no longer builds from source
When LC_ALL != C and there is a subversion translation available, the build system tries to compare a translated string (here 'exporté') against the english word ('exported') (see Builder/brand_version.py line 28). The attached patch fix the problem. The exact error message is: /usr/bin/python2.3 ../Builder/brand_version.py ../Builder/version.info pysvn_version.hpp.template Info: revision exporté Traceback (most recent call last): File "../Builder/brand_version.py", line 31, in ? revision, modifiers = re.compile( '(\d+)(.*)' ).search( build_revision ).groups() AttributeError: 'NoneType' object has no attribute 'groups' -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (550, 'testing'), (500, 'stable'), (25, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-beyond2 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8) Versions of packages python-svn depends on: ii libapr0 2.0.55-4.1 The Apache Portable Runtime Librar ii libc6 2.3.6-19 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-10 GCC support library ii libstdc++6 4.1.1-10 The GNU Standard C++ Library v3 ii libsvn0 1.3.2-5+b1 Shared libraries used by Subversio ii libuuid1 1.39-1 universally unique id library ii python 2.4.3-11 An interactive high-level object-o ii python-central 0.5.5 register and build utility for Pyt python-svn recommends no packages. -- no debconf information
--- pysvn-1.4.2.orig/debian/rules 2006-08-17 22:37:19.000000000 +0200 +++ pysvn-1.4.2/debian/rules 2006-08-17 22:37:44.000000000 +0200 @@ -15,6 +15,7 @@ # This has to be exported to make some magic below work. export DH_OPTIONS +export LC_ALL=C CFLAGS = -Wall -g #-fvisibility=hidden -fvisibility-inlines-hidden
signature.asc
Description: OpenPGP digital signature