Bug#891449: jruby: system() does not work on arm64

Antonio Terceiro terceiro at debian.org
Sun Feb 25 17:13:41 UTC 2018


Package: jruby
Version: 9.1.13.0-1
Severity: grave
Justification: renders package unusable

When debugging #890046 on ruby-json, I realized that I cannot execute
any program with system() under jruby on arm64:

----------------8<----------------8<----------------8<-----------------
(sid_arm64-dchroot)terceiro at amdahl:~/ruby-json-2.1.0+dfsg$ jruby -e 'system("date")'
Errno::EACCES: Permission denied - /bin/date
  system at org/jruby/RubyKernel.java:1544
  <main> at -e:1
(sid_arm64-dchroot)terceiro at amdahl:~/ruby-json-2.1.0+dfsg$ /bin/date
Sun Feb 25 16:59:17 UTC 2018
----------------8<----------------8<----------------8<-----------------

- Passing the full path does not help
- I only see this on arm64

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages jruby depends on:
ii  ant                            1.9.9-6
ii  default-jre [java7-runtime]    2:1.8-59
ii  junit4                         4.12-6
pn  libasm-java                    <none>
ii  libbsf-java                    1:2.4.0-5
pn  libbytelist-java               <none>
pn  libdirgra-java                 <none>
pn  libheadius-options-java        <none>
pn  libinvokebinder-java           <none>
pn  libjansi-java                  <none>
pn  libjcodings-java               <none>
pn  libjffi-jni                    <none>
pn  libjitescript-java             <none>
pn  libjnr-constants-java          <none>
pn  libjnr-enxio-java              <none>
pn  libjnr-ffi-java                <none>
pn  libjnr-netdb-java              <none>
pn  libjnr-posix-java              <none>
pn  libjnr-unixsocket-java         <none>
pn  libjnr-x86asm-java             <none>
pn  libjoda-time-java              <none>
pn  libjruby-joni-java             <none>
ii  libjzlib-java                  1.1.3-2
pn  libosgi-core-java              <none>
pn  libpsych-java                  <none>
pn  libunsafe-fences-java          <none>
pn  libunsafe-mock-java            <none>
pn  libyaml-snake-java             <none>
pn  nailgun                        <none>
ii  openjdk-8-jre [java7-runtime]  8u151-b12-1
pn  ruby-jar-dependencies          <none>
pn  ruby-psych                     <none>

Versions of packages jruby recommends:
pn  jruby-openssl   <none>
ii  ri              1:2.5~1
ii  ruby-json       2.1.0+dfsg-1+b1
ii  ruby-rspec      3.7.0c1e0m0s1-1
ii  ruby-test-unit  3.2.5-1

jruby suggests no packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20180225/846ac960/attachment.sig>


More information about the pkg-java-maintainers mailing list