-
-
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
IO information statement after successful precompilation #52685
Comments
Note "See the developer documentation on fixing precompilation hangs for more help" which is directing you to https://docs.julialang.org/en/v1/devdocs/precompile_hang/ This messaging is definitely more internal looking/scary than it needs to be. There's been a lot of discussion about that |
Yes, I saw that hint after everything "succesfully precompiled" (as printed in the terminal). Sorry for my naive question, but why print the warning if everything was successful? |
I identified the dependency which causes this (https://github.com/oscar-system/Polymake.jl/). But the dependency runs the recommended Aqua check and it passes:
"Fixing" it with I am happy to hear that we are doing something wrong, but I am not sure where to look for the problem. |
I looked into this a bit and I can reproduce this with a dummy package and a second package that depends on it:
PkgC is empty except for using Pkg.Artifacts
function __init__()
download_artifact(Base.SHA1("4c207c7dc70b23755d9281a92daa9b8f11dc746d"), "https://github.com/JuliaBinaryWrappers/GMP_jll.jl/releases/download/GMP-v6.2.1+6/GMP.v6.2.1.x86_64-linux-gnu-cxx11.tar.gz", "cb20b68a814c37fa091f38a83f160c5025ecf3234401758c9ca820b10adc58b0")
end The warning only appears when the artifact is missing (and then installed) during precompilation. So it seems the Task / Timer comes from Pkg.jl (or Downloads.jl) ? And I guess it doesn't trigger during the Polymake.jl Aqua tests because the main test file runs PS: PkgA and PkgC are here https://github.com/benlorenz/MWEPkgTimer |
The warning here is that Downloads sleeps for 30 seconds after finishing, so precompile takes 30 seconds longer than it should |
dup |
If this is a dup please link to the dup
@vtjnash is Downloads.jl sleeping like this fixed? |
Looks like it isn't fixed JuliaLang/Downloads.jl#223 |
I got this warning when I installed Makie. |
I updated to 1.10 and noticed that a warning(?) is printed after precompiling a package extension: With a fresh depot, I see the following:
Everything works fine afterwards, but why do I get this scary looking warning if everything was successfully precompiled? I am also not sure what to do with this warning. I believe I am not doing any fancy IO stuff in
Hecke → PolymakeExt
, just some ordinary method overloading.This is a regression, since on 1.9 everything is working as expected (no warning).
Version:
The text was updated successfully, but these errors were encountered: