-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Infinite build time of CLI tool on Julia 1.10-beta1 #50839
Comments
It is waiting for pid=61589 to exit, which is a package bug. |
It’s weird it only occurs on 1.10. Is there a way to get more debugging info out of the build step? |
Older versions accidentally aborted it instead, which was worse for many other reasons. |
cc @timholy Update: I found the issue by doing a binary search of commenting out code. It turns out that it was the fault of one of my dependencies, PlotlyKaleido.jl. Apparently this package has some I/O resource hanging around, making precompilation/building hang. Somehow that package managed to precompile on its own (I think?), but using it as a dependency made precompilation of my own package hang. The following code gives the exact same issue I was seeing: module AirspeedVelocity
using PlotlyKaleido
end Is there a way to localize this I/O issue in the released Julia v1.10 so it is easier to track down? |
I fixed it in the dependency with this: JuliaPlots/PlotlyKaleido.jl#6 However there was really no easy way of finding this besides randomly turning on/off parts of code. The difficulty is compounded by the fact that only calling In case others stumble upon this thread, what's the best way of tracking something like this down? Or could such a thing be added to v1.10? |
x-post from comonicon/Comonicon.jl#249 as it may be a Julia bug.
I am experiencing infinite build times when compiling a Comonicon.jl-enabled CLI tool (AirspeedVelocity.jl) on Julia 1.10-beta1. Earlier versions of Julia such as 1.9.2 work fine.
To Reproduce
julia +1.10 -e 'using Pkg; Pkg.add("AirspeedVelocity")'
and, if needed,
Pkg.build("AirspeedVelocity")
.Screenshots
^ It gets stuck here
The log it mentions contains the following:
which is repeated over and over again.
More info:
cc @Roger-luo
The text was updated successfully, but these errors were encountered: