- Concepts used to implement `listenfd-32-bit-android.diff` based on similar patches found in other packages like `fish` and `below`
- `S_IFMT` is not the same type as `st_mode` on 32-bit Android
- `socklen_t` should be passed to `getsockname()` and `getsockopt()`, not `unsigned int`
- Based on this comment, `wasmtime` now has a codepath that supports 32-bit ARM: https://github.com/bytecodealliance/wasmtime/issues/1173#issuecomment-2557605936
- This build of `wasmtime` has been tested on a 32-bit ARM Android device to run a precompiled `wasi-hello-world.wasm` that was copied from a different device, and is working successfully:
- The `wasi-hello-world.wasm` was compiled using a GNU/Linux PC running the `cargo install cargo-component` tool via a Rust toolchain https://github.com/bytecodealliance/cargo-component
```
~ $ wasmtime wasi-hello-world.wasm
Hello, world!
~ $ uname -a
Linux localhost 3.4.112-Lineage-g716f00ee2e8 #1 SMP PREEMPT Sun Oct 13 11:16:54 CDT 2019 armv7l Android
~ $
```
- 32-bit x86 still has an error which is different and does not appear during the build for 32-bit ARM
Gets rid of this infinite loop that can permanently freeze many noninteractive scripts which need to run `cpan`:
```
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
```