That llvm v14 is rather recent - we were lucky that llvm-13 worked fine.
Officially the most recent postgresql-release just added llvm-12 support [1].

In jammy we have:
 llvm-13 | 1:13.0.1-2ubuntu2 | jammy/universe  | amd64, arm64, armhf, i386, 
ppc64el, riscv64, s390x
 llvm-14 | 1:14.0.0-1ubuntu1      | jammy-proposed/universe | amd64, arm64, 
armhf, i386, ppc64el, s390x

I can't see us transitioning completely to llvm-14 in time for jammy, so 
llvm-13 might stay as well? (ask Foundations please to be sure).
If it does stay, this might be as easy as putting a versioned build dep onto 
`llvm-dev` in d/control of postgresql-14.

On the other hand, maybe those are all just deprecation warnings and related 
follow on issues.
Having a test build with [2] might be worth a try.
Actually the REL_14_STABLE branch has a combined backport of this and other 
llvm-14 changes.
Those will be released with postgresql-14.3 some day, to fix it right now most 
likely the best shot would be [3]. And once 14.3 comes by we can drop our delta 
again.

[1]: https://www.postgresql.org/docs/14/release-14.html
[2]: 
https://github.com/postgres/postgres/commit/a56e7b66010f330782243de9e25ac2a6596be0e1
[3]: 
https://github.com/postgres/postgres/commit/d9f7ad54e552262ee0090e88d5abd3e04fcdeac8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966319

Title:
  FTBFS with llvm-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-14/+bug/1966319/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to