-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
After creating a SysImage with PackageCompiler.jl, Compose.jl warnings that he can't load symbol FcPatternCreate from Fontconfig.jl
RRSP.jl contains, in particular:
module RRSP
using PackageCompiler.jl
using Fontconfig.jl
end
julia> create_sysimage(["RRSP"]; include_transitive_dependencies=false, sysimage_path="1-R-RSPSysimage.so", precompile_execution_file="./src/RRSP.jl")
[ Info: PackageCompiler: Executing /home/lamsade/jkhamphousone/mnt/1-R-RSP/src/RRSP.jl => /tmp/jl_packagecompiler_c6CoFA/jl_Z0G9B9
[ Info: Loading Revise
[ Info: Loading JuMP
[ Info: Loading Gurobi
[ Info: Loading Combinatorics, DelimitedFiles, Dates and Random
[ Info: Loading Distributions, Graphs, GraphsFlows and Plots
[ Info: Loading Parameters and Formatting
[ Info: Loading Compose, Cairo, Fontconfig and Suppressor
[ Info: Loading .jl files 0%
[ Info: Loading .jl files 25%
[ Info: Loading .jl files 50%
[ Info: Loading .jl files 75%
[ Info: Loading .jl files 100%
[ Info: 15.048609018325806
[ Info: PackageCompiler: Done
✔ [03m:23s] PackageCompiler: compiling incremental system image
julia> exit()
$ julia -J 1-R-RSPSysimage.so -t auto
┌ Warning: Error requiring `Fontconfig` from `Compose`
│ exception =
│ LoadError: could not load symbol "FcPatternCreate":
│ /home/lamsade/jkhamphousone/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/bin/julia: undefined symbol: FcPatternCreate
│ Stacktrace:
│ [1] _
│ @ ~/juliapkg/packages/Fontconfig/kn3MI/src/Fontconfig.jl:43 [inlined]
│ [2] Pattern
│ @ ~/juliapkg/packages/Fontconfig/kn3MI/src/Fontconfig.jl:42 [inlined]
│ [3] list()
│ @ Fontconfig ~/juliapkg/packages/Fontconfig/kn3MI/src/Fontconfig.jl:142
│ [4] top-level scope
│ @ ~/juliapkg/packages/Compose/9ma5l/src/pango.jl:29
│ [5] include(mod::Module, _path::String)
│ @ Base ./Base.jl:495
│ [6] include(x::String)
│ @ Compose ~/juliapkg/packages/Compose/9ma5l/src/Compose.jl:1
│ [7] macro expansion
│ @ ~/juliapkg/packages/Requires/Z8rfN/src/Requires.jl:40 [inlined]
│ [8] top-level scope
│ @ ~/juliapkg/packages/Compose/9ma5l/src/Compose.jl:177
│ [9] eval
│ @ ./boot.jl:385 [inlined]
│ [10] eval
│ @ ~/juliapkg/packages/Compose/9ma5l/src/Compose.jl:1 [inlined]
│ [11] (::Compose.var"#149#155")()
│ @ Compose ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:101
│ [12] macro expansion
│ @ ./timing.jl:395 [inlined]
│ [13] err(f::Any, listener::Module, modname::String, file::String, line::Any)
│ @ Requires ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:47
│ [14] (::Compose.var"#148#154")()
│ @ Compose ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:100
│ [15] withpath(f::Any, path::String)
│ @ Requires ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:37
│ [16] (::Compose.var"#147#153")()
│ @ Compose ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:99
│ [17] listenpkg(f::Any, pkg::Base.PkgId)
│ @ Requires ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:20
│ [18] macro expansion
│ @ ~/juliapkg/packages/Requires/Z8rfN/src/require.jl:98 [inlined]
│ [19] __init__()
│ @ Compose ~/juliapkg/packages/Compose/9ma5l/src/Compose.jl:176
│ in expression starting at /home/lamsade/jkhamphousone/juliapkg/packages/Compose/9ma5l/src/pango.jl:28
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
Debian GNU/Linux 12 (bookworm)
uname: Linux 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 unknown
CPU: AMD EPYC 7702 64-Core Processor:
speed user nice sys idle irq
#1-64 1996 MHz 9414718 s 7849 s 792161 s 227425212 s 0 s
Memory: 125.74249649047852 GB (119687.90625 MB free)
Uptime: 371489.08 sec
Load Avg: 1.18 1.09 1.09
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 64 virtual cores)
Environment:
JULIA_REVISE_INCLUDE = 1
JULIA_DEPOT_PATH = /home/lamsade/jkhamphousone/juliapkg/
JULIA_REVISE_POLL = 1
HOME = /home/lamsade/jkhamphousone
TERM = xterm-256color
GUROBI_HOME = /home/lamsade/jkhamphousone/gurobi912/linux64
PATH = /home/lamsade/jkhamphousone/.local/bin:/home/lamsade/jkhamphousone/.juliaup/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/lamsade/jkhamphousone/.local/bin
[a81c6b42] Compose v0.9.5
[186bb1d3] Fontconfig v0.4.1
Metadata
Metadata
Assignees
Labels
No labels