[ python-Bugs-1355883 ] make depend/clean issues w/ ast

SourceForge.net noreply at sourceforge.net
Fri Dec 16 22:49:34 CET 2005


Bugs item #1355883, was opened at 2005-11-13 14:27
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1355883&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Nobody/Anonymous (nobody)
Summary: make depend/clean issues w/ ast

Initial Comment:
I noticed two issues with the ast vis a vis building and
cleaning.  Haven't had a chance to look into them,
however...

1.  From a fresh checkout, execute configure, then
"make -j2".  It will run Parser/asdl_c.py twice
simultaneously.  This can obviously lead to
corrupt Python-ast.[ch] files.

2. Neither "make clean" nor "make distclean" delete
the Python-ast.[ch] files.  "make distclean" at least
should.  


----------------------------------------------------------------------

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-12-16 22:49

Message:
Logged In: YES 
user_id=1188172

Is that still an issue?

----------------------------------------------------------------------

Comment By: Thomas Lee (krumms)
Date: 2005-11-13 17:58

Message:
Logged In: YES 
user_id=315535

Fix for part 1 here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1355971&group_id=5470&atid=305470


----------------------------------------------------------------------

Comment By: Thomas Lee (krumms)
Date: 2005-11-13 17:45

Message:
Logged In: YES 
user_id=315535

Already on it :) Shall have a patch up shortly.

----------------------------------------------------------------------

Comment By: Skip Montanaro (montanaro)
Date: 2005-11-13 17:44

Message:
Logged In: YES 
user_id=44345

I was thinking it might be something like that.  Perhaps asdl_c.py
should be modified to accept an output flag (--output=[hc] or -h/-c)
so it only generates one file or the other.


----------------------------------------------------------------------

Comment By: Thomas Lee (krumms)
Date: 2005-11-13 17:24

Message:
Logged In: YES 
user_id=315535

The first problem is being caused by a simple
misunderstanding/oversight in Makefile.pre.in.

The rule for a target will be called for each target. In our
case, we have Python-ast.h and Python-ast.c in our list of
targets. So asdl_c.py gets called once for each target.

Hope this makes sense. :)

If not I can bang up a patch so you can at least see what
I'm on about.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1355883&group_id=5470


More information about the Python-bugs-list mailing list