Trying to build Julia, downloaded file checksum failure

I’m trying to build julia myself from 1.2.0 so I can play with the parser. (If there’s an easier way to just do that, please let me know :slight_smile: )

‘make’ is downloading a file and it fails with a reported checksum failure, but the checksum expected and actual are identical. I’m trying this on Windows Subsystem for Linux, so could be an issue there.

Any thoughts on how to resolve this?

Looks like Linux/Windows crud. Removed the newline from the checksum file and it got past that step. Ah well.

Partial fix:

dos2unix *.*
dos2unix */*.*
dos2unix */*/*.*
dos2unix */*/*/*.*
dos2unix */*/*/*/*.*
dos2unix */*/*/*/*/*.*
dos2unix */*/*/*/*/*/*.*
dos2unix */*/*/*/*/*/*/*.*
dos2unix */*/*/*/*/*/*/*/*.*
dos2unix */*/*/*/*/*/*/*/*/*.*
dos2unix */*/*/*/*/*/*/*/*/*/*.*
dos2unix */*/*/*/*/*/*/*/*/*/*/*.*
dos2unix */*/*/*/*/*/*/*/*/*/*/*/*.*

Now I’m stuck with this error:

/mnt/c/Users/nicho/source/repos/julia/deps/llvm.mk:528: *** Attempting to use gcc4 LLVM tarball, but compiling with cxx11 string ABI; set "CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0" to avoid linker errors.  Stop.
Makefile:60: recipe for target 'julia-deps' failed
make: *** [julia-deps] Error 2

@kristoffer.carlsson, didn’t you fix something like this at some point?

I put up https://github.com/JuliaLang/julia/pull/30753 but then it disappeared but then it came back, heh.

2 Likes

You’re talking about the line-ending issue? Any chance this also explains the new error?

Yes. Pretty sure, no.

Ah, figured it out: