Julia 0.7-rc1.5 hangs on `build SpecialFunctions`


#1

Not sure if I should report this on JuliaLang issues or here. But on a complete clean install of Julia 0.7-rc1.5, attempting to (v0.7) pkg> add SpecialFunctions will get to the build step and never return. Build log file remains empty. Attached also interrupt stack trace. Below run is with JULIA_SPECIALFUNCTIONS_BUILD_SOURCE = true, but that seems to make no difference.

(v0.7) pkg> add SpecialFunctions
Cloning default registries into /Users/rob/.julia/registries
Cloning registry General from “https://github.com/JuliaRegistries/General.git
Updating registry at ~/.julia/registries/General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions…
Installed URIParser ──────── v0.4.0
Installed BinaryProvider ─── v0.3.3
Installed SpecialFunctions ─ v0.6.0
Installed Compat ─────────── v1.0.0
Installed BinDeps ────────── v0.8.8
Updating ~/.julia/environments/v0.7/Project.toml
[276daf66] + SpecialFunctions v0.6.0
Updating ~/.julia/environments/v0.7/Manifest.toml
[9e28174c] + BinDeps v0.8.8
[b99e7846] + BinaryProvider v0.3.3
[34da2185] + Compat v1.0.0
[276daf66] + SpecialFunctions v0.6.0
[30578b45] + URIParser v0.4.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Building SpecialFunctions → ~/.julia/packages/SpecialFunctions/kvjJe/deps/build.log

^CERROR: InterruptException:
Stacktrace:
[1] process_events at ./libuv.jl:98 [inlined]
[2] wait() at ./event.jl:246
[3] wait(::Condition) at ./event.jl:46
[4] stream_wait(::Base.Process, ::Condition) at ./stream.jl:47
[5] wait at ./process.jl:847 [inlined]
[6] success at ./process.jl:696 [inlined]
[7] success(::Base.CmdRedirect) at ./process.jl:708
[8] #49 at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1047 [inlined]
[9] #open#298(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(Pkg.Operations, Symbol("##49#54")){Cmd}, ::String, ::Vararg{String,N} where N) at ./iostream.jl:369
[10] open at ./iostream.jl:367 [inlined]
[11] (::getfield(Pkg.Operations, Symbol("##48#53")){String,Cmd,String})() at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1046
[12] #50 at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1066 [inlined]
[13] #38 at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:888 [inlined]
[14] withenv(::getfield(Pkg.Operations, Symbol("##38#43")){getfield(Pkg.Operations, Symbol("##50#55")){getfield(Pkg.Operations, Symbol("##48#53")){String,Cmd,String}},Pkg.Types.Context}, ::Pair{String,String}, ::Vararg{Pair{String,B} where B,N} where N) at ./env.jl:148
[15] (::getfield(Pkg.Operations, Symbol("##37#41")){Bool,getfield(Pkg.Operations, Symbol("##50#55")){getfield(Pkg.Operations, Symbol("##48#53")){String,Cmd,String}},Pkg.Types.Context,Pkg.Types.PackageSpec,Pkg.Types.Context})(::String) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:887
[16] mktempdir(::getfield(Pkg.Operations, Symbol("##37#41")){Bool,getfield(Pkg.Operations, Symbol("##50#55")){getfield(Pkg.Operations, Symbol("##48#53")){String,Cmd,String}},Pkg.Types.Context,Pkg.Types.PackageSpec,Pkg.Types.Context}, ::String) at ./file.jl:595
[17] mktempdir at ./file.jl:593 [inlined]
[18] #with_dependencies_loadable_at_toplevel#35(::Bool, ::Function, ::getfield(Pkg.Operations, Symbol("##50#55")){getfield(Pkg.Operations, Symbol("##48#53")){String,Cmd,String}}, ::Pkg.Types.Context, ::Pkg.Types.PackageSpec) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:838
[19] #with_dependencies_loadable_at_toplevel at ./none:0 [inlined]
[20] #build_versions#45(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Base.UUID,1}) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1064
[21] build_versions at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:998 [inlined]
[22] #add_or_develop#58(::Array{Base.UUID,1}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1159
[23] #add_or_develop at ./none:0 [inlined]
[24] #add_or_develop#13(::Symbol, ::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/API.jl:58
[25] (::getfield(Pkg.API, Symbol("#kw##add_or_develop")))(::NamedTuple{(:mode, :devdir),Tuple{Symbol,Nothing}}, ::typeof(Pkg.API.add_or_develop), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at ./none:0
[26] do_add_or_develop!(::Pkg.Types.Context, ::Array{Union{VersionRange, String, Command, Option, Rev},1}, ::Pkg.REPLMode.CommandKind) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:672
[27] #invokelatest#1 at ./essentials.jl:691 [inlined]
[28] invokelatest at ./essentials.jl:690 [inlined]
[29] do_cmd!(::Array{Union{VersionRange, String, Command, Option, Rev},1}, ::REPL.LineEditREPL) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:346
[30] #do_cmd#10(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:281
[31] do_cmd at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:278 [inlined]
[32] (::getfield(Pkg.REPLMode, Symbol("##26#29")){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:1067
[33] #invokelatest#1 at ./essentials.jl:691 [inlined]
[34] invokelatest at ./essentials.jl:690 [inlined]
[35] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:2261
[36] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:1029
[37] run_repl(::REPL.AbstractREPL, ::Function) at /Users/rob/Projects/Julia/julia/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:191
[38] macro expansion at ./logging.jl:311 [inlined]
[39] (::getfield(Base, Symbol("##831#833")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:352
[40] #invokelatest#1 at ./essentials.jl:691 [inlined]
[41] invokelatest at ./essentials.jl:690 [inlined]
[42] macro expansion at ./logging.jl:308 [inlined]
[43] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:340
[44] exec_options(::Base.JLOptions) at ./client.jl:252
[45] _start() at ./client.jl:432

julia> versioninfo()
Julia Version 0.7.0-rc1.5
Commit 25a8c9525a (2018-08-01 11:41 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin17.7.0)
CPU: Intel® Core™ i5-6267U CPU @ 2.90GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
Environment:
JULIA_PKG3_PRECOMPILE = true
JULIA_EDITOR = open -a SubEthaEdit.app
JULIA_SVG_BROWSER = Google Chrome.app
JULIA_SPECIALFUNCTIONS_BUILD_SOURCE = true


#2

Please do open an issue. Similar problem in CMakeWrappers, it seems: https://github.com/JuliaPackaging/CMakeWrapper.jl/issues/14.