pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Bradford Boyle <bradford.d.boyle@gmail.com>
Cc: pgsql-pkg-debian@lists.postgresql.org
Subject: Re: Updating libpqxx to 8.0.1
Date: Fri, 15 May 2026 19:28:43 +0200
Message-ID: <agdXy-pJtwlDApU-@msg.df7cb.de> (raw)
In-Reply-To: <CAOMoQbRZbccNKu87PjJ13KyvQGyt-8+OHXjQmqEwH4D3i78esg@mail.gmail.com>
References: <CAOMoQbRZbccNKu87PjJ13KyvQGyt-8+OHXjQmqEwH4D3i78esg@mail.gmail.com>

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





view thread (3+ messages)

Message-ID: <agdXy-pJtwlDApU-@msg.df7cb.de>
Permalink:  ../agdXy-pJtwlDApU-@msg.df7cb.de/
Also on:    postgresql.org/message-id/agdXy-pJtwlDApU-@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, bradford.d.boyle@gmail.com, pgsql-pkg-debian@lists.postgresql.org
  Subject: Re: Updating libpqxx to 8.0.1
  In-Reply-To: <agdXy-pJtwlDApU-@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox