ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:101819] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build
@ 2020-12-30 20:26 xtkoba+ruby
  2020-12-31  8:37 ` [ruby-core:101834] " mame
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: xtkoba+ruby @ 2020-12-30 20:26 UTC (permalink / raw)
  To: ruby-core

Issue #17491 has been reported by xtkoba (Tee KOBAYASHI).

----------------------------------------
Bug #17491: `./configure' unsuccessful on Android NDK cross-build
https://bugs.ruby-lang.org/issues/17491

* Author: xtkoba (Tee KOBAYASHI)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
We have no such command as `getprop` in our Android NDK cross-build environment, and so `./configure` says
```
checking whether it is Android... yes
checking for Android API version... ./configure: line 9108: getprop: command not found
```
and finally dies saying
```
configure: error: size_t is signed
```




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:101834] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build
  2020-12-30 20:26 [ruby-core:101819] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build xtkoba+ruby
@ 2020-12-31  8:37 ` mame
  2020-12-31 14:18 ` [ruby-core:101836] " xtkoba+ruby
  2021-01-05  1:23 ` [ruby-core:101918] " mame
  2 siblings, 0 replies; 4+ messages in thread
From: mame @ 2020-12-31  8:37 UTC (permalink / raw)
  To: ruby-core

Issue #17491 has been updated by mame (Yusuke Endoh).

Status changed from Open to Feedback

Currently, Ruby does not support Android officially. A patch is welcome.

I'm experimentally maintaining a CI on Android/Termux (http://rubyci.s3.amazonaws.com/android29-x86_64/ruby-master/recent.html), and it is only a test environment for Ruby with Android. Currently, no CI for cross-compilation is maintained unfortunately.

----------------------------------------
Bug #17491: `./configure' unsuccessful on Android NDK cross-build
https://bugs.ruby-lang.org/issues/17491#change-89664

* Author: xtkoba (Tee KOBAYASHI)
* Status: Feedback
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
We have no such command as `getprop` in our Android NDK cross-build environment, and so `./configure` says
```
checking whether it is Android... yes
checking for Android API version... ./configure: line 9108: getprop: command not found
```
and finally dies saying
```
configure: error: size_t is signed
```




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:101836] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build
  2020-12-30 20:26 [ruby-core:101819] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build xtkoba+ruby
  2020-12-31  8:37 ` [ruby-core:101834] " mame
@ 2020-12-31 14:18 ` xtkoba+ruby
  2021-01-05  1:23 ` [ruby-core:101918] " mame
  2 siblings, 0 replies; 4+ messages in thread
From: xtkoba+ruby @ 2020-12-31 14:18 UTC (permalink / raw)
  To: ruby-core

Issue #17491 has been updated by xtkoba (Tee KOBAYASHI).

File ruby-3.0.0-android-cross.patch added

Thanks for the comment.
A patch is attached to solve the problem.

----------------------------------------
Bug #17491: `./configure' unsuccessful on Android NDK cross-build
https://bugs.ruby-lang.org/issues/17491#change-89667

* Author: xtkoba (Tee KOBAYASHI)
* Status: Feedback
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
We have no such command as `getprop` in our Android NDK cross-build environment, and so `./configure` says
```
checking whether it is Android... yes
checking for Android API version... ./configure: line 9108: getprop: command not found
```
and finally dies saying
```
configure: error: size_t is signed
```


---Files--------------------------------
ruby-3.0.0-android-cross.patch (838 Bytes)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:101918] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build
  2020-12-30 20:26 [ruby-core:101819] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build xtkoba+ruby
  2020-12-31  8:37 ` [ruby-core:101834] " mame
  2020-12-31 14:18 ` [ruby-core:101836] " xtkoba+ruby
@ 2021-01-05  1:23 ` mame
  2 siblings, 0 replies; 4+ messages in thread
From: mame @ 2021-01-05  1:23 UTC (permalink / raw)
  To: ruby-core

Issue #17491 has been updated by mame (Yusuke Endoh).


I've committed your patch, thanks!

----------------------------------------
Bug #17491: `./configure' unsuccessful on Android NDK cross-build
https://bugs.ruby-lang.org/issues/17491#change-89762

* Author: xtkoba (Tee KOBAYASHI)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
We have no such command as `getprop` in our Android NDK cross-build environment, and so `./configure` says
```
checking whether it is Android... yes
checking for Android API version... ./configure: line 9108: getprop: command not found
```
and finally dies saying
```
configure: error: size_t is signed
```


---Files--------------------------------
ruby-3.0.0-android-cross.patch (838 Bytes)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-05  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30 20:26 [ruby-core:101819] [Ruby master Bug#17491] `./configure' unsuccessful on Android NDK cross-build xtkoba+ruby
2020-12-31  8:37 ` [ruby-core:101834] " mame
2020-12-31 14:18 ` [ruby-core:101836] " xtkoba+ruby
2021-01-05  1:23 ` [ruby-core:101918] " mame

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).