Control: tags -1 + fixed-upstream pgbouncer contains an embedded copy of libusual, where the problems appear to lie. Upstream have picked up an updated embedded copy of libusual[1], and now builds fine.
The libusual fixes are pretty spread out, e.g. https://github.com/libusual/libusual/commit/1c7798405869bb56e9c055dcf1f115b409f82ed1 https://github.com/libusual/libusual/commit/0e56f729d74e4af6c19fe60f6e2b47f5e717dcac Doesn't seem worth trying to backport them? Chris. 1: https://github.com/pgbouncer/pgbouncer/commit/2a064d04b346f3496f82682ffe997c3bca7d5f67