[New-bugs-announce] [issue12152] Parser/asdl_c.py relies on mercurial repository revision

Matthias Klose report at bugs.python.org
Mon May 23 09:49:58 CEST 2011

New submission from Matthias Klose <doko at debian.org>:

when building without an hg repository present, the build fails with:

./Parser/asdl_c.py -h ../Include ../Parser/Python.asdl
Traceback (most recent call last):
  File "../Parser/asdl_c.py", line 1214, in <module>
  File "../Parser/asdl_c.py", line 1158, in main
    mod.version = get_file_revision(srcfile)
  File "../Parser/asdl_c.py", line 1142, in get_file_revision
    p = subprocess.Popen(args, stdout=subprocess.PIPE)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [../Include/Python-ast.h] Error 1

components: Build
messages: 136591
nosy: doko
priority: normal
severity: normal
status: open
title: Parser/asdl_c.py relies on mercurial repository revision
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list