The postgresql server fails to build against llvm-14 with a litany of errors due to deprecated API, typo fixes etc. Reproducible: Always Steps to Reproduce: 1. update to llvm-14/clang-14 2. emerge -v1 postgresql [server,llvm] 3. failure :( See $URL for an upstream patch, which will probably come with the next 14.x maintenance release. In the meantime dropping https://git.postgresql.org/gitweb/?p=postgresql.git;a=patch;h=d9f7ad54e552262ee0090e88d5abd3e04fcdeac8 into /etc/portage/patches/dev-db/postgresql makes it build & work. \o/
I also hit this today on one of my servers.
Created attachment 767663 [details] build.log
Created attachment 767664 [details] emerge --info
Created attachment 767665 [details] emerge -pqv
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d49fccf6cbbbdab563c1d38718f9dc177548659b commit d49fccf6cbbbdab563c1d38718f9dc177548659b Author: Patrick Lauer <patrick@gentoo.org> AuthorDate: 2022-03-24 06:28:11 +0000 Commit: Patrick Lauer <patrick@gentoo.org> CommitDate: 2022-03-24 06:28:11 +0000 dev-db/postgresql: llvm14 support Upstream patch applies to v.12+ Restrict max llvm version to 13 for v.11 as patch fails (this should be rectified in next upstream release) Bug: https://bugs.gentoo.org/835861 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick Lauer <patrick@gentoo.org> dev-db/postgresql/files/postgres-llvm14.patch | 154 ++++++++++++++++++++++++++ dev-db/postgresql/postgresql-11.14-r1.ebuild | 9 +- dev-db/postgresql/postgresql-11.15-r1.ebuild | 9 +- dev-db/postgresql/postgresql-12.10-r1.ebuild | 1 + dev-db/postgresql/postgresql-12.9-r1.ebuild | 1 + dev-db/postgresql/postgresql-13.5-r1.ebuild | 1 + dev-db/postgresql/postgresql-13.6-r1.ebuild | 1 + dev-db/postgresql/postgresql-14.1-r1.ebuild | 1 + dev-db/postgresql/postgresql-14.2-r1.ebuild | 1 + 9 files changed, 172 insertions(+), 6 deletions(-)
All done for now.