[issue12225] current tip doesn't build without mercurial installed

2011-07-03 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 4e0c1128cda2 by Ralf Schmitt in branch '3.2':
disable ASDLGEN if hg won't work, or if python is not installed.
http://hg.python.org/cpython/rev/4e0c1128cda2

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-06-01 Thread Ralf Schmitt

Ralf Schmitt sch...@gmail.com added the comment:

Roumen Petrov rep...@bugs.python.org writes:

 Roumen Petrov bugtr...@roumenpetrov.info added the comment:

 Check for python executable is not complete . What about if system has
 only version 3+ installed ?

The shebang in Parser/asdl_c.py reads '#! /usr/bin/env python'.
That is what the makefile is calling. So unless you want to change the
Makefile too and start calling '@PYTHON@ Parser/asdl_c.py', I think the
check is rather complete.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: [issue12225] current tip doesn't build without mercurial installed

2011-06-01 Thread Ned Deily
In article e1qrx9p-0004nn...@dinsdale.python.org,
 Roundup Robot rep...@bugs.python.org wrote:

 Roundup Robot devnull@devnull added the comment:
 
 New changeset 435eec7b41f0 by Ralf Schmitt in branch 'default':
 disable ASDLGEN if hg won't work, or if python is not installed.
 http://hg.python.org/cpython/rev/435eec7b41f0
 
 --
 nosy: +python-dev
 resolution: duplicate - fixed

Whoever pushed this - as the OP mentioned, you need to run autoconf to 
get configure updated and push that as well.

-- 
 Ned Deily,
 n...@acm.org

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt

New submission from Ralf Schmitt sch...@gmail.com:

configure works, but make immediately fails:

% make  
./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
Traceback (most recent call last):
  File ./Parser/asdl_c.py, line 1214, in module
main(args[0])
  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.7/subprocess.py, line 672, in __init__
errread, errwrite)
  File /usr/lib/python2.7/subprocess.py, line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [Include/Python-ast.h] Error 1

--
messages: 137363
nosy: schmir
priority: normal
severity: normal
status: open
title: current tip doesn't build without mercurial installed
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Santoso Wijaya

Santoso Wijaya santoso.wij...@gmail.com added the comment:

FYI, the dependency is introduced in changeset 
http://hg.python.org/cpython/rev/0daa6ba25d9b

--
components: +Build
nosy: +santa4nt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

I'm closing this as invalid/duplicate, but I'm sure this isn't the last time 
we'll get this report.  It would be nice if we could think of a way to improve 
the situation.

--
nosy: +benjamin.peterson, r.david.murray
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - Parser/asdl_c.py relies on mercurial repository revision

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt

Ralf Schmitt sch...@gmail.com added the comment:

duplicate of http://bugs.python.org/issue12152

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

I should have mentioned the bug number in the body, thanks for adding that.  
FYI, the bug number also appears in the 'superseder' field, and (more 
interesting to you in this context) if you just say, for example, 
issue 12152 or #12152 roundup will automatically turn it into a link.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt

Ralf Schmitt sch...@gmail.com added the comment:

here's a patch that fixes the issue.
You can use hg import to apply it to your hg repo, autoconf has to be run 
afterwards.

The log message is:

disable ASDLGEN if hg won't work, or if python is not installed.

This change makes configure check for
- the existence of a hg repository
- the hg executable itself
- the python executable

Running $(srcdir)/Parser/asdl_c.py (i.e. ASDLGEN) will fail if any of
the above prerequisites is missing, so we now disable it instead.

Also see http://bugs.python.org/issue12225 and
http://bugs.python.org/issue12152

--
keywords: +patch
Added file: 
http://bugs.python.org/file22213/0001-disable-ASDLGEN-if-hg-won-t-work-or-if-python-is-not.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt

Ralf Schmitt sch...@gmail.com added the comment:

I've setup a hg repo on bitbucket with that patch.

--
hgrepos: +24

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ralf Schmitt

Changes by Ralf Schmitt sch...@gmail.com:


Added file: http://bugs.python.org/file22215/0908fbf86e43.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 435eec7b41f0 by Ralf Schmitt in branch 'default':
disable ASDLGEN if hg won't work, or if python is not installed.
http://hg.python.org/cpython/rev/435eec7b41f0

--
nosy: +python-dev
resolution: duplicate - fixed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

Check for python executable is not complete . What about if system has only 
version 3+ installed ?

--
nosy: +rpetrov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

2011/5/31 Roumen Petrov rep...@bugs.python.org:

 Roumen Petrov bugtr...@roumenpetrov.info added the comment:

 Check for python executable is not complete . What about if system has only 
 version 3+ installed ?

Then hg can't possibly be installed either.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Ned Deily

Ned Deily n...@acm.org added the comment:

As the OP notes, autoconf needs to be run to update `configure` and those 
changes needs to be pushed as well so that 'configure.in' and 'configure' are 
in sync again.

--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com