termux-pacman/pacman-for-termux

error: command terminated by signal 31: Bad system call

Closed this issue · 2 comments

Some packages from pacman show this error after installation. For example the archlinuxarm-keyring package.
Screenshot_20210522-142308_Termux
At the moment, it is not clear why this error is displayed, and the addition to this is the package itself is installed.

After examining the code and running pacman in chroot and proot. I can conclude that the error is probably due to the root setting.
Errors on chroot and proot are completely different.

Chroot(termux-chroot)

Screenshot_20210523-001704_Termux

Proot(proot -0)

Screenshot_20210523-001712_Termux

The bug has been fixed.
util.c