diff options
author | Moritz Klammler <moritz@klammler.eu> | 2015-04-04 03:59:48 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-04-21 15:18:52 +0200 |
commit | fc70e5ae0259684a586205d7c1433b1550b8091a (patch) | |
tree | 89fb3448fb8443260f65bca1b36ad654f2eae208 /.travis.yml | |
parent | bb9705e42c0eae2cfd880b5c645ae3c09c69543d (diff) | |
download | autoconf-archive-fc70e5ae0259684a586205d7c1433b1550b8091a.tar.gz |
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.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions