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

Building a package using PackageCompiler fails on Julia 1.1 #170

Closed
asinghvi17 opened this issue Jan 29, 2019 · 5 comments
Closed

Building a package using PackageCompiler fails on Julia 1.1 #170

asinghvi17 opened this issue Jan 29, 2019 · 5 comments

Comments

@asinghvi17
Copy link
Contributor

asinghvi17 commented Jan 29, 2019

using PackageCompiler
PackageCompiler.compile_package("Makie", force = false)

yields the output

Launching new julia process to run commands...
ERROR: Unexpected format of "Base.julia_cmd()", you may be using an incompatible version of Julia
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] build_julia_cmd(::String, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing) at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/static_julia.jl:213
 [3] snoop_vanilla(::Array{String,1}, ::String, ::Expr, ::String) at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/snooping.jl:14
 [4] snoop(::String, ::String, ::String, ::Array{Pair{String,String},1}, ::Array{String,1}) at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/snooping.jl:39
 [5] (::getfield(PackageCompiler, Symbol("##25#28")))(::Tuple{String,String}) at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/snooping.jl:65
 [6] map at ./tuple.jl:165 [inlined]
 [7] snoop_userimg at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/snooping.jl:54 [inlined]
 [8] #compile_package#39(::Bool, ::Bool, ::Bool, ::Nothing, ::Function, ::Tuple{String,String}) at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/PackageCompiler.jl:105
 [9] #compile_package at ./none:0 [inlined]
 [10] #compile_package#36 at /Users/anshul/.julia/packages/PackageCompiler/jBqfm/src/PackageCompiler.jl:92 [inlined]
 [11] (::getfield(PackageCompiler, Symbol("#kw##compile_package")))(::NamedTuple{(:force,),Tuple{Bool}}, ::typeof(compile_package), ::String) at ./none:0
 [12] top-level scope at none:0

The same statement worked without issue on Julia v1.0.2. It seems like a change in 1.1 that caused the error, specifically JuliaLang/julia #29858

Any advice on this would be appreciated.

OS: MacOS 10.14.2

@SimonDanisch
Copy link
Collaborator

Please always try to update first when running into a bug like this ;) This should be fixed in the newest tagged version!

@asinghvi17
Copy link
Contributor Author

asinghvi17 commented Jan 29, 2019 via email

@SimonDanisch
Copy link
Collaborator

Ah wait a second, seems like the tag didn't go through.
There does not seem to be any 0.5.2 tag in METADATA. @lucatrv I also don't see any PR to METADATA!
Could it be, that we need to retag so that attobot picks it up?

@asinghvi17 asinghvi17 changed the title Building package fails on Julia 1.1 Building a package using PackageCompiler fails on Julia 1.1 Jan 29, 2019
@asinghvi17
Copy link
Contributor Author

This particular issue has been resolved; however, a new one has cropped up in v0.6.0.

@lucatrv
Copy link
Collaborator

lucatrv commented Jan 29, 2019

@SimonDanisch yes apparently something went wrong with tag v0.5.2

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