-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
When trying to run make in examples/MyLib, the following error is thrown:
$ make
julia --startup-file=no --project=. -e 'using Pkg; Pkg.instantiate()'
julia --startup-file=no --project=build -e 'using Pkg; Pkg.instantiate(); include("build/build.jl")'
Creating library in /tmp/jl/PackageCompiler.jl/examples/MyLib/build/../../MyLibCompiled
┌ Warning: it is not recommended to create an app without a preexisting manifest
└ @ PackageCompiler ~/.julia/packages/PackageCompiler/drmGx/src/PackageCompiler.jl:919
ERROR: LoadError: IOError: open("/usr/lib/cups/backend/cups-brf", 0, 0): permission denied (EACCES)
Stacktrace:
[1] bundle_julia_libraries(dest_dir::String, library_only::Bool)
@ PackageCompiler ~/.julia/packages/PackageCompiler/drmGx/src/PackageCompiler.jl:1027
[2] _create_app(package_dir::String, dest_dir::String, name::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, audit::Bool, force::Bool, cpu_target::String; library_only::Bool, c_driver_program::String, julia_init_c_file::String, header_files::Vector{String}, version::Nothing, compat_level::String)
@ PackageCompiler ~/.julia/packages/PackageCompiler/drmGx/src/PackageCompiler.jl:947
[3] create_library(package_dir::String, dest_dir::String; lib_name::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, audit::Bool, force::Bool, header_files::Vector{String}, julia_init_c_file::String, version::Nothing, compat_level::String, cpu_target::String)
@ PackageCompiler ~/.julia/packages/PackageCompiler/drmGx/src/PackageCompiler.jl:883
[4] top-level scope
@ /tmp/jl/PackageCompiler.jl/examples/MyLib/build/build.jl:9
[5] include(fname::String)
@ Base.MainInclude ./client.jl:444
[6] top-level scope
@ none:1
in expression starting at /tmp/jl/PackageCompiler.jl/examples/MyLib/build/build.jl:9
make: *** [Makefile:13: "../MyLibCompiled"/lib/libmylib.so] Error 1
I can confirm that /usr/lib/cups/backend/cups-brf is not world-readable. But I'm pretty sure that this is how it should be.
Hugo-Trentesaux
Metadata
Metadata
Assignees
Labels
No labels