# problems building julia 0.7 on Linux

**URL:** <https://discourse.julialang.org/t/problems-building-julia-0-7-on-linux/12221>\
**Category:** Internals & Design\
**Created:** [July 6, 2018, 7:53pm UTC](https://discourse.julialang.org/t/problems-building-julia-0-7-on-linux/12221 "2018-07-06T19:53:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mywrathacademia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mywrathacademia/32/4615_2.png) [@mywrathacademia](https://discourse.julialang.org/u/mywrathacademia)\
**Post date:** [July 6, 2018, 7:53pm UTC](https://discourse.julialang.org/t/problems-building-julia-0-7-on-linux/12221/1 "2018-07-06T19:53:29Z")

</div>

When I run `make testall` it fails at the `cmdlineargs` test. I have uninstalled julia and set `FFLAGS=-ff2c` but it still fails. My `versioninfo()` is:

```julia
Julia Version 0.7.0-beta.182
Commit feaee9ebbc (2018-07-06 12:39 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, haswell)

```

Just before the test fails I get this warning:

```julia
┌ Warning: TerminalMenus: Unable to enter raw mode: ArgumentError("stream is closed or unusable")
└ @ REPL.TerminalMenus util.jl:21
      From worker 2:	
┌ Warning: TerminalMenus: Unable to enter raw mode: ArgumentError("stream is closed or unusable")
└ @ REPL.TerminalMenus util.jl:21

```

I think this warning has something to do with why the test failed.

The stacktrace of the error is on [pastebin](https://pastebin.com/zqWWhwkJ "Stack trace of cmdlineargs error")

Can I get some advice on this? Its getting to a point where I can’t spend more time debugging this.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [July 6, 2018, 8:28pm UTC](https://discourse.julialang.org/t/problems-building-julia-0-7-on-linux/12221/2 "2018-07-06T20:28:05Z")

</div>

That warning is unrelated, happens from time to time. Have you tried to run and investigate [julia/cmdlineargs.jl at ae8e95f249732ce4555584e8d0d8e469c4119edb · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/blob/ae8e95f249732ce4555584e8d0d8e469c4119edb/test/cmdlineargs.jl#L417-L429) manually? e.g. just starting the REPL and copy-pasting various parts?

---

<div class="post-metadata">

**Author:** ![mywrathacademia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mywrathacademia/32/4615_2.png) [@mywrathacademia](https://discourse.julialang.org/u/mywrathacademia)\
**Post date:** [July 7, 2018, 12:27pm UTC](https://discourse.julialang.org/t/problems-building-julia-0-7-on-linux/12221/3 "2018-07-07T12:27:24Z")

</div>

I haven’t tried that. Do I just copy and paste from line 417 to 429 in the REPL prompt? If so, line by line or the whole code block?

---

<div class="post-metadata">

**Author:** ![galenlynch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/galenlynch/32/17947_2.png) [@galenlynch](https://discourse.julialang.org/u/galenlynch)\
**Post date:** [August 16, 2018, 12:31pm UTC](https://discourse.julialang.org/t/problems-building-julia-0-7-on-linux/12221/4 "2018-08-16T12:31:41Z")

</div>

I also got the same test failure after building 0.7 with MKL. However, starting the REPL and trying the failed portion of the test manually does not fail. Weird…
