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

2018-05-30 Thread Miguel Landaeta
tags 891449 + help
thanks

On Sun, Feb 25, 2018 at 02:13:41PM -0300, Antonio Terceiro wrote:
> 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@amdahl:~/ruby-json-2.1.0+dfsg$ jruby -e 
> 'system("date")'
> Errno::EACCES: Permission denied - /bin/date
>   system at org/jruby/RubyKernel.java:1544
>at -e:1
> (sid_arm64-dchroot)terceiro@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

Help on this bug is more than welcome.

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche


signature.asc
Description: PGP signature


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

2018-02-25 Thread Antonio Terceiro
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@amdahl:~/ruby-json-2.1.0+dfsg$ jruby -e 
'system("date")'
Errno::EACCES: Permission denied - /bin/date
  system at org/jruby/RubyKernel.java:1544
   at -e:1
(sid_arm64-dchroot)terceiro@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  ant1.9.9-6
ii  default-jre [java7-runtime]2:1.8-59
ii  junit4 4.12-6
pn  libasm-java
ii  libbsf-java1:2.4.0-5
pn  libbytelist-java   
pn  libdirgra-java 
pn  libheadius-options-java
pn  libinvokebinder-java   
pn  libjansi-java  
pn  libjcodings-java   
pn  libjffi-jni
pn  libjitescript-java 
pn  libjnr-constants-java  
pn  libjnr-enxio-java  
pn  libjnr-ffi-java
pn  libjnr-netdb-java  
pn  libjnr-posix-java  
pn  libjnr-unixsocket-java 
pn  libjnr-x86asm-java 
pn  libjoda-time-java  
pn  libjruby-joni-java 
ii  libjzlib-java  1.1.3-2
pn  libosgi-core-java  
pn  libpsych-java  
pn  libunsafe-fences-java  
pn  libunsafe-mock-java
pn  libyaml-snake-java 
pn  nailgun
ii  openjdk-8-jre [java7-runtime]  8u151-b12-1
pn  ruby-jar-dependencies  
pn  ruby-psych 

Versions of packages jruby recommends:
pn  jruby-openssl   
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.


signature.asc
Description: PGP signature