Closed
Description
On Arch Linux, make check fails with following messages.
$ make check (git)-[bigint]
cfg: shell host triple x86_64-unknown-linux-gnu
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: unix-y environment
cfg: using gcc
cfg: including dist rules
cfg: including test rules
check: formatting
File "/home/nksm/dev/rust-repo/src/etc/tidy.py", line 45
except UnicodeDecodeError, e:
^
SyntaxError: invalid syntax
File "/home/nksm/dev/rust-repo/src/etc/tidy.py", line 45
except UnicodeDecodeError, e:
...
Following command fixes the error.
sed -i 's/ python / python2 /' mk/tests.mk
Metadata
Metadata
Assignees
Labels
No labels