[issue22809] Include/graminit.h and Python/graminit.c always rebuilt (breaks cross builds)
Matt Frank
report at bugs.python.org
Thu Nov 6 22:12:58 CET 2014
New submission from Matt Frank:
changeset 92496:c2a53aa27cad (issue22359) broke cross builds. (Now "make touch; make" always tries to rebuild Include/graminit.h and Python/graminit.c by running "pgen". But "pgen" is a host executable and won't run on the build machine during a cross-build.)
I think the problem is here, around Makefile.pre.in line 750. The dependency was on PGENSRCS and is now on PGEN. Will changing it back to PGENSRCS break something else?
@@ -745,15 +746,13 @@
$(IO_OBJS): $(IO_H)
-$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS)
+$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGEN)
----------
components: Build, Cross-Build
messages: 230765
nosy: WanderingLogic
priority: normal
severity: normal
status: open
title: Include/graminit.h and Python/graminit.c always rebuilt (breaks cross builds)
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22809>
_______________________________________
More information about the Python-bugs-list
mailing list