Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"make check" fails on Arch Linux #3883

Closed
gifnksm opened this issue Oct 29, 2012 · 2 comments
Closed

"make check" fails on Arch Linux #3883

gifnksm opened this issue Oct 29, 2012 · 2 comments

Comments

@gifnksm
Copy link
Contributor

gifnksm commented Oct 29, 2012

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
@brson brson closed this as completed in 24e10fe Oct 29, 2012
@gifnksm
Copy link
Contributor Author

gifnksm commented Oct 30, 2012

Thanks to @brson, but another error occured.

  File "/home/nksm/dev/rust-repo/src/etc/check-summary.py", line 17
    return sum(map(lambda (f, s): len(s.get(t, [])), summaries))
                          ^
SyntaxError: invalid syntax

I confirmed following command fixes the error, and no errors occures.

find src/etc -name "*.py" -exec sed -i 's/env python$/env python2/' 

@brson
Copy link
Contributor

brson commented Oct 30, 2012

That should be fixed too now.

bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this issue Sep 17, 2024
smoke-test './miri run --dep'

I don't actually know if this works on Windows.^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants