tags 11762 notabug close 11762 thanks On 06/22/2012 03:28 AM, Robert Collins wrote: > 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, > This is intended, and the py-compile script has indeed been adjusted accordingly to understand that an empty argument for "--destdir" means "we are not using $(DESTDIR)".
> which makes regular 'make install', and 'make distcheck' fail: > make distcheck > .... > ../py-compile: Missing argument to --destdir. > This is likely happening because the maintainer have updated his Makefiles to Automake 1.12, but forgot to update the 'py-compile' script. So this is a user error, not an Automake's fault. > I reported this in Ubuntu as bug 997456 - > bugs.launchpad.net/bugs/997456; we've patched it locally by reverting > the previous patch. > I suggest you fix the inconsistent upgrade of the affected packages' built systems instead. Regards, Stefano