Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denizyuret/dcf47516b0379ce1f7fce8069610d039 to your computer and use it in GitHub Desktop.
Save denizyuret/dcf47516b0379ce1f7fce8069610d039 to your computer and use it in GitHub Desktop.
[ Info: PackageCompiler: creating system image object file, this might take a while...
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
┌ Error: Failed to monkey-patch `julia`
│ exception = (Declaring __precompile__(false) is not allowed in files that are being precompiled., Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x00007f4f0e546078, Ptr{Nothing} @0x00007f4f0e5acd44, Ptr{Nothing} @0x00007f4f0e561970, Ptr{Nothing} @0x00007f4f0e5624b3, Ptr{Nothing} @0x00007f4f0e562e4d, Base.InterpreterIP in top-level CodeInfo for Base at statement 6, Ptr{Nothing} @0x00007f4f0e57e984, Ptr{Nothing} @0x00007f4f0e58054b, Ptr{Nothing} @0x00007f4ef6e61c6b, Ptr{Nothing} @0x00007f4ef6e61cb3, Ptr{Nothing} @0x00007f4f0e54399d, Ptr{Nothing} @0x00007f4f0e561824, Ptr{Nothing} @0x00007f4f0e561334, Ptr{Nothing} @0x00007f4f0e562073, Ptr{Nothing} @0x00007f4f0e56245f, Ptr{Nothing} @0x00007f4f0e562e4d, Base.InterpreterIP in top-level CodeInfo for Main at statement 146, Ptr{Nothing} @0x00007f4f0e57e984, Ptr{Nothing} @0x00007f4f0e57f139, Ptr{Nothing} @0x00007f4f0e58054b, Ptr{Nothing} @0x00007f4ef8305f2f, Ptr{Nothing} @0x00007f4f0e54399d, Ptr{Nothing} @0x00007f4ef82f613b, Ptr{Nothing} @0x00007f4ef82f62ab, Ptr{Nothing} @0x00007f4ef82f62f3, Ptr{Nothing} @0x00007f4f0e54399d, Ptr{Nothing} @0x00007f4f0e561824, Ptr{Nothing} @0x00007f4f0e561334, Ptr{Nothing} @0x00007f4f0e562073, Ptr{Nothing} @0x00007f4f0e562e4d, Base.InterpreterIP in top-level CodeInfo for Main at statement 3, Ptr{Nothing} @0x00007f4f0e57e984, Ptr{Nothing} @0x00007f4f0e57f139, Ptr{Nothing} @0x00007f4f0e58054b, Ptr{Nothing} @0x00007f4f0e5ad667, Ptr{Nothing} @0x00007f4f12d5de2b, Ptr{Nothing} @0x00007f4f12d5d754, Ptr{Nothing} @0x00007f4f12f7ee11, Ptr{Nothing} @0x00007f4f12f78535, Ptr{Nothing} @0x00007f4f1a6f2b5f, Ptr{Nothing} @0x00007f4f1a79b2fb, Ptr{Nothing} @0x00007f4f1a78fa86, Ptr{Nothing} @0x00007f4f1a79b5ec, Ptr{Nothing} @0x00007f4f1a70abc1, Ptr{Nothing} @0x00007f4f1a6f2962, Ptr{Nothing} @0x00007f4f1a791744, Ptr{Nothing} @0x00007f4f1a79a306, Ptr{Nothing} @0x00007f4f1a79afe9, Ptr{Nothing} @0x00007f4f1a79b272, Ptr{Nothing} @0x00007f4f1a78fa86, Ptr{Nothing} @0x00007f4f1a79b5ec, Ptr{Nothing} @0x00007f4f1a79c12a, Ptr{Nothing} @0x00007f4f1a824c4d, Ptr{Nothing} @0x00007f4f1a6d1944, Ptr{Nothing} @0x00007f4f1a6d1d16, Ptr{Nothing} @0x00007f4f1a82b151, Ptr{Nothing} @0x0000000000400ab8, Ptr{Nothing} @0x00007f4f19979554, Ptr{Nothing} @0x0000000000400c3f])
│ getpid() = 354837
â”” @ Main /userfiles/dyuret/.local/lib/python3.6/site-packages/julia/patch.jl:59
julia-py: Error in /userfiles/dyuret/.local/lib/python3.6/site-packages/julia/patch.jl
ERROR: LoadError: failed process: Process(`/kuacc/users/dyuret/.local/bin/julia-py --color=yes --startup-file=no --cpu-target=native -O3 --sysimage=/userfiles/dyuret/julia-1.10.0/lib/julia/sys.so --project=. --output-o=/tmp/jl_ZghqpMx2pS.o /tmp/jl_TWVspox2HQ`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ Base ./process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:480
[3] run
@ ./process.jl:477 [inlined]
[4] create_sysimg_object_file(object_file::String, packages::Vector{String}, packages_sysimg::Set{Base.PkgId}; project::String, base_sysimage::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, cpu_target::String, script::Nothing, isapp::Bool, sysimage_build_args::Cmd)
@ PackageCompiler ~/.julia/packages/PackageCompiler/ghAiI/src/PackageCompiler.jl:417
[5] create_sysimg_object_file
@ ~/.julia/packages/PackageCompiler/ghAiI/src/PackageCompiler.jl:284 [inlined]
[6] create_sysimage(packages::Vector{Symbol}; sysimage_path::String, project::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, replace_default::Bool, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, include_transitive_dependencies::Bool, base_sysimage::Nothing, isapp::Bool, julia_init_c_file::Nothing, version::Nothing, compat_level::String, soname::Nothing)
@ PackageCompiler ~/.julia/packages/PackageCompiler/ghAiI/src/PackageCompiler.jl:619
[7] (::var"#1#2")(dir::String)
@ Main /userfiles/dyuret/.julia/conda/3/x86_64/envs/kare/lib/python3.11/site-packages/julia/compile.jl:27
[8] mktempdir(fn::var"#1#2", parent::String; prefix::String)
@ Base.Filesystem ./file.jl:766
[9] mktempdir(fn::Function, parent::String)
@ Base.Filesystem ./file.jl:762
[10] top-level scope
@ /userfiles/dyuret/.julia/conda/3/x86_64/envs/kare/lib/python3.11/site-packages/julia/compile.jl:24
in expression starting at /userfiles/dyuret/.julia/conda/3/x86_64/envs/kare/lib/python3.11/site-packages/julia/compile.jl:23
Command '['/kuacc/users/dyuret/.local/bin/julia-py', '--julia', 'julia', '--compiled-modules=no', '--color=yes', '/userfiles/dyuret/.julia/conda/3/x86_64/envs/kare/lib/python3.11/site-packages/julia/compile.jl', '/tmp/tmp.pyjulia.sysimage.oetn149z/compiler_env', '/userfiles/dyuret/.julia/conda/3/x86_64/envs/kare/lib/python3.11/site-packages/julia/precompile.jl', '/userfiles/dyuret/sys.so', '']' returned non-zero exit status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment