From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E55FB158042 for ; Sun, 17 Nov 2024 05:19:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18961E09DE; Sun, 17 Nov 2024 05:19:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0DB3E09DE for ; Sun, 17 Nov 2024 05:19:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10663341256 for ; Sun, 17 Nov 2024 05:19:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D46317EC for ; Sun, 17 Nov 2024 05:19:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1731820678.b61b5fa9f4c8d0351d94c0fd29298e4d142855fe.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/postgresql/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/postgresql/postgresql-17.1.ebuild dev-db/postgresql/postgresql-9999.ebuild X-VCS-Directories: dev-db/postgresql/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b61b5fa9f4c8d0351d94c0fd29298e4d142855fe X-VCS-Branch: master Date: Sun, 17 Nov 2024 05:19:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9b14f3ec-886b-4557-a511-0d0ae91a3c07 X-Archives-Hash: d3a3adc105d055f5f3dcc3e49d2239a0 commit: b61b5fa9f4c8d0351d94c0fd29298e4d142855fe Author: Sam James gentoo org> AuthorDate: Sun Nov 17 05:17:58 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Nov 17 05:17:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61b5fa9 dev-db/postgresql: build w/ -std=gnu17 Upcoming GCC 15 defaults to -std=gnu23 which pg fails to build with. Go back to the default -std=gnu17 (i.e. a noop for older GCCs) until the upstream report I've sent is fixed. Sent that to pgsql-bugs but it's still in the moderation queue for now, I'll update with the link once it's through. Signed-off-by: Sam James gentoo.org> dev-db/postgresql/postgresql-17.1.ebuild | 5 +++++ dev-db/postgresql/postgresql-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-db/postgresql/postgresql-17.1.ebuild b/dev-db/postgresql/postgresql-17.1.ebuild index d2a1c4679c40..06bd5157fb78 100644 --- a/dev-db/postgresql/postgresql-17.1.ebuild +++ b/dev-db/postgresql/postgresql-17.1.ebuild @@ -128,6 +128,11 @@ src_prepare() { } src_configure() { + # Fails to build with C23, fallback to the old default in < GCC 15 + # for now. Reported upstream to pgsql-bugs ML but not yet through + # moderation filter. + append-cflags -std=gnu17 + case ${CHOST} in *-darwin*|*-solaris*) use nls && append-libs intl diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild index b6efc09b8671..6f69a27051a3 100644 --- a/dev-db/postgresql/postgresql-9999.ebuild +++ b/dev-db/postgresql/postgresql-9999.ebuild @@ -143,6 +143,11 @@ src_prepare() { } src_configure() { + # Fails to build with C23, fallback to the old default in < GCC 15 + # for now. Reported upstream to pgsql-bugs ML but not yet through + # moderation filter. + append-cflags -std=gnu17 + case ${CHOST} in *-darwin*|*-solaris*) use nls && append-libs intl