Dear Maintainer, I'm using PackageCompiler v1.0 (https://julialang.github.io/PackageCompiler.jl/dev/) to compile example application (using instructions from here: https://julialang.github.io/PackageCompiler.jl/dev/apps/#Creating-an-app-1), provided by the package (https://github.com/JuliaLang/PackageCompiler.jl/tree/master/examples/MyApp). When I use Julia v1.3.1 from Debian package, call `create_app("MyApp", "MyAppCompiled")` fails with error: `ERROR: SystemError: opening file "/usr/bin/../share/julia/base/sysimage_package compiler_f54d5e94-6050-11ea-07da-17fb65561dd6.jl": Permission denied` There's no such problem when using binaries from https://julialang.org/downloads/
Looks like it is an upstream issue. I've opened a PR https://github.com/JuliaLang/PackageCompiler.jl/pull/367
Hi
Is the issue fixed for you now?
I tried the example create_app("MyApp", "MyAppCompiled") now and got:
ERROR: IOError: open: permission denied (EACCES)
Regards
Graham
It looks like another issue. I've traced a problem to function bundle_julia_libraries, particularly to cp(julia_libdir(), app_libdir; force=true) line. julia_libdir() value is "/usr/lib/x86_64-linux-gnu", so package actually attempts to copy all system libs into package. I'll open an upstream issue.
Authors replied to https://github.com/JuliaLang/PackageCompiler.jl/issues/385. PackageCompiler expects shared libraries to be in a separate folder, so this is a packaging issue.
Dear submitter, as the package julia has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1011382 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Thorsten Alteholz (the ftpmaster behind the curtain)