[Pkg-julia-devel] Bug#953290: julia: PackageCompiler create_app requires root priveleges

Matsievskiy S.V. seregaxvm.main at gmail.com
Sat Mar 7 09:12:34 GMT 2020


Package: julia
Version: 1.3.1+dfsg-1
Severity: normal

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/



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable-updates'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages julia depends on:
ii  julia-common         1.3.1+dfsg-1
ii  libc6                2.29-10
ii  libcurl3-gnutls      7.68.0-1
ii  libdsfmt-19937-1     2.2.3+dfsg-4
ii  libgcc-s1 [libgcc1]  10-20200222-1
ii  libgcc1              1:10-20200222-1
ii  libgfortran5         10-20200222-1
ii  libgit2-28           0.28.4+dfsg.1-2
ii  libgmp10             2:6.2.0+dfsg-4
ii  libjulia1            1.3.1+dfsg-1
ii  libllvm8             1:8.0.1-7+b1
ii  libmbedcrypto3       2.16.5-1
ii  libmbedtls12         2.16.5-1
ii  libmbedx509-0        2.16.5-1
ii  libmpfr6             4.0.2-1
ii  libopenlibm3         0.7.0+dfsg-1
ii  libpcre2-8-0         10.34-7
ii  libquadmath0         10-20200222-1
ii  libssh2-1            1.8.0-2.1
ii  libunwind8           1.2.1-9
ii  libutf8proc2         2.4.0-2

Versions of packages julia recommends:
ii  git      1:2.25.1-1
ii  openssl  1.1.1d-2

Versions of packages julia suggests:
pn  ess        <none>
pn  julia-doc  <none>
pn  vim-julia  <none>

-- no debconf information



More information about the Pkg-julia-devel mailing list