From: Jacob Champion <pchampion@vmware.com>
To: tgl@sss.pgh.pa.us <tgl@sss.pgh.pa.us>
To: michael@paquier.xyz <michael@paquier.xyz>
Cc: daniel@yesql.se <daniel@yesql.se>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Cc: andrew@dunslane.net <andrew@dunslane.net>
Subject: Re: [PATCH] test/ssl: rework the sslfiles Makefile target
Date: Fri, 13 Aug 2021 00:08:16 +0000
Message-ID: <dc280bda48b3616bc068aba21db20acaaa6fea13.camel@vmware.com> (raw)
In-Reply-To: <3787164.1628609190@sss.pgh.pa.us>
References: <d15a9838344ba090e09fd866abf913584ea19fb7.camel@vmware.com>
<223071F9-618F-48AF-BE40-EFF76F5CE45F@yesql.se>
<ffce081b30b0d3303c788471f30171b4074fbb9f.camel@vmware.com>
<604960.1627506174@sss.pgh.pa.us>
<FBD68F12-C591-4589-AAC7-38F16AD226CE@yesql.se>
<7316398fbce3fdc0192c3b9c5aa1011e32e7f88e.camel@vmware.com>
<YRIpT6S+malaw79H@paquier.xyz>
<3787164.1628609190@sss.pgh.pa.us>
On Tue, 2021-08-10 at 11:26 -0400, Tom Lane wrote:
> Yeah, I don't like that change either. It would be one thing if
> we had several places in which suppressing .SECONDARY was useful,
> but if there's only one then it seems better to design around it.
Maybe. The current Makefile already tried to design around it, with
`rm`s inserted various places. That strategy won't work for the CA
state, and my personal interest in trying to manually replicate built-
in Make features is... low.
> As a concrete example of why this might be a bad idea, how sure
> are you that noplace in Makefile.global depends on that behavior?
I was hoping that, by scoping the change to only a single Makefile with
the clean_intermediates flag, I could simplify that question to "does
any place in that one Makefile rely on an affected rule from
Makefile.global?" And the answer to that appears to be "no" at the
moment, because that Makefile doesn't really need the globals for
anything but the prove_ macros.
(Things would get hairier if someone included the SSL Makefile
somewhere else, but I don't see anyone doing that now and I don't know
why someone would.)
But -- if I do spend the time to answer your broader question, does it
actually help my case? Someone could always add more stuff to
Makefile.global. It sounds like the actual fear is that we don't
understand what might be interacting with a very broad global target,
and that fear is too great to try a scoped change, in a niche Makefile,
early in a release cycle, to improve a development issue multiple
committers have now complained about.
If _that's_ the case, then our build system is holding all of us
hostage. Which is frustrating to me. Should I shift focus to help with
that, first?
--Jacob
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pchampion@vmware.com, tgl@sss.pgh.pa.us, michael@paquier.xyz, daniel@yesql.se, andrew@dunslane.net
Subject: Re: [PATCH] test/ssl: rework the sslfiles Makefile target
In-Reply-To: <dc280bda48b3616bc068aba21db20acaaa6fea13.camel@vmware.com>
References: <d15a9838344ba090e09fd866abf913584ea19fb7.camel@vmware.com> <223071F9-618F-48AF-BE40-EFF76F5CE45F@yesql.se> <ffce081b30b0d3303c788471f30171b4074fbb9f.camel@vmware.com> <604960.1627506174@sss.pgh.pa.us> <FBD68F12-C591-4589-AAC7-38F16AD226CE@yesql.se> <7316398fbce3fdc0192c3b9c5aa1011e32e7f88e.camel@vmware.com> <YRIpT6S+malaw79H@paquier.xyz> <3787164.1628609190@sss.pgh.pa.us> <dc280bda48b3616bc068aba21db20acaaa6fea13.camel@vmware.com>
* 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