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.94.2) (envelope-from ) id 1qw8R1-009qAZ-U0 for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Oct 2023 22:02:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qw8R0-006BV0-G7 for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Oct 2023 22:02:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qw8R0-006BUr-7R for pgsql-bugs@lists.postgresql.org; Thu, 26 Oct 2023 22:02:34 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qw8Qw-002zQd-TM for pgsql-bugs@lists.postgresql.org; Thu, 26 Oct 2023 22:02:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=FiGClLrD2TxDzWc5nYbeNqsJssMPkIe4auuTmt0w5Hg=; b=NxLK1sCNjpA94P2dVZwAPkTPk3 dbTtz5G639JnFY/r5ZWEH3Nht21AGRXk1ZTjBzAQdI6kM12j7t4jPSeatA9L9MLhbFmqeb0AlRLZL yCUc4qlNfjBUe/yfg92GvL9TC/Fo/fzf0vdzBevDHjnoXnTn3iaxpxKCOxhz5TXLr5XDbukgcwMs2 BC1YWk2q2TKdR9kJtBidLsE12wLSF6VxefYeYfytbaMvxcAPPoDPE4wzE3hmz23kHDUrYo3crAQw6 6VuapA8wWjd+4UbTBfgUBQOsm+/wDwcdZuEO8ElUk0xO4hs8O1FjRvZ2RqDCOj6JcCmYNme5SlLeI VzOoEfsQ==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qw8Qv-000uzJ-0s; Thu, 26 Oct 2023 18:02:29 -0400 Date: Thu, 26 Oct 2023 18:02:29 -0400 From: Bruce Momjian To: Devrim =?utf-8?B?R8O8bmTDvHo=?= Cc: Tom Lane , Greg Hennessy , pgsql-bugs@lists.postgresql.org Subject: Re: missing requirement on ccache in postgresql16-devel Message-ID: References: <1000999.1698254504@sss.pgh.pa.us> <96e369b05eb911a78b0078dd65a6f0701b6dfe3d.camel@gunduz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <96e369b05eb911a78b0078dd65a6f0701b6dfe3d.camel@gunduz.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Oct 26, 2023 at 10:42:10PM +0100, Devrim Gunduz wrote: > > Hi, > > On Wed, 2023-10-25 at 13:21 -0400, Tom Lane wrote: > > Bruce Momjian writes: > > > On Wed, Oct 25, 2023 at 11:25:15AM -0400, Greg Hennessy wrote: > > > > The file /usr/pgsql-16/lib/pgxs/src/Makefile.global has a > > > > reference > > > > to ccache but the rpm doesn't list this as a dependency. I would > > > > like > > > > to submit that it is a bug that it does not. > > > > > Uh, ccache is an _optional_ way to speed up compilation.  It is not > > > a requirement/dependency. > > > > Yeah, but if the Makefile says "CC = ccache gcc" then anybody > > trying to build under PGXS will fail if they don't have ccache > > installed.  > > Makefile.global has this reference to ccache on RHEL 9 and Fedora: > > CLANG = /usr/lib64/ccache/clang > > which is caused by: > > %if 0%{?rhel} && 0%{?rhel} == 8 > export CLANG=%{_bindir}/clang LLVM_CONFIG=%{_bindir}/llvm-config-64 > %endif > > (so this issue does not exist on RHEL 8). > > Pushed a fix to PostgreSQL 17. I'll check the results tomorrow, and then > will patch PostgreSQL 11+. > > Greg: Thanks for the report. The changes will appear in next month's > minor release set (Nov 9). I'm not inclined to push an update set just > for this issue. Great, thanks. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.