836a10587e
Took me an annoyingly long time to find a mask that the ndk was happy with. The original mask gives identical permissions as this one (and several other variants I tried). printf("%d\n", ~(S_IRUSR | S_IWUSR)); returns a negative number, and I guess that is the reason the ndk is unhappy. Original error message: restart.c:233:48: error: 'umask' called with invalid mode mode_t oldmask = umask(~(S_IRUSR | S_IWUSR)); ^ /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin/../sysroot/usr/include/bits/fortify/stat.h:47:5: note: from 'diagnose_if' attribute on 'umask': __clang_error_if(mode & ~0777, "'umask' called with invalid mode") { ^ ~~~~~~~~~~~~ /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin/../sysroot/usr/include/sys/cdefs.h:134:52: note: expanded from macro '__clang_error_if' ^ 1 error generated. make[2]: *** [Makefile:1060: memcached-restart.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1699: all-recursive] Error 1 |
||
---|---|---|
.github | ||
disabled-packages | ||
ndk-patches | ||
packages | ||
sample | ||
scripts | ||
.gitattributes | ||
.gitignore | ||
BACKERS.md | ||
build-all.sh | ||
build-package.sh | ||
clean.sh | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md |
Termux packages
This project contains scripts and patches to build packages for the Termux Android application.
Quick how-to about Termux package management is available at https://wiki.termux.com/wiki/Package_Management.
Contributing
@termux is looking for help with fixing issues, adding new packages and maintaining existing ones. It would be very helpful if you submit a pull request with new packages or bug fixes.
Read CONTRIBUTING.md and Developer's Wiki for more details.
Contacts
General mailing list: https://groups.io/g/termux
Developer mailing list: https://groups.io/g/termux-dev
General chat: https://gitter.im/termux/termux or #termux on IRC/freenode.
Developer chat: https://gitter.im/termux/dev or #termux/development on IRC/freenode.