Skip to content

IO information statement after successful precompilation #52685

@thofma

Description

@thofma

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:

julia> import Pkg; Pkg.add(["Polymake", "Hecke"]); using Polymake, Hecke;
[...]
Precompiling project...
  71 dependencies successfully precompiled in 113 seconds
  1 dependency had output during precompilation:
┌ Hecke  PolymakeExt
│  [pid 43163] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   timer              0x600002616c00->0x10d7cc5e0
│  This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
│
│  [pid 43163] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   timer              0x600002616c00->0x10d7cc5e0
│  This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
└

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:

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_DEPOT_PATH = /var/folders/vw/fn8vgctd5bv0llw3_fnmrdz00000gn/T/tmp.HUocLdw3Y0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions