Encountered the following error while compiling
checking for uintptr_t... yes
checking for socklen_t... yes
checking for ANSI C exit success/failure values... yes
checking for getopt optreset variable... no
checking for mutexes... UNIX/fcntl
configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM.
configure: error: Unable to find a mutex implementation
==> ERROR: A failure occurred in build().
Aborting...
As suggested in https://github.com/bitcoin/bitcoin/issues/26860 added
CFLAGS=-Wno-error=implicit-function-declaration
Pinned Comments
Raansu commented on 2021-04-23 02:12 (UTC)
Let me know of any issues!
Updated 04/22/2021
Added "format security" patch from https://git.sailfishos.org/mer-core/db4/blob/master/db-4.8.30-format-security.patch This deals with a change to the default makepkg.conf compile options as set by the Arch Linux maintainers that adds '-Werror=format-security' to the default compiling options.
Changed PKGBUILD to correctly identify the list of supported architectures this package can compile on. Theoretically this should compile and run on a wide range of processors so if I missed one let me know and I can add it in.