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

Error make #456

Closed
sd166 opened this issue Aug 25, 2018 · 7 comments
Closed

Error make #456

sd166 opened this issue Aug 25, 2018 · 7 comments

Comments

@sd166
Copy link

sd166 commented Aug 25, 2018

When executing a poppy, it produces the following error

Test suite failure for package types-common-0.16.0
    tests:  exited with: ExitFailure 1
Full log available at /root/wire-server/.stack-work/logs/types-common-0.16.0-test.log


    Tests
      Properties
        Ascii
          validate (toText x) == Right x:                             OK (0.03s)
            +++ OK, passed 100 tests.
          unsafeFromByteString (toByteString x) == x:                 OK (0.02s)
            +++ OK, passed 100 tests.
          validate (toText x <> "tests: <stdout>: commitBuffer: invalid argument (invalid character)


Test suite failure for package cannon-0.31.0
    cannon-tests:  exited with: ExitFailure 1
Full log available at /root/wire-server/.stack-work/logs/cannon-0.31.0-test.log


    benchmarking Cannon.Dict/slices 1
    time                 40.58 ms   (26.92 ms .. 54.13 ms)
                         0.688 R?   (0.437 R? .. 0.880 R?)
    mean                 35.48 ms   (26.18 ms .. 43.75 ms)
    std dev              16.78 ms   (11.98 ms .. 24.12 ms)
    variance introduced by outliers: 93% (severely inflated)

    benchmarking Cannon.Dict/slices 10
    time                 3.977 ms   (3.560 ms .. 4.414 ms)
                         0.885 R?   (0.792 R? .. 0.949 R?)
    mean                 4.314 ms   (3.940 ms .. 5.047 ms)
    std dev              1.535 ms   (790.3 cannon-tests: <stdout>: commitBuffer: invalid argument (invalid character)

Makefile:17: recipe for target 'fast' failed
make: *** [fast] Error 1
@neongreen
Copy link
Contributor

Looks like your terminal can't handle characters like µ (Greek mu). Try to set the locale to something that supports UTF-8 – does it help?

@neongreen
Copy link
Contributor

Also,

executing a poppy

:wat:

@sd166
Copy link
Author

sd166 commented Aug 25, 2018

I use putti as an ssh accessor. OS Ubuntu 16.04.

locale

LANG=en_US
LANGUAGE=en_US:
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

sudo locale-gen en_US.utf8

Same.

@neongreen
Copy link
Contributor

neongreen commented Aug 25, 2018 via email

@sd166
Copy link
Author

sd166 commented Aug 25, 2018

It helped. Thank you so much

@neongreen
Copy link
Contributor

neongreen commented Aug 25, 2018 via email

@fisx
Copy link
Contributor

fisx commented Aug 27, 2018

like this?

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

3 participants