termux/game-packages

API 21 only curseofwar broken

Quasic opened this issue · 2 comments

Similar to #22 but with curseofwar.
Transcript:

03:40:55T5/0:~$ curseofwar
WARNING: linker: curseofwar: unused DT entry: type 0x1d arg 0x31e
WARNING: linker: curseofwar: unused DT entry: type 0x6ffffffe arg 0xd38                                                         WARNING: linker: curseofwar: unused DT entry: type 0x6fffffff arg 0x2
CANNOT LINK EXECUTABLE: cannot locate symbol "__register_atfork" referenced by "curseofwar"...

1|03:41:06T5/0:~$ termux-elf-cleaner-5 $PREFIX/bin/curseofwar
termux-elf-cleaner: Removing version section from '/data/data/com.termux/files/usr/bin/curseofwar'                              termux-elf-cleaner: Removing version section from '/data/data/com.termux/files/usr/bin/curseofwar'
termux-elf-cleaner: Removing the DT_RUNPATH dynamic section entry from '/data/data/com.termux/files/usr/bin/curseofwar'
termux-elf-cleaner: Removing the DT_VERNEEDNUM dynamic section entry from '/data/data/com.termux/files/usr/bin/curseofwar'      termux-elf-cleaner: Removing the DT_VERNEEDED dynamic section entry from '/data/data/com.termux/files/usr/bin/curseofwar'
termux-elf-cleaner: Removing the DT_VERSYM dynamic section entry from '/data/data/com.termux/files/usr/bin/curseofwar'
03:45:27T5/0:~$ curseofwar
CANNOT LINK EXECUTABLE: cannot locate symbol "__register_atfork" referenced by "curseofwar"...

Also, not sure if this is related, but while trying to build on device, I get this error:

termux - building libc++ for arch arm...
cp: cannot stat '/data/data/com.termux/files/home/.termux-build/_cache/android-r20-api-24-v1/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so': No such file or directory
$ pkg show libc++        Package: libc++                                                 Version: 20-1
Essential: yes                                                  Maintainer: Fredrik Fornwall @fornwall
Installed-Size: 602 kB                                          Homepage: https://libcxx.llvm.org/                              Download-Size: 164 kB                                           APT-Manual-Installed: no
APT-Sources: https://termux.net stable/main arm Packages        Description: C++ Standard Library

Hi, thanks for reporting. I've bumped the package, could you try again after pkg upgrade?

It works! Thanks!