GNU bug report logs - #31222
automake 1.16.1 am__pep3147_tweak bug

Previous Next

Package: automake;

Reported by: Mark Thomas <mthomas <at> cmu.edu>

Date: Fri, 20 Apr 2018 14:56:02 UTC

Severity: normal

Tags: fixed

Done: Mathieu Lirzin <mthl <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mathieu Lirzin <mthl <at> gnu.org>
To: Mark Thomas <mthomas <at> cmu.edu>
Cc: 31222 <at> debbugs.gnu.org
Subject: bug#31222: automake 1.16.1 am__pep3147_tweak bug
Date: Sat, 21 Apr 2018 23:08:41 +0200
[Message part 1 (text/plain, inline)]
Hello Mark,

Mark Thomas <mthomas <at> cmu.edu> writes:

> The change to the "am__pep3147_tweak" variable included in
> <http://git.savannah.gnu.org/cgit/automake.git/commit/?id=006c4dfede96091f5bed622c17946cbec067347f>
> causes the generated Makefile files not to work on systems (such as
> macOS) where "sed" interprets "\n" in the substitution text as the
> letter "n" instead of as a newline.

Interesting. :-)

It seems that using a space instead of a newline work as well.

[sed-no-newline.patch (text/x-patch, inline)]
1 file changed, 1 insertion(+), 1 deletion(-)
lib/am/python.am | 2 +-

modified   lib/am/python.am
@@ -97,7 +97,7 @@ endif %?INSTALL%
 if %?INSTALL%
 
 ?FIRST?am__pep3147_tweak = \
-?FIRST?  sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc\n&.*.pyo|'
+?FIRST?  sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc &.*.pyo|'
 
 .PHONY uninstall-am: uninstall-%DIR%PYTHON
 uninstall-%DIR%PYTHON:

[Message part 3 (text/plain, inline)]
Can you confirm it works on your system?

Thanks for the report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

This bug report was last modified 6 years and 324 days ago.

Previous Next


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