Package precompilation fails after updating to 1.6.0

Hi everyone,

I am a package Developer (WavesAndEigenvalues.jl) and just updated my local Julia installation to v1.6.0. Unfortunately this leads to my local development branch failing precompilation and eventually rendering it unusable. I don’t really get what’s wrong there and am a bit puzzled with getting anything useful from the error report.

I get this weird when instantiating my package.

Clearly its something in my package that’s wrong but I am lost. Whats even more irritating to me, is that our latest stable release that is available from the registry runs without any problems and I haven’t change the dependencies.

Any help is very much appreciated.
Thank You
G

What do it say when you try using WavesAndEigenValues?

Hi Kristoffer,

when I run

import Pkg
Pkg.activate(".")
using WavesAndEigenvalues.jl

while my working directory is the local development version of the WavesAndEigenvalues repo.

I get this:

Thank you
G

Did you try follow the hint that the error message gave? Add a Pkg.instantiate() before the using.

1 Like

Jap.

When changing the code to

import Pkg
Pkg.instantiate()
Pkg.activate(".")
using WavesAndEigenvalues

I get


When instantiating after activating the package environment, i.e.,

import Pkg
Pkg.activate(".")
Pkg.instantiate()
using WavesAndEigenvalues

I get


Just found this thread, I ran into the same issue - what worked for me was deleting the Manifest.toml file from my package’s environment and running ] instantiate then ] build.

1 Like