GNU bug report logs -
#11762
AM_PATH_PYTHON regression in automake 1.11.3
Previous Next
Reported by: Robert Collins <robert <at> ubuntu.com>
Date: Fri, 22 Jun 2012 01:47:01 UTC
Severity: normal
Tags: notabug
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #12 received at control <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 13 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.