optdb5.3
- Path: arch/private/optdb5.3
- 2026-07-15: build failure fixed and published,
pkgrel 5 -> 6.
Previously flagged as a “genuine compiler/source error” (incompatible
function-pointer types – modern GCC strictness vs old C code):
gcc 16.1.1 now errors (not just warns) on
-Wincompatible-pointer-types by default, and this 2015-era
Berkeley DB source (src/env/env_config.c) declares its dispatch
tables with old K&R-style unprototyped function pointers
(int (*func)();), which the compiler now treats as int (*)(void)
and rejects when initialized with the real, typed function pointers
(__env_add_data_dir etc).
- Fix: added
-Wno-error=incompatible-pointer-types alongside the
existing -Wno-error=implicit-function-declaration in build()’s
CFLAGS. Packaging-only fix, no source/version change.
- Test-built clean with
extra-x86_64-build, then built+signed+
published to the private repo (x86_64). See UPDATES.md’s
2026-07-15 entry for full detail.