mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-28 06:30:31 +00:00
- `libtheora` 1.2.0 does not search `$TERMUX_PREFIX` for `rm`, `sed`, `sort`, or `cat`
- `libtheora` has not been bumped in many years, and this update **heavily changes the names of the `.so` files** (example: `libtheoradec.so.1.1.4`->`libtheoradec.so`) so all `libtheora` reverse dependencies must be rebuilt.
- The error this fixes during cross-compilation `$TERMUX_ON_DEVICE_BUILD=false` mode while `coreutils` was already installed in the same `$TERMUX_PREFIX` before building, looks like this:
```
/home/builder/.termux-build/libtheora/src/configure: line 13310: /data/data/com.termux/files/usr/bin/rm: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 13319: /data/data/com.termux/files/usr/bin/sed: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 13320: ${+set}: bad substitution
/home/builder/.termux-build/libtheora/src/configure: line 6: /data/data/com.termux/files/usr/bin/cat: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 14: /data/data/com.termux/files/usr/bin/sed: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 40: /data/data/com.termux/files/usr/bin/sort: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 37: /data/data/com.termux/files/usr/bin/sed: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 44: /data/data/com.termux/files/usr/bin/cat: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 57: /data/data/com.termux/files/usr/bin/sort: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 79: /data/data/com.termux/files/usr/bin/cat: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 85: /data/data/com.termux/files/usr/bin/cat: cannot execute binary file: Exec format error
/home/builder/.termux-build/libtheora/src/configure: line 92: /data/data/com.termux/files/usr/bin/rm: cannot execute binary file: Exec format error
```
- Use `--disable-asm` for 32-bit ARM only, because the assembly optimizations for x86 architectures work, but the assembly optimizations for 32-bit ARM fail to build, and were not previously enabled by configure, but are now being enabled automatically.