Re: Some "fun" last weekend

2022-07-19 Thread Dmitry Goncharov
On Tue, Jul 19, 2022 at 6:13 PM Paul Smith wrote: > There are at least two Savannah bugs about this very subtle and > annoying issue. Do you mean that jobserver-auth is present in the child env, even though the fds are closed? > So the first thing I tried to do was to add another setting of

Some "fun" last weekend

2022-07-19 Thread Paul Smith
So after the changes I made to allow exporting environment variables to subshells, I wanted to work on the issues we have with jobserver pipes getting confused when you run make in unexpected ways such as inside a shell function or in a recipe line which is not considered a submake. There are at

Re: [bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Paul Smith
On Tue, 2022-07-19 at 21:00 +0200, Jean-Baptiste Poittevin wrote: > Well, allow me to cite the documentation linked : > > This is a behaviour which seems reasonable to me, sufficiently > consistent for me to try to implement it. It is somehow sad that the > same rule is not applicable for pattern

Re: [bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Jean-Baptiste Poittevin
Le 2022-07-19 14:52:40, Paul Smith a écrit : > On Tue, 2022-07-19 at 20:26 +0200, Jean-Baptiste Poittevin wrote: > > a% b%: % > >     cp $< $@ > > This rule is not well-formed. By declaring two patterns as targets, > you are telling make that your recipe will build both targets after >

Re: [bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Paul Smith
On Tue, 2022-07-19 at 20:26 +0200, Jean-Baptiste Poittevin wrote: > a% b%: % >     cp $< $@ This rule is not well-formed. By declaring two patterns as targets, you are telling make that your recipe will build both targets after successfully being invoked one time. If your recipe doesn't

Re: [bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Jean-Baptiste Poittevin
M. Smith, Le 2022-07-19 14:00:59, Paul D. Smith a écrit : > Follow-up Comment #1, bug #60165 (project make): > > The attached patch (if I understand it correctly) will break the large > majority of makefiles that use pattern rules today, including even some > built-in rules in GNU make. It's

[bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Paul D. Smith
Follow-up Comment #1, bug #60165 (project make): The attached patch (if I understand it correctly) will break the large majority of makefiles that use pattern rules today, including even some built-in rules in GNU make. It's clearly a non-starter from a backward-compatibility standpoint. We

[bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Jean-Baptiste Poittevin
Additional Item Attachment, bug #60165 (project make): File name: make.sv60165.patch Size:8 KB ___ Reply to this item at:

Re: Missing [/usr/local]/var/lib and [/usr/local]/tmp

2022-07-19 Thread Alejandro Colomar
Hi Alfred, On 7/19/22 09:26, Alfred M. Szmidt wrote: > I think the first question is to understand what a "library state > directory" is? Whate are you storing under it? Seems like something > architecture independent? Are the files shareable between > installations? I'm

Re: Missing [/usr/local]/var/lib and [/usr/local]/tmp

2022-07-19 Thread Alfred M. Szmidt
> I think the first question is to understand what a "library state > directory" is? Whate are you storing under it? Seems like something > architecture independent? Are the files shareable between > installations? I'm talking about NGINX Unit, which stores the running