bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependency tracking not working on macOS


From: Paul Eggert
Subject: Re: Dependency tracking not working on macOS
Date: Sun, 9 Oct 2022 15:56:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 2022-10-09 15:17, Paul Smith wrote:
On Sun, 2022-10-09 at 16:39 -0400, Zack Weinberg wrote:
can I suggest that this kind of problem would be easier to
troubleshoot if make printed the name of the temporary file that it
could not fopen?
In the current Git version, it does do this:

   ... _("fopen: temporary file %s: %s"), newnm, strerror (errno));

It also does in the latest version of the proposed "Fix some temp file issues" patch <https://lists.gnu.org/r/bug-make/2022-10/msg00064.html>, except that if tmpfile fails the diagnostic simply mentions tmpfile. I could change that to mention DEFAULT_TMPDIR instead, if you prefer.

In the proposed patch tmpfile is used only on platforms that lack fdopen, or that lack dup, so the point I'm raising here matters only on unusual platforms (AmigaOS and VMS perhaps?).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]