AM_PATH_PYTHON regression
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
automake1.11 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
[Test Case]
You can reproduce it by attempting a 'make distcheck' in any automake based AM_PYTHON using package (e.g. subunit).
[Regression Potential]
This fixes bad code with more careful code, so potential is low. The test case described should be all that is necessary.
------------------
AM_PATH_PYTHON used to generate install logic like:
if test -z "$(DESTDIR)"; then \
PYTHON=$(PYTHON) $(py_compile) --basedir "$(demodir)" $$dlist; \
else \
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(demodir)" $$dlist; \
fi; \
Now however, it generates it without the test -z guard, which makes regular 'make install', and 'make distcheck' fail:
make distcheck
....
../py-compile: Missing argument to --destdir.
tags: | added: patch |
Changed in automake1.11 (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: regression-release |
(Will attach patch soon, just testing it out)