Giter Club home page Giter Club logo

Comments (4)

KristofferC avatar KristofferC commented on July 1, 2024

I think this is a duplicate of #513

from packagecompiler.jl.

JinyanTeng avatar JinyanTeng commented on July 1, 2024

I think this is a duplicate of #513

Actually, Sys.CPU_NAME is a variable defined by the Julia system. I can't understand why "not defined" is happening.

from packagecompiler.jl.

JinyanTeng avatar JinyanTeng commented on July 1, 2024

I encountered another error related to FFTW.jl that is a JuliaMatch package [https://github.com/JuliaMath/FFTW.jl].

Closest candidates are:
convert(::Type{String}, ::StringManipulation.Decoration)
@ StringManipulation /gpfs1p/nsccwuxi_scau/zhangz/.julia/packages/StringManipulation/5Zfrz/src/decorations.jl:315
convert(::Type{String}, ::Base.JuliaSyntax.Kind)
@ Base /gpfs1p/nsccwuxi_scau/zhangz/soft/julia-1.10.2/share/julia/base/JuliaSyntax/src/kinds.jl:975
convert(::Type{String}, ::String)
@ Base essentials.jl:321
...

Stacktrace:
[1] setproperty!
@ ./Base.jl:40 [inlined]
[2] setindex!(b::Base.RefValue{String}, x::Nothing)
@ Base ./refvalue.jl:60
[3] top-level scope
@ /gpfs1p/nsccwuxi_scau/zhangz/.julia/packages/FFTW/6nZei/src/providers.jl:51
[4] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[5] include(x::String)
@ FFTW /gpfs1p/nsccwuxi_scau/zhangz/.julia/packages/FFTW/6nZei/src/FFTW.jl:1
[6] top-level scope
@ /gpfs1p/nsccwuxi_scau/zhangz/.julia/packages/FFTW/6nZei/src/FFTW.jl:17
[7] include(mod::Module, _path::String)
@ Base ./Base.jl:495
[8] _require(pkg::Base.PkgId, env::Nothing)
@ Base ./loading.jl:2014
[9] __require_prelocked(uuidkey::Base.PkgId, env::Nothing)
@ Base ./loading.jl:1812
[10] #invokelatest#2
@ ./essentials.jl:892 [inlined]
[11] invokelatest
@ ./essentials.jl:889 [inlined]
[12] _require_prelocked
@ ./loading.jl:1805 [inlined]
[13] _require_prelocked
@ ./loading.jl:1802 [inlined]
[14] macro expansion
@ ./lock.jl:267 [inlined]
[15] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:1797
[16] top-level scope
@ /tmp/jl_uH27I9Ar6b:48
in expression starting at /gpfs1p/nsccwuxi_scau/zhangz/.julia/packages/FFTW/6nZei/src/providers.jl:49
in expression starting at /gpfs1p/nsccwuxi_scau/zhangz/.julia/packages/FFTW/6nZei/src/FFTW.jl:1
in expression starting at /tmp/jl_uH27I9Ar6b:48
✖ [01m:55s] PackageCompiler: compiling nonincremental system image

from packagecompiler.jl.

topolarity avatar topolarity commented on July 1, 2024

Those both look like issues related to the fact that __init__() does not run during sysimage compilation... That's an unfortunate thorn of our sysimage execution model right now.

Although, I am a bit confused how FFTW.jl was ever working with PackageCompiler (the source has some explicit references to it, so it must have worked at some point). I would have expected the package to always fail when trying to run that top-level code, since the JLL will look initialized for pkgimage builds but not for the sysimage built by PackageCompiler.

from packagecompiler.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.