GNU bug report logs - #11762
AM_PATH_PYTHON regression in automake 1.11.3

Previous Next

Package: automake;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11762 in the body.
You can then email your comments to 11762 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#11762; Package automake. (Fri, 22 Jun 2012 01:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Collins <robert <at> ubuntu.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 22 Jun 2012 01:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Collins <robert <at> ubuntu.com>
To: bug-automake <at> gnu.org
Subject: AM_PATH_PYTHON regression in automake 1.11.3
Date: Fri, 22 Jun 2012 13:28:53 +1200
 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.

I reported this in Ubuntu as bug 997456 -
bugs.launchpad.net/bugs/997456; we've patched it locally by reverting
the previous patch.

Cheers,Rob




Information forwarded to bug-automake <at> gnu.org:
bug#11762; Package automake. (Fri, 22 Jun 2012 15:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 11762 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Robert Collins <robert <at> ubuntu.com>
Cc: 11762 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: Re: bug#11762: AM_PATH_PYTHON regression in automake 1.11.3
Date: Fri, 22 Jun 2012 17:06:16 +0200
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




Added tag(s) notabug. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 22 Jun 2012 15:11:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11762 <at> debbugs.gnu.org and Robert Collins <robert <at> ubuntu.com> Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 22 Jun 2012 15:11:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Jul 2012 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.