#953290 julia: PackageCompiler create_app requires root priveleges

Package:
julia
Source:
julia
Description:
high-performance programming language for technical computing
Submitter:
"Matsievskiy S.V."
Date:
2022-06-25 09:39:18 UTC
Severity:
normal
#953290#5
Date:
2020-03-07 09:12:34 UTC
From:
To:
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/

#953290#10
Date:
2020-03-07 10:20:29 UTC
From:
To:
Looks like it is an upstream issue. I've opened a PR
https://github.com/JuliaLang/PackageCompiler.jl/pull/367

#953290#15
Date:
2020-04-13 08:33:27 UTC
From:
To:
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

#953290#20
Date:
2020-04-13 09:37:30 UTC
From:
To:
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.

#953290#25
Date:
2020-04-13 10:24:54 UTC
From:
To:
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.

#953290#30
Date:
2022-06-25 09:35:16 UTC
From:
To:
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)