autoconf-archive-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Autoconf Archive branch master updated. v2015.02.24-18-ge97cc58


From: E-mail notifications for the Autoconf Archive git repository.
Subject: GNU Autoconf Archive branch master updated. v2015.02.24-18-ge97cc58
Date: Tue, 21 Apr 2015 19:43:51 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf Archive".

The branch, master has been updated
       via  e97cc5830c898988f90a3b9fc8ce164c138c3a8d (commit)
       via  fc70e5ae0259684a586205d7c1433b1550b8091a (commit)
      from  bb9705e42c0eae2cfd880b5c645ae3c09c69543d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e97cc5830c898988f90a3b9fc8ce164c138c3a8d
Author: Peter Simons <address@hidden>
Date:   Tue Apr 21 15:19:44 2015 +0200

    travis.yml: run tests with Python3 to catch non-ASCII characters in macros

commit fc70e5ae0259684a586205d7c1433b1550b8091a
Author: Moritz Klammler <address@hidden>
Date:   Sat Apr 4 03:59:48 2015 +0200

    Removed non-ASCII characters in comments.
    
    These characters caused the `macro2m4.py` script to terminate with an error:
    
        $ make maintainer-all
        ...
        python ./macro2m4.py "m4/ax_compiler_flags_cflags.m4" 
"stage/ax_compiler_flags_cflags.m4"
        Traceback (most recent call last):
        File "./macro2m4.py", line 56, in <module>
          m = Macro(m4File, computeSerialNumber=True)
        File "~/src/autoconf-archive/macro.py", line 62, in __init__
          (header,body) = loadFile(filePath).split("\n\n", 1)
        File "~/src/autoconf-archive/macro.py", line 8, in loadFile
          return fd.read()
        File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
          return codecs.ascii_decode(input, self.errors)[0]
        UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 
3615: ordinal not in range(128)
        cfg.mk:35: recipe for target 'stage/ax_compiler_flags_cflags.m4' failed
        make: *** [stage/ax_compiler_flags_cflags.m4] Error 1
    
    This error might only occur when using Python 3.
    
    Since all affected characters were apostrophes in comments, I simply 
replaced
    them with ASCII character 39.
    
    The serial numbers of the files were incremented.

-----------------------------------------------------------------------

Summary of changes:
 .travis.yml                      |    4 ++--
 m4/ax_compiler_flags.m4          |    4 ++--
 m4/ax_compiler_flags_cflags.m4   |    4 ++--
 m4/ax_compiler_flags_cxxflags.m4 |    4 ++--
 m4/ax_compiler_flags_ldflags.m4  |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
GNU Autoconf Archive



reply via email to

[Prev in Thread] Current Thread [Next in Thread]