# Alert: 5 dependencies skipped during auto compilation due to previous errors!

**URL:** <https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215>\
**Category:** General Usage\
**Tags:** package\
**Created:** [June 20, 2021, 4:26am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215 "2021-06-20T04:26:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 20, 2021, 4:26am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/1 "2021-06-20T04:26:51Z")

</div>

I am getting the following alert when I update the packages:  
“140 dependencies successfully precompiled in 319 seconds (279 already precompiled, 5 skipped during auto due to previous errors)”  
I have done what the Pkg package follows, at the end of the update.  
Helps me to solve this problem.

```julia
julia> import Pkg

julia> Pkg.precompile()
Precompiling project...
  ✗ libpng_jll
  ✗ InteractBase
  ✗ GR_jll
  ✗ Interact
  0 dependencies successfully precompiled in 22 seconds (421 already precompiled)

ERROR: The following 1 direct dependency failed to precompile:

Interact [c601a237-2ae4-5e1e-952c-7a85b0c7eef1]

WARNING: Method definition istextmime(Base.Multimedia.MIME{Symbol("application/vnd.webio.node+json")}) in module WebIO at C:\Users\Hermesr\.julia\packages\WebIO\Fy9h1\src\WebIO.jl:32 overwritten in module WebIO on the same line (check for duplicate calls to `include`).
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition istextmime(Base.Multimedia.MIME{Symbol("application/vnd.webio.application+html")}) in module WebIO at C:\Users\Hermesr\.julia\packages\WebIO\Fy9h1\src\WebIO.jl:35 overwritten in module WebIO on the same line (check for duplicate calls to `include`).
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition show(IO, Base.Multimedia.MIME{Symbol("application/vnd.webio.node+json")}, Union{Observables.Observable{T} where T, Widgets.AbstractWidget{T, S} where S where T}) in module WebIO at C:\Users\Hermesr\.julia\packages\WebIO\Fy9h1\src\render.jl:330 overwritten in module WebIO on the same line (check for duplicate calls to `include`).
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition show(IO, Base.Multimedia.MIME{Symbol("text/html")}, Observables.Observable{T} where T) in module WebIO at C:\Users\Hermesr\.julia\packages\WebIO\Fy9h1\src\render.jl:326 overwritten in module WebIO on the same line (check for duplicate calls to `include`).
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition node##kw(Any, typeof(Widgets.node), Any...) in module WebIO at C:\Users\Hermesr\.julia\packages\WebIO\Fy9h1\src\node.jl:53 overwritten in module WebIO on the same line (check for duplicate calls to `include`).
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition node(Any...) in module WebIO at C:\Users\Hermesr\.julia\packages\WebIO\Fy9h1\src\node.jl:53 overwritten in module WebIO on the same line (check for duplicate calls to `include`).
  **incremental compilation may be fatally broken for this module**

┌ Warning: Replacing module `WebIO`
└ @ Base loading.jl:937
┌ Warning: Module WebIO with build ID 86343002665997 is missing from the cache.
│ This may mean WebIO [0f1e0344-ec1d-5b48-a673-e5cf874b6c29] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1008
┌ Warning: Module WebIO with build ID 86343002665997 is missing from the cache.
│ This may mean WebIO [0f1e0344-ec1d-5b48-a673-e5cf874b6c29] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1008
WARNING: both JSExpr and WebIO export "@js_str"; uses of it in module InteractBase must be qualified
ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: @js_str not defined
Stacktrace:
  [1] top-level scope
    @ :0
  [2] #macroexpand#50
    @ .\expr.jl:112 [inlined]
  [3] macroexpand
    @ .\expr.jl:111 [inlined]
  [4] docm(source::LineNumberNode, mod::Module, meta::Any, ex::Any, define::Bool) (repeats 2 times)
    @ Base.Docs .\docs\Docs.jl:537
  [5] var"@doc"( __source__ ::LineNumberNode, __module__ ::Module, x::Vararg{Any, N} where N)
    @ Core .\boot.jl:508
  [6] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [7] include(x::String)
    @ InteractBase C:\Users\Hermesr\.julia\packages\InteractBase\Zfu5P\src\InteractBase.jl:1
  [8] top-level scope
    @ C:\Users\Hermesr\.julia\packages\InteractBase\Zfu5P\src\InteractBase.jl:99
  [9] include
    @ .\Base.jl:386 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
    @ Base .\loading.jl:1213
 [11] top-level scope
    @ none:1
 [12] eval
    @ .\boot.jl:360 [inlined]
 [13] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [14] top-level scope
    @ none:1
in expression starting at C:\Users\Hermesr\.julia\packages\InteractBase\Zfu5P\src\input.jl:19
in expression starting at C:\Users\Hermesr\.julia\packages\InteractBase\Zfu5P\src\input.jl:5
in expression starting at C:\Users\Hermesr\.julia\packages\InteractBase\Zfu5P\src\input.jl:5
in expression starting at C:\Users\Hermesr\.julia\packages\InteractBase\Zfu5P\src\InteractBase.jl:1
ERROR: LoadError: Failed to precompile InteractBase [d3863d7c-f0c8-5437-a7b4-3ae773c01009] to C:\Users\Hermesr\.julia\compiled\v1.6\InteractBase\jl_4B70.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{IOStream})
    @ Base .\loading.jl:1360
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1306
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1021
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:914
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:901
  [7] include
    @ .\Base.jl:386 [inlined]
  [8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base .\loading.jl:1213
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\Hermesr\.julia\packages\Interact\SbgIk\src\Interact.jl:1
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55
 [2] precompile(ctx::Pkg.Types.Context; internal_call::Bool, strict::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:1244
 [3] precompile
   @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:920 [inlined]
 [4] #precompile#196
   @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:918 [inlined]
 [5] precompile()
   @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:918
 [6] top-level scope
   @ REPL[3]:1

julia>

```

---

<div class="post-metadata">

**Author:** ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Post date:** [June 20, 2021, 4:41am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/2 "2021-06-20T04:41:58Z")

</div>

Try to update `Interact`/`InteractBase`? It seems like it is broken (maybe two of its dependencies started exporting a macro they did not export before, and the semantic versioning was not sufficient to avoid the breakage).

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 20, 2021, 4:54am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/3 "2021-06-20T04:54:15Z")

</div>

> [@Henrique\_Becker](#):
>
> update `Interact` / `InteractBase` ?

How to run the Interact / Interact Base update?

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 20, 2021, 6:00am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/4 "2021-06-20T06:00:01Z")

</div>

```julia
(@v1.6) pkg> add CairoMakie
    Updating registry at `C:\Users\Hermesr\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
   Installed CairoMakie ─ v0.5.10
    Updating `C:\Users\Hermesr\.julia\environments\v1.6\Project.toml`
  [13f3f980] + CairoMakie v0.5.10
    Updating `C:\Users\Hermesr\.julia\environments\v1.6\Manifest.toml`
  [159f3aea] + Cairo v1.0.5
  [13f3f980] + CairoMakie v0.5.10
  [3b182d85] + Graphite2_jll v1.3.14+0
  [2e76f6c2] + HarfBuzz_jll v2.8.1+0
  [36c8627f] + Pango_jll v1.42.4+10
Precompiling project...
  ✗ HarfBuzz_jll
  ✗ Pango_jll
  ✗ Cairo
  ✗ CairoMakie
  0 dependencies successfully precompiled in 35 seconds (421 already precompiled, 5 skipped during auto due to previous errors)
  4 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages

```

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [June 20, 2021, 12:03pm UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/5 "2021-06-20T12:03:57Z")

</div>

I think Henrique meant `pkg> up Interact, InteractBase` – or perhaps even just `pkg> up` if your `compat` entries are up to date.  
Errors like the one you show after `add CairoMakie` I see all the time. Restarting the REPL often resolves those.

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 22, 2021, 4:37am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/6 "2021-06-22T04:37:18Z")

</div>

> [@hendri54](#):
>
> InteractBase

```julia
 up Interact
    Updating registry at `C:\Users\Hermesr\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Some registries failed to update:
│ — C:\Users\Hermesr\.julia\registries\General — failed to fetch from repo
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:1229
  No Changes to `C:\Users\Hermesr\.julia\environments\v1.6\Project.toml`
    Updating `C:\Users\Hermesr\.julia\environments\v1.6\Manifest.toml`
  [82e4d734] ↑ ImageIO v0.4.1 ⇒ v0.5.5
  [eebad327] + PkgVersion v0.1.1
  [276daf66] ↑ SpecialFunctions v1.1.0 ⇒ v1.5.1
  [731e570b] + TiffImages v0.3.2
Precompiling project...
  ✗ CairoMakie
  62 dependencies successfully precompiled in 222 seconds (362 already precompiled, 8 skipped during auto due to previous errors)
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

(@v1.6) pkg> up InteractBase
    Updating registry at `C:\Users\Hermesr\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Some registries failed to update:
│ — C:\Users\Hermesr\.julia\registries\General — failed to fetch from repo
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:1229
ERROR: The following package names could not be resolved:
 * InteractBase (d3863d7c-f0c8-5437-a7b4-3ae773c01009 in manifest but not in project)

```

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [June 22, 2021, 11:39am UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/7 "2021-06-22T11:39:56Z")

</div>

The second error says that `InteractBase` is not a direct dependency (it’s presumably in the Manifest b/c `Interact` depends on it). So `InteractBase`’s version is something you don’t have to worry about.  
The first error is hard to diagnose. My rule of thumb with registry problems is: just remove the registry with `registry rm General`. It will be reinstalled automatically when needed.  
There are various reports on discourse about registry updating problems on windows machines. One thing that may or may not help is to set `ENV["JULIA_PKG_SERVER"] = ""` after removing the registry.

See also

> [@Very slow "Updating registry at 'C:\\Users\\me\\.julia\\registries\\General'"](https://discourse.julialang.org/t/very-slow-updating-registry-at-c-users-me-julia-registries-general/51614/2):
>
> You can do the following: pkg\> registry rm General julia\> ENV["JULIA\_PKG\_SERVER"] = "" pkg\> registry add General Now it will update using Git which should be faster on windows. Only need to do this once.

> [@I have a ThinkPad running Windows 10 that seems stuck on Updating Registry when I](https://discourse.julialang.org/t/i-have-a-thinkpad-running-windows-10-that-seems-stuck-on-updating-registry-when-i/54285):
>
> I have a ThinkPad running Windows 10 that seems stuck on Updating Registry when I tried to add a package. In fact, after half an hour, it was still stuck. What could I do to make it go past updating registry? Note that the poster on Slack cannot see your response here on Discourse. Consider answering the question there or pinging the poster here on Discourse so they see the reponse. [(Original message slack)](https://julialang.slack.com/archives/C6A044SQH/p1612022425198800?thread_ts=1612022425.198800&cid=C6A044SQH)

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 22, 2021, 12:08pm UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/8 "2021-06-22T12:08:22Z")

</div>

> [@Very slow "Updating registry at 'C:\\Users\\me\\.julia\\registries\\General'"](https://discourse.julialang.org/t/very-slow-updating-registry-at-c-users-me-julia-registries-general/51614/2):
>
> ENV[“JULIA\_PKG\_SERVER”] = “”

```julia
julia> ENV["JULIA_PKG_SERVER"] = ""
""

(@v1.6) pkg> up
  Installing known registries into `C:\Users\Hermesr\.julia`
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Net, malformed URL 'fproxy2.ecp.elco.co.il:8080')
~~~\
```

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 22, 2021, 12:10pm UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/9 "2021-06-22T12:10:51Z")

</div>

```julia
julia> ENV["JULIA_PKG_SERVER"] = ""
""

(@v1.6) pkg> registry add General
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Net, malformed URL 'fproxy2.ecp.elco.co.il:8080')

(@v1.6) pkg>

```

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [June 22, 2021, 12:21pm UTC](https://discourse.julialang.org/t/alert-5-dependencies-skipped-during-auto-compilation-due-to-previous-errors/63215/10 "2021-06-22T12:21:55Z")

</div>

> [@hendri54](#):
>
> registry rm General

Previously this worked for me. And managed to update the registries!

```julia
Z:\>set http_proxy=fproxy2.ecp.elco.co.il:8080

Z:\>set https_proxy=fproxy2.ecp.elco.co.il:8080

Z:\>set JULIA_NO_VERIFY_HOSTS=**

Z:\>C:\Users\Hermesr\AppData\Local\Programs\Julia-1.6.1\bin\julia.exe
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.6.1 (2021-04-23)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

(@v1.6) pkg> register add General
ERROR: Could not determine command

(@v1.6) pkg> registry add General
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Net, malformed URL 'fproxy2.ecp.elco.co.il:8080')

```
