[issue6094] Python fails to build with Subversion 1.7

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Sat May 23 20:19:58 CEST 2009


New submission from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com>:

svnversion program from Subversion 1.7 (currently trunk), when invoked
on unversioned directory, prints "Unversioned directory" instead
"exported". This change in output is intentional and won't be reverted.

It causes build failure:
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -DNDEBUG -
-DSVNVERSION=\"`LC_ALL=C svnversion .`\" -o Modules/getbuildinfo.o
./Modules/getbuildinfo.c                                                                                                                                              
x86_64-pc-linux-gnu-gcc: directory": No such file or directory                                                                                               
<command-line>: warning: missing terminating " character                                                                                                     
./Modules/getbuildinfo.c: In function '_Py_svnversion':                                                                                                      
./Modules/getbuildinfo.c:48: error: missing terminating " character                                                                                          
./Modules/getbuildinfo.c:48: error: expected expression before ';'
token                                                                                     
make: *** [Modules/getbuildinfo.o] Error 1

I'm attaching the patch which fixes this problem and also updates
expected output of svnversion.

----------
components: Build
files: python-2.6.2-svnversion.patch
keywords: patch
messages: 88246
nosy: Arfrever
severity: normal
status: open
title: Python fails to build with Subversion 1.7
versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file14045/python-2.6.2-svnversion.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6094>
_______________________________________


More information about the Python-bugs-list mailing list