Skip to content
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

Error when creating sysimage with MakieCore 0.8.2 #3957

Open
3 tasks done
bluesmoon opened this issue Jun 13, 2024 · 0 comments
Open
3 tasks done

Error when creating sysimage with MakieCore 0.8.2 #3957

bluesmoon opened this issue Jun 13, 2024 · 0 comments
Labels
bug Integration with other packages Makie Backend independent issues (Makie core)

Comments

@bluesmoon
Copy link

bluesmoon commented Jun 13, 2024

  • are you running newest version (version from docs) ?
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
  • What platform + GPU are you on?
    Ubuntu docker image running on Mac OS 14.

I do not directly use Makie. I have a package that depends on Polynomials, which in turn pulls in MakieCore.

I am on Julia 1.6.7, and I build a sysimage with all my modules using PackageCompiler.

The sysimage works when using MakieCore 0.7.3, but if I upgrade to MakieCore 0.8.2, I get this error:

PackageCompiler: compiling incremental system image
UndefRefError: access to undefined reference
Stacktrace:
  [1] getproperty
    @ ./Base.jl:33 [inlined]
  [2] getindex
    @ ./refvalue.jl:56 [inlined]
⠙ [00m:45s] PackageCompiler: compiling incremental system imageLineNumberNode, mod::Module, ex::Any)
    @ Base.Docs ./docs/Docs.jl:520
  [4] var"@doc"(__source__::LineNumberNode, __module__::Module, x::Vararg{Any, N} where N)
    @ Core ./boot.jl:508
  [5] #macroexpand#50
    @ ./expr.jl:112 [inlined]
  [6] macroexpand
    @ ./expr.jl:111 [inlined]
  [7] docm(source::LineNumberNode, mod::Module, meta::Any, ex::Any, define::Bool) (repeats 2 times)
    @ Base.Docs ./docs/Docs.jl:537
  [8] var"@doc"(__source__::LineNumberNode, __module__::Module, x::Vararg{Any, N} where N)
    @ Core ./boot.jl:508
  [9] include(mod::Module, _path::String)
    @ Base ./Base.jl:384
 [10] include(x::String)
    @ MakieCore ~/.julia/packages/MakieCore/8S3xT/src/MakieCore.jl:1
 [11] top-level scope
    @ ~/.julia/packages/MakieCore/8S3xT/src/MakieCore.jl:18
 [12] include
    @ ./Base.jl:384 [inlined]
 [13] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1072
 [14] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:936
 [15] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:923
 [16] include(mod::Module, _path::String)
    @ Base ./Base.jl:384
 [17] include(x::String)
    @ Polynomials ~/.julia/packages/Polynomials/vkyot/src/Polynomials.jl:6
 [18] top-level scope
    @ ~/.julia/packages/Polynomials/vkyot/src/Polynomials.jl:64
 [19] include
    @ ./Base.jl:384 [inlined]
 [20] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1072
 [21] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:936
 [22] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:923
 [23] include(mod::Module, _path::String)
    @ Base ./Base.jl:384
 [24] include(x::String)
    @ DSP ~/.julia/packages/DSP/H0J1V/src/DSP.jl:1
 [25] top-level scope
    @ ~/.julia/packages/DSP/H0J1V/src/DSP.jl:20
 [26] include
    @ ./Base.jl:384 [inlined]
 [27] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1072
 [28] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:936
 [29] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:923
 [30] include
    @ ./Base.jl:384 [inlined]
 [31] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1072
 [32] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:936
 [33] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:923
in expression starting at /home/ubuntu/.julia/packages/MakieCore/8S3xT/src/recipes.jl:411
in expression starting at /home/ubuntu/.julia/packages/MakieCore/8S3xT/src/basic_plots.jl:200
in expression starting at /home/ubuntu/.julia/packages/MakieCore/8S3xT/src/basic_plots.jl:200
in expression starting at /home/ubuntu/.julia/packages/MakieCore/8S3xT/src/MakieCore.jl:1
in expression starting at /home/ubuntu/.julia/packages/Polynomials/vkyot/ext/PolynomialsMakieCoreExt.jl:1
in expression starting at /home/ubuntu/.julia/packages/Polynomials/vkyot/src/Polynomials.jl:1
in expression starting at /home/ubuntu/.julia/packages/DSP/H0J1V/src/Filters/Filters.jl:1
in expression starting at /home/ubuntu/.julia/packages/DSP/H0J1V/src/DSP.jl:1

I do not quite understand the error, but if version 0.8 does not work with Julia 1.6.7, then the [compat] entry should list the minimum version it works with.

@bluesmoon bluesmoon added the bug label Jun 13, 2024
@ffreyer ffreyer added Makie Backend independent issues (Makie core) Integration with other packages labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Integration with other packages Makie Backend independent issues (Makie core)
Projects
None yet
Development

No branches or pull requests

2 participants