[Bug 997456] Re: AM_PATH_PYTHON regression

Clint Byrum clint at fewbar.com
Thu Jun 21 19:59:57 UTC 2012


Re-targetted at quantal and precise-proposed, uploaded to both.
Unsubscribing sponsors.

** Also affects: automake1.11 (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: automake1.11 (Ubuntu Precise)
       Status: New => Triaged

** Changed in: automake1.11 (Ubuntu Precise)
   Importance: Undecided => Medium

** Description changed:

+ [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; \
+    PYTHON=$(PYTHON) $(py_compile) --basedir "$(demodir)" $$dlist; \
  else \
-   PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(demodir)" $$dlist; \
+   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.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/997456

Title:
  AM_PATH_PYTHON regression

Status in “automake1.11” package in Ubuntu:
  Fix Released
Status in “automake1.11” source package in Precise:
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/automake1.11/+bug/997456/+subscriptions



More information about the Ubuntu-sponsors mailing list