# Julia package incompatibility

**URL:** <https://discourse.julialang.org/t/julia-package-incompatibility/108597>\
**Category:** Performance\
**Tags:** package\
**Created:** [January 9, 2024, 11:25pm UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597 "2024-01-09T23:25:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahnoor\_Pop](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mahnoor_pop/32/205364_2.png) [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Post date:** [January 9, 2024, 11:25pm UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/1 "2024-01-09T23:25:15Z")

</div>

Hi all! Ever since working with GLMakie, GraphMakie etc, I’ve been having a LOT of issues with my packages in Julia, it takes really really long for them to precompile at the start [1] (which is not how it’s been up until now), and I keep getting errors of methods not being found [2]. Yesterday I spent a huge chunk of time creating a completely new environment to see if it was any of the extra packages that were hanging around that were causing the issue, and managed to get everything working okay, but upon activating my package SRS2 today, I’m running into the same errors:

[1]

```julia
[Info: Precompiling GraphMakie [1ecd5474-83a3-4783-bb4f-06765db800d2]
[Info: Precompiling DynamicalSystems [61744808-ddfa-5f27-97ff-6e42cc95d634]
WARNING: Method definition adapt_structure(Any, OffsetArrays.OffsetArray{T, N, AA} where AA<:AbstractArray{T, N} where N where T) in module OffsetArrays at C:\Users\smahn\.julia\packages\OffsetArrays\0MOrf\src\OffsetArrays.jl:856 overwritten in module OffsetArraysAdaptExt at C:\Users\smahn\.julia\packages\OffsetArrays\rMTtC\ext\OffsetArraysAdaptExt.jl:9.
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition adapt_structure(Any, OffsetArrays.OffsetArray{T, N, AA} where AA<:AbstractArray{T, N} where N where T) in module OffsetArrays at C:\Users\smahn\.julia\packages\OffsetArrays\0MOrf\src\OffsetArrays.jl:856 overwritten in module OffsetArraysAdaptExt at C:\Users\smahn\.julia\packages\OffsetArrays\rMTtC\ext\OffsetArraysAdaptExt.jl:9.
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition adapt_structure(Any, OffsetArrays.OffsetArray{T, N, AA} where AA<:AbstractArray{T, N} where N where T) in module OffsetArrays at C:\Users\smahn\.julia\packages\OffsetArrays\0MOrf\src\OffsetArrays.jl:856 overwritten in module OffsetArraysAdaptExt at C:\Users\smahn\.julia\packages\OffsetArrays\rMTtC\ext\OffsetArraysAdaptExt.jl:9.
  **incremental compilation may be fatally broken for this module**

WARNING: Method definition adapt_structure(Any, OffsetArrays.OffsetArray{T, N, AA} where AA<:AbstractArray{T, N} where N where T) in module OffsetArrays at C:\Users\smahn\.julia\packages\OffsetArrays\0MOrf\src\OffsetArrays.jl:856 overwritten in module OffsetArraysAdaptExt at C:\Users\smahn\.julia\packages\OffsetArrays\rMTtC\ext\OffsetArraysAdaptExt.jl:9.
  **incremental compilation may be fatally broken for this module**

```

The way I’m currently working around it is that I’ve downloaded Julia _1.10.0_, and working out of that command terminal… has anyone got any suggestions? Thanks!

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [January 9, 2024, 11:29pm UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/2 "2024-01-09T23:29:23Z")

</div>

> The way I’m currently working around it is that I’ve downloaded Julia 1.0.0

Please tell me this is a typo and you mean 1.10.0?

---

<div class="post-metadata">

**Author:** ![Mahnoor\_Pop](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mahnoor_pop/32/205364_2.png) [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Post date:** [January 9, 2024, 11:47pm UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/3 "2024-01-09T23:47:22Z")

</div>

Yes oh my goodness!

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [January 10, 2024, 2:45am UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/4 "2024-01-10T02:45:25Z")

</div>

Please provide the output of the following commands.

```julia
using Pkg
pkg"status"
pkg"status -m"

```

---

<div class="post-metadata">

**Author:** ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Post date:** [January 11, 2024, 10:51am UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/5 "2024-01-11T10:51:01Z")

</div>

This is very strange. The error message points to line 856, which is

```julia
if !isdefined(Base, :get_extension)
  include("../ext/OffsetArraysAdaptExt.jl")
end

```

On v1.10.0, the check should evaluate to false, and the file should not be included. There should therefore be no conflict.

---

<div class="post-metadata">

**Author:** ![Mahnoor\_Pop](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mahnoor_pop/32/205364_2.png) [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Post date:** [January 18, 2024, 2:05am UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/6 "2024-01-18T02:05:22Z")

</div>

Hi,

Thank you so much for your insight. Updating to version 1.10.0 has resolved the issues.

---

<div class="post-metadata">

**Author:** ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Post date:** [January 18, 2024, 3:40am UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/7 "2024-01-18T03:40:15Z")

</div>

On which version did you encounter the issue previously? I thought you were using 1.10.0 already?

---

<div class="post-metadata">

**Author:** ![Mahnoor\_Pop](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mahnoor_pop/32/205364_2.png) [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Post date:** [January 23, 2024, 9:06pm UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597/8 "2024-01-23T21:06:03Z")

</div>

I was previously using Julia v1.9.3
