Skip to content

"make check" fails on Arch Linux #3883

@gifnksm

Description

@gifnksm

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions