GithubHelp home page GithubHelp logo

Comments (7)

Evizero avatar Evizero commented on July 19, 2024

I am guessing this issue has two facets.

  1. For some reason it isn't satisfied with the downloaded binary, discards it and instead tries to build from scratch. This should probably not happen. EDIT: fixed this part by updating gfortran

  2. Building from scratch (regardless if justified or not) doesn't work because some code in there is broken. maybe some recent change in iterate?


EDIT:

I think i found the reason for 1. The downloaded lib is not dlopen able on my machine, which AFAICT BinaryProvider uses to determine satisfied.

julia> dlopen("libopenspecfun.so")
ERROR: could not load library "libopenspecfun.so"
libgfortran.so.4: cannot open shared object file: No such file or directory
Stacktrace:
 [1] dlopen(::String, ::UInt32) at /home/csto/Applications/julia-0.7/usr/share/julia/stdlib/v0.7/Libdl/src/Libdl.jl:97 (repeats 2 times)
 [2] top-level scope at none:0

This has to do with me using Ubuntu 16.04 LTS, which does not have apt-get access to something containing libgfortran.so.4 it seems. So I guess I still have to figure out problem 2. for building from scratch. EDIT: Ok so updating gfortran on ubuntu avoids the issue since it avoids scratch.jl. Unsure about OSX yet.

Concerning OSX: I have upgraded gcc via homebrew (which includes gfortran) and am now recompiling julia. Lets see if that helps there

from specialfunctions.jl.

JeffreySarnoff avatar JeffreySarnoff commented on July 19, 2024

I have a very similar issue with Travis when specifying SpecialFunctions is to be used in another package

from specialfunctions.jl.

Evizero avatar Evizero commented on July 19, 2024

do you have a link to a log?

from specialfunctions.jl.

JeffreySarnoff avatar JeffreySarnoff commented on July 19, 2024

not relevant

from specialfunctions.jl.

rdeits avatar rdeits commented on July 19, 2024

I think I'm hitting the same error in CMakeWrapper: JuliaPackaging/CMakeWrapper.jl#14

I was able to get at least part of a stacktrace in the build log:

┌ Warning: __precompile__() is now the default
│   caller = __precompile__() at loading.jl:777
└ @ Base ./loading.jl:777
┌ Warning: __precompile__() is now the default
│   caller = __precompile__() at loading.jl:777
└ @ Base ./loading.jl:777
┌ Warning: Deprecated syntax `try without catch or finally` at /home/rdeits/.julia/packages/BinDeps/2wxq/src/dependencies.jl:122.
└ @ ~/.julia/packages/BinDeps/2wxq/src/dependencies.jl:122
┌ Warning: The start/next/done iteration protocol is deprecated. Use `iterate` instead.
│   caller = iterate(::Symbol) at essentials.jl:853
└ @ Base ./essentials.jl:853
ERROR: LoadError: InterruptException:
Stacktrace:
 ... (the last 2 lines are repeated 13772 more times)
 [27562] backtrace() at ./stacktraces.jl:167
 [27562] macro expansion at ./deprecated.jl:72 [inlined]
 [27562] macro expansion at ./logging.jl:311 [inlined]
 [27562] depwarn(::String, ::Symbol) at ./deprecated.jl:68
 [27562] start(::Symbol) at ./essentials.jl:879
 [27562] iterate(::Symbol) at ./essentials.jl:853
 [27562] start(::Symbol) at ./essentials.jl:880
 [27562] iterate(::Symbol) at ./essentials.jl:853
 [27562] arg_gen(::Symbol) at ./process.jl:800
 [27562] cmd_gen(::Tuple{Tuple{Symbol},Tuple{SubString{String}}}) at ./process.jl:822
 [27562] download_cmd(::String, ::String) at /home/rdeits/.julia/packages/BinDeps/2wxq/src/BinDeps.jl:56
 [27562] lower(::FileDownloader, ::BinDeps.SynchronousStepCollection) at /home/rdeits/.julia/packages/BinDeps/2wxq/src/BinDeps.jl:272
 [27562] install_binaries(::String, ::String, ::String) at /home/rdeits/.julia/packages/BinDeps/2wxq/src/BinDeps.jl:308
 [27562] top-level scope at /home/rdeits/.julia/packages/CMakeWrapper/R7ZgO/deps/build.jl:90
 [27562] include at ./boot.jl:317 [inlined]
 [27562] include_relative(::Module, ::String) at ./loading.jl:1034
 [27562] include(::Module, ::String) at ./sysimg.jl:29
 [27562] include(::String) at ./client.jl:398
in expression starting at /home/rdeits/.julia/packages/CMakeWrapper/R7ZgO/deps/build.jl:88

I see what looks like a potential stack overflow in that stacktrace here:

 [27562] start(::Symbol) at ./essentials.jl:879
 [27562] iterate(::Symbol) at ./essentials.jl:853
 [27562] start(::Symbol) at ./essentials.jl:880
 [27562] iterate(::Symbol) at ./essentials.jl:853

And indeed I can reproduce that stack overflow easily. Just do iterate(:foo) on nightly to watch Julia freeze. I haven't gotten the actual stacktrace yet (still waiting), but I'm pretty sure this is the problem.

Next question: why is the source bulid trying to iterate over a symbol?

from specialfunctions.jl.

KristofferC avatar KristofferC commented on July 19, 2024

JuliaLang/julia#28391 maybe fixes it?

from specialfunctions.jl.

Evizero avatar Evizero commented on July 19, 2024

latest julia master seems to work. closing

from specialfunctions.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.