Hi,
It appears that when I include Folds in a package that is build to produce a binary with PackageCompiler, app throws lots of errors.
For some reason binary is not relocable anymore. Docker contains builds a release binary inside gitlab CI using standard julia:1.8 image, but when I start app I get these errors.
Warning: Error requiring `DataFrames` from `BangBang`
│ exception =
│ IOError: stat("/root/.julia/packages/BangBang/90Cfb/src/dataframes.jl"): permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error
│ @ ./libuv.jl:97 [inlined]
│ [2] stat(path::String)
│ @ Base.Filesystem ./stat.jl:152
│ [3] isfile(path::String)
│ @ Base.Filesystem ./stat.jl:456
│ [4] macro expansion
│ @ /root/.julia/packages/Requires/Z8rfN/src/Requires.jl:37 [inlined]
│ [5] top-level scope
│ @ /root/.julia/packages/BangBang/90Cfb/src/BangBang.jl:89
│ [6] eval
│ @ ./boot.jl:368 [inlined]
│ [7] eval
│ @ /root/.julia/packages/BangBang/90Cfb/src/BangBang.jl:1 [inlined]
│ [8] (::BangBang.var"#34#46")()
│ @ BangBang /root/.julia/packages/Requires/Z8rfN/src/require.jl:101
│ [9] macro expansion
│ @ ./timing.jl:382 [inlined]
│ [10] err(f::Any, listener::Module, modname::String, file::String, line::Any)
│ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:47
│ [11] (::BangBang.var"#33#45")()
│ @ BangBang /root/.julia/packages/Requires/Z8rfN/src/require.jl:100
│ [12] withpath(f::Any, path::String)
│ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:37
│ [13] (::BangBang.var"#32#44")()
│ @ BangBang /root/.julia/packages/Requires/Z8rfN/src/require.jl:99
│ [14] listenpkg
│ @ /root/.julia/packages/Requires/Z8rfN/src/require.jl:20 [inlined]
│ [15] macro expansion
│ @ /root/.julia/packages/Requires/Z8rfN/src/require.jl:98 [inlined]
│ [16] __init__()
│ @ BangBang /root/.julia/packages/BangBang/90Cfb/src/BangBang.jl:88
└ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:51
┌ Warning: Error requiring `DataFrames` from `Transducers`
│ exception =
│ IOError: stat("/root/.julia/packages/Transducers/HBMTc/src/interop/dataframes.jl"): permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error
│ @ ./libuv.jl:97 [inlined]
│ [2] stat(path::String)
│ @ Base.Filesystem ./stat.jl:152
│ [3] isfile(path::String)
│ @ Base.Filesystem ./stat.jl:456
│ [4] macro expansion
│ @ /root/.julia/packages/Requires/Z8rfN/src/Requires.jl:37 [inlined]
│ [5] top-level scope
│ @ /root/.julia/packages/Transducers/HBMTc/src/Transducers.jl:189
│ [6] eval
│ @ ./boot.jl:368 [inlined]
│ [7] eval
│ @ /root/.julia/packages/Transducers/HBMTc/src/Transducers.jl:1 [inlined]
│ [8] (::Transducers.var"#288#303")()
│ @ Transducers /root/.julia/packages/Requires/Z8rfN/src/require.jl:101
│ [9] macro expansion
│ @ ./timing.jl:382 [inlined]
│ [10] err(f::Any, listener::Module, modname::String, file::String, line::Any)
│ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:47
│ [11] (::Transducers.var"#287#302")()
│ @ Transducers /root/.julia/packages/Requires/Z8rfN/src/require.jl:100
│ [12] withpath(f::Any, path::String)
│ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:37
│ [13] (::Transducers.var"#286#301")()
│ @ Transducers /root/.julia/packages/Requires/Z8rfN/src/require.jl:99
│ [14] listenpkg
│ @ /root/.julia/packages/Requires/Z8rfN/src/require.jl:20 [inlined]
│ [15] macro expansion
│ @ /root/.julia/packages/Requires/Z8rfN/src/require.jl:98 [inlined]
│ [16] __init__()
│ @ Transducers /root/.julia/packages/Transducers/HBMTc/src/Transducers.jl:188
└ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:51
┌ Warning: Error requiring `Referenceables` from `Transducers`
│ exception =
│ IOError: stat("/root/.julia/packages/Transducers/HBMTc/src/interop/referenceables.jl"): permission denied (EACCES)
│ Stacktrace:
│ [1] uv_error
│ @ ./libuv.jl:97 [inlined]
│ [2] stat(path::String)
│ @ Base.Filesystem ./stat.jl:152
│ [3] isfile(path::String)
│ @ Base.Filesystem ./stat.jl:456
│ [4] macro expansion
│ @ /root/.julia/packages/Requires/Z8rfN/src/Requires.jl:37 [inlined]
│ [5] top-level scope
│ @ /root/.julia/packages/Transducers/HBMTc/src/Transducers.jl:192
│ [6] eval
│ @ ./boot.jl:368 [inlined]
│ [7] eval
│ @ /root/.julia/packages/Transducers/HBMTc/src/Transducers.jl:1 [inlined]
│ [8] (::Transducers.var"#291#306")()
│ @ Transducers /root/.julia/packages/Requires/Z8rfN/src/require.jl:101
│ [9] macro expansion
│ @ ./timing.jl:382 [inlined]
│ [10] err(f::Any, listener::Module, modname::String, file::String, line::Any)
│ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:47
│ [11] (::Transducers.var"#290#305")()
│ @ Transducers /root/.julia/packages/Requires/Z8rfN/src/require.jl:100
│ [12] withpath(f::Any, path::String)
│ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:37
│ [13] (::Transducers.var"#289#304")()
│ @ Transducers /root/.julia/packages/Requires/Z8rfN/src/require.jl:99
│ [14] listenpkg
│ @ /root/.julia/packages/Requires/Z8rfN/src/require.jl:20 [inlined]
│ [15] macro expansion
│ @ /root/.julia/packages/Requires/Z8rfN/src/require.jl:98 [inlined]
│ [16] __init__()
│ @ Transducers /root/.julia/packages/Transducers/HBMTc/src/Transducers.jl:191
└ @ Requires /root/.julia/packages/Requires/Z8rfN/src/require.jl:51
Of course a question is how to silence or fix those? Can I use Folds package at all in a binary app?
To me it looks like Requires.jl is called to require some packages that might be the cause of this?
Thanks
Hi,
It appears that when I include Folds in a package that is build to produce a binary with PackageCompiler, app throws lots of errors.
For some reason binary is not relocable anymore. Docker contains builds a release binary inside gitlab CI using standard julia:1.8 image, but when I start app I get these errors.
Of course a question is how to silence or fix those? Can I use Folds package at all in a binary app?
To me it looks like Requires.jl is called to require some packages that might be the cause of this?
Thanks