Revert "postgresql: update to version 16.3"
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 9 Jul 2024 10:05:57 +0000 (13:05 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 9 Jul 2024 10:09:18 +0000 (13:09 +0300)
commit3dbefd299a754f09d38db85fdfbbea36870f7d40
tree3c5a4dc840c118b018d24a1fadf523f026fddc46
parentf0856fa38528433df422252062d4b92d091e6457
Revert "postgresql: update to version 16.3"

This reverts commit 6a46887e60d969cf718de3a212aa1847277ed4b3
from PR https://github.com/openwrt/packages/pull/24327

Postgresql version upgrade fails in buildbot for all targets
with error like:

[236/1612] Generating src/fe_utils/psqlscan with a custom command
FAILED: src/fe_utils/psqlscan.c
/builder/shared-workdir/build/sdk/staging_dir/host/bin/python3 ../src/tools/pgflex --builddir . --srcdir .. --privatedir src/fe_utils/psqlscan.c.p --flex /builder/shared-workdir/build/sdk/staging_dir/host/bin/flex --perl /builder/shared-workdir/build/sdk/staging_dir/host/bin/perl -i ../src/fe_utils/psqlscan.l -o src/fe_utils/psqlscan.c --no-backup --fix-warnings -- -Cfe -p -p
flex: fatal internal error, exec of /builder/shared-workdir/build/staging_dir/host/bin/m4 failed
[237/1612] Compiling C object src/interfaces/libpq/libpq.so.5.16.p/pqexpbuffer.c.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:264: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/postgresql-16.3/.built] Error 1

Several dozen packages depend upon postgresql, so the fallout is
rather large. Let's revert the upgrade until a fix is found.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
libs/postgresql/Makefile
libs/postgresql/patches/050-build-contrib.patch [new file with mode: 0644]
libs/postgresql/patches/200-ranlib.patch [new file with mode: 0644]
libs/postgresql/patches/300-fix-includes.patch
libs/postgresql/patches/700-no-arm-crc-march-change.patch
libs/postgresql/patches/900-pg_ctl-setuid.patch