Skip to content

"make check" fails on Arch Linux #3883

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions