Closed baggepinnen closed 7 years ago
Could you try:
cd(joinpath(Pkg.dir("Rmath"),"deps"))
include("build.jl")
No luck, it's the line
libRmath = library_dependency("libRmathjulia", aliases=["libRmath-julia"], validate = validate_Rmath)
that stalls, if that helps
Can you post the stack trace from when you cancelled it?
It's the stacktrace from the first post, I cancel it at the line ^CERROR (unhandled task failure): InterruptException:
julia> include("build.jl")
^CERROR: LoadError: InterruptException:
Stacktrace:
[1] process_events at ./libuv.jl:82 [inlined]
[2] wait() at ./event.jl:216
[3] wait(::Condition) at ./event.jl:27
[4] stream_wait(::Base.PipeEndpoint, ::Condition, ::Vararg{Condition,N} where N) at ./stream.jl:42
[5] close(::Base.PipeEndpoint) at ./stream.jl:326
[6] #eachline#379(::Bool, ::Function, ::Cmd, ::Base.DevNullStream) at ./process.jl:556
[7] (::Base.#kw##eachline)(::Array{Any,1}, ::Base.#eachline, ::Cmd, ::Base.DevNullStream) at ./<missing>:0
[8] read_sonames() at /local/home/fredrikb/.julia/v0.6/BinDeps/src/dependencies.jl:382
[9] lookup_soname(::String) at /local/home/fredrikb/.julia/v0.6/BinDeps/src/dependencies.jl:415
[10] #_find_library#46(::Type{T} where T, ::Function, ::BinDeps.LibraryDependency) at /local/home/fredrikb/.julia/v0.6/BinDeps/src/dependencies.jl:683
[11] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at /local/home/fredrikb/.julia/v0.6/BinDeps/src/dependencies.jl:895 (repeats 2 times)
[12] macro expansion at /local/home/fredrikb/.julia/v0.6/BinDeps/src/dependencies.jl:950 [inlined]
[13] anonymous at ./<missing>:?
[14] include_from_node1(::String) at ./loading.jl:569
[15] include(::String) at ./sysimg.jl:14
while loading /local/home/fredrikb/.julia/v0.6/Rmath/deps/build.jl, in expression starting on line 42
@tkelman Any ideas?
Try Pkg.pin("BinDeps", v"0.6.0")
. If that works, we revert https://github.com/JuliaLang/BinDeps.jl/pull/277 and close the corresponding base PR that's proposing to delete the old code that didn't freeze, unless Jameson can fix the new code.
That did the trick!
julia> Pkg.pin("BinDeps", v"0.6.0")
INFO: Creating BinDeps branch pinned.264e0860.tmp
INFO: No packages to install, update or remove
julia> Pkg.build("Rmath")
WARNING: No working GUI backend found for matplotlib
INFO: Building Rmath
julia>
Thanks a lot, this has been bugging me for a while!
@tkelman This is a bug in Julia. Please don't revert an unrelated bugfix in reaction. Will https://github.com/JuliaLang/julia/pull/22886 be backported soon? I believe that should fix the issue.
BinDeps 0.7.0 should then have a minimum version requirement of julia 0.6.1
given the old code works on released versions of julia and the new code doesn't, it should still be reverted for those versions of julia subject to the bug
This should be fixed now: please reopen if not fixed by Pkg.update()
.
I seem to have issues building
Rmath
. After having waited several minutes after the outputINFO: Building Rmath
and interrupting the process, I get the following stack trace. Is this supposed to take several minutes or is something wrong?