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

trouble building SpecialFunctions in macOS 10.14 #141

Closed
bjce opened this issue Jan 1, 2019 · 3 comments
Closed

trouble building SpecialFunctions in macOS 10.14 #141

bjce opened this issue Jan 1, 2019 · 3 comments

Comments

@bjce
Copy link

bjce commented Jan 1, 2019

I tried to build SpecialFunctions on macOS 10.14 and JuliaPro 1.0.2.1 and got the following message (although I ran the same command in Julia 1.0.3 without problem)

julia> Pkg.build("SpecialFunctions")
  Building SpecialFunctions → `~/.juliapro/packages/SpecialFunctions/KvXoO/deps/build.log`
┌ Error: Error building `SpecialFunctions`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ ┌ Warning: Could not extract the platform key of https://github.com/JuliaMath/OpenspecfunBuilder/releases/download/v0.5.3-1/libopenspecfun.x86_64-apple-darwin14.tar.gz; continuing...
│ └ @ BinaryProvider /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/Prefix.jl:185
│ [ Info: JuliaTeam: redirecting https://github.com/JuliaMath/OpenspecfunBuilder/releases/download/v0.5.3-1/libopenspecfun.x86_64-apple-darwin14.tar.gz to https://pkg.juliacomputing.com/binary/OpenspecfunBuilder/v0.5.3-1/libopenspecfun.x86_64-apple-darwin14.tar.gz
│ [ Info: JuliaTeam: redirecting https://github.com/JuliaMath/OpenspecfunBuilder/releases/download/v0.5.3-1/libopenspecfun.x86_64-apple-darwin14.tar.gz to https://pkg.juliacomputing.com/binary/OpenspecfunBuilder/v0.5.3-1/libopenspecfun.x86_64-apple-darwin14.tar.gz
│ ERROR: LoadError: ccall: could not find function mbedtls_ssl_check_pending in library libmbedtls.dylib
│ Stacktrace:
│  [1] ssl_check_pending(::MbedTLS.SSLContext) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/MbedTLS/src/ssl.jl:644
│  [2] wait_for_decrypted_data(::MbedTLS.SSLContext) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/MbedTLS/src/ssl.jl:285
│  [3] eof at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/MbedTLS/src/ssl.jl:178 [inlined]
│  [4] eof(::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/ConnectionPool.jl:155
│  [5] readuntil(::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, ::typeof(HTTP.Parsers.find_end_of_header)) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/IOExtras.jl:143
│  [6] readheaders(::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, ::HTTP.Messages.Response) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/Messages.jl:469
│  [7] startread(::HTTP.Streams.Stream{HTTP.Messages.Response,HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/Streams.jl:149
│  [8] eof at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/Streams.jl:182 [inlined]
│  [9] (::getfield(CredentialsHandler, Symbol("##2#4")){HTTP.Streams.Stream{HTTP.Messages.Response,HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}}})(::IOStream) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/CredentialsHandler/src/CredentialsHandler.jl:90
│  [10] #open#294(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(CredentialsHandler, Symbol("##2#4")){HTTP.Streams.Stream{HTTP.Messages.Response,HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}}}, ::String, ::Vararg{String,N} where N) at ./iostream.jl:369
│  [11] open at ./iostream.jl:367 [inlined]
│  [12] (::getfield(CredentialsHandler, Symbol("##1#3")){String})(::HTTP.Streams.Stream{HTTP.Messages.Response,HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/CredentialsHandler/src/CredentialsHandler.jl:89
│  [13] macro expansion at ./task.jl:266 [inlined]
│  [14] macro expansion at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/StreamRequest.jl:56 [inlined]
│  [15] macro expansion at ./task.jl:244 [inlined]
│  [16] #request#1(::Nothing, ::getfield(CredentialsHandler, Symbol("##1#3")){String}, ::Int64, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Type{HTTP.StreamRequest.StreamLayer}, ::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, ::HTTP.Messages.Request, ::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/StreamRequest.jl:54
│  [17] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.StreamRequest.StreamLayer}, ::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, ::HTTP.Messages.Request, ::Nothing) at ./none:0
│  [18] #request#1(::Nothing, ::Type, ::Int64, ::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::Type{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/ConnectionRequest.jl:52
│  [19] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::Nothing) at ./none:0
│  [20] (::getfield(Base, Symbol("###44#45#46")){ExponentialBackOff,getfield(HTTP.RetryRequest, Symbol("##2#3")){Bool,HTTP.Messages.Request},typeof(HTTP.request)})(::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::Type, ::Vararg{Any,N} where N) at ./error.jl:203
│  [21] ##44#47 at ./none:0 [inlined]
│  [22] #request#1 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/RetryRequest.jl:44 [inlined]
│  [23] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::Nothing) at ./none:0
│  [24] #request#1(::VersionNumber, ::String, ::Nothing, ::Function, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/MessageRequest.jl:47
│  [25] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at./none:0
│  [26] #request#1(::Int64, ::Bool, ::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/RedirectRequest.jl:24
│  [27] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}, ::typeof(HTTP.request), ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at ./none:0
│  [28] #request#3(::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol("##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandler, Symbol("##1#3")){String}}}}, ::Function, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/HTTP.jl:302
│  [29] #request at ./none:0 [inlined]
│  [30] #request#4 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/HTTP.jl:316 [inlined]
│  [31] #request at ./none:0 [inlined]
│  [32] #open#5 at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/HTTP.jl:341 [inlined]
│  [33] open at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/HTTP/src/HTTP.jl:341 [inlined]
│  [34] download at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/CredentialsHandler/src/CredentialsHandler.jl:88 [inlined] (repeats 2 times)
│  [35] (::getfield(BinaryProvider.JuliaTeam, Symbol("##1#2")){getfield(BinaryProvider, Symbol("##49#72"))})(::String, ::String) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/JuliaTeam.jl:18
│  [36] #download#93(::Bool, ::Function, ::String, ::String) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/PlatformEngines.jl:490
│  [37] #download at ./none:0 [inlined]
│  [38] macro expansion at ./logging.jl:306 [inlined]
│  [39] #download_verify#94(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/PlatformEngines.jl:586
│  [40] #download_verify at ./none:0 [inlined]
│  [41] #install#133(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/Prefix.jl:314
│  [42] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0
│  [43] top-level scope at /Users/mymac/.juliapro/packages/SpecialFunctions/KvXoO/deps/build.jl:40
│  [44] include_relative(::Module, ::String) at /Applications/JuliaPro-1.0.2.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [45] include(::Module, ::String) at /Applications/JuliaPro-1.0.2.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:? (repeats 2 times)
│  [46] top-level scope at none:0
│ in expression starting at /Users/mymac/.juliapro/packages/SpecialFunctions/KvXoO/deps/build.jl:2
└ @ Pkg.Operations /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1119

Is it related to #123?

@ararslan
Copy link
Member

ararslan commented Jan 1, 2019

So it works if you use the regular Julia binary downloaded from the website, but it fails if you use JuliaPro?

@bjce
Copy link
Author

bjce commented Jan 1, 2019

@ararslan thank you for your answer. I re-ran the command in regular Julia binary and JuliaPro. Now it runs without problem. In the meantime I think I updated packages and restarted JuliaPro several times. So I don't know what went wrong but now it works. Sorry for the noise...

@bjce bjce closed this as completed Jan 1, 2019
@ararslan
Copy link
Member

ararslan commented Jan 1, 2019

No worries, glad it works now!

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