Re: Updating libpqxx to 8.0.1

From: Christoph Berg <myon(at)debian(dot)org>
To: Bradford Boyle <bradford(dot)d(dot)boyle(at)gmail(dot)com>
Cc: pgsql-pkg-debian(at)lists(dot)postgresql(dot)org
Subject: Re: Updating libpqxx to 8.0.1
Date: 2026-05-15 17:28:43
Message-ID: agdXy-pJtwlDApU-@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Since I wanted to test sqlsmith against the new libpqxx, I went ahead
and packaged it. Thanks for the analysis, that helped!

> * libpqxx has released a new major version
> * Requires compiling with at least C++20

I had to "export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++20" to make it
work but the rest didn't require extra poking.

> * C++20 was not stable until GCC 16
> * The documentation for C++ Standards Support in GCC indicates that
> most/several C++20 features are supported in GCC 11+

> * Debian bookworm gcc 12

Bookworm fails because its libstc++-12-dev is missing the "format" header.

(Bullseye fails because libpqxx wants autoconf 2.71. I did not
investigate further since bookworm already fails.)

> * Ubuntu jammy gcc 11

It looks like jammy's autoconf-archive package is too old:

error: invalid first argument `20' to AX_CXX_COMPILE_STDCXX

But let's ignore that, it's EOL next year.

> * Ubuntu noble gcc 13

That worked.

Christoph

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2026-05-20 03:31:45 libpqxx updated to version 8.0.1-1.pgdg+1
Previous Message Christoph Berg 2026-05-15 08:41:41 Re: Updating libpqxx to 8.0.1