Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wNwLI-001BsO-13 for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 15 May 2026 17:28:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wNwLH-001CyB-11 for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 15 May 2026 17:28:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wNwLH-001Cy3-0M for pgsql-pkg-debian@lists.postgresql.org; Fri, 15 May 2026 17:28:55 +0000 Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wNwLE-00000000jIH-0eDs for pgsql-pkg-debian@lists.postgresql.org; Fri, 15 May 2026 17:28:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=i6o6bXAUSt5SlmJ/arVfNxJdxaohavA2p8BRntHhTDw=; b=Aisbh4ZhYyB3UlNHCiTU6pkmdj v7m9HIe1dhy1wLGRbiftmoSbMP/jNCRgfp51IpDcCcluBjP5/a8l8fK4lbcWAiIe/kDOqrx+pEqtE 9l9evocxKObb6l3xXXhOYUhWL1FuHt6CcDXR9xQT/3Mo8wwyLeJLC+yAGUbIfB1NhGP4BUaHSIst4 acHu+a2fQlYjGtYjyGZZMHX58Mop3AKlN1/y9te4IvqUvfEXm9fExGlHbeF0xO+ifc/DkE5XYLno/ 9jElJPB3rITnCF355FH99cOxq04gmdyj1zlNfGIy2T2gFgghomobh0a3gXX3FEGChJ9mYGHx1jYXp JU/lkLKA==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wNwL7-004tNp-09; Fri, 15 May 2026 17:28:45 +0000 Date: Fri, 15 May 2026 19:28:43 +0200 From: Christoph Berg To: Bradford Boyle Cc: pgsql-pkg-debian@lists.postgresql.org Subject: Re: Updating libpqxx to 8.0.1 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Debian-User: myon List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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