Comments (4)
I think this is a duplicate of #513
from packagecompiler.jl.
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.
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.
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)
- Can't the JULIA_DEPOT_PATH be changed in apps?
- Package Compiler Fails on Julia v1.10 HOT 1
- Error in PackageCompiler.jl with Test.jl and `filter_stdlibs = true` in Julia 1.10 HOT 2
- Cache the "base" sysimage using Scratch.jl HOT 4
- Need to update Windows compilers for 1.11
- Sysimage documentation bug
- Type piracy on `Base` fails incremental sysimage builds (1.9 -> 1.10 regression) HOT 4
- Missing libcholmod when building apps with `filter_stdlibs = false` after updating PackageCompiler HOT 5
- Sysimage with `Plots.jl` breaks loading some shared libraries in R (via `RCall.jl`) HOT 1
- Compiled app errors when loading depencies HOT 2
- Building "examples/MyLib" fails on macOS HOT 1
- Error when creating a c-callable library on MacOS HOT 1
- Dependency analyzer seems to skip packages that are `import .PKGNAME` HOT 3
- Plans for the "true" Profile-Guided Optimization (PGO) in the compiler
- Zarr and DimensionalData in same package will not compile on macOS HOT 2
- Build from temporary depot (so that relocatability issues are locally reproducible)
- Failed consistency check when trying to relocate compiled app (MacOS) HOT 2
- Error for compiled executable program ran in another machine HOT 1
- How to select the GLIBC version for create_app?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packagecompiler.jl.