Dependency tracking not working on macOS

2022-10-09 Thread Christoph Grüninger
Hi autoconf community, I am updating an Autotool-based code, that was for a couple of years unmaintained. I first fixed all issues with Debian and Ubuntu, then I fixed the macOS issues. Thanks to GitLab.com, I got a CI runner with macOS and using autoconf from homebrew. Unfortunately, I am fac

Re: Dependency tracking not working on macOS

2022-10-09 Thread Paul Smith
On Sun, 2022-10-09 at 18:33 +0200, Christoph Grüninger wrote: > > config.status:1976: ... sed -e '/# am--include-marker/d' Makefile | make -f > > - am--depfiles > > make: *** fopen (temporary file): No such file or directory.  Stop. This command is asking make to read a makefile from stdin. When

Re: Dependency tracking not working on macOS

2022-10-09 Thread Zack Weinberg
On Sun, Oct 9, 2022, at 1:18 PM, Paul Smith wrote: > On Sun, 2022-10-09 at 18:33 +0200, Christoph Grüninger wrote: >> > config.status:1976: ... sed -e '/# am--include-marker/d' Makefile | make >> > -f - am--depfiles >> > make: *** fopen (temporary file): No such file or directory.  Stop. > > This

Re: Dependency tracking not working on macOS

2022-10-09 Thread Paul Smith
On Sun, 2022-10-09 at 16:39 -0400, Zack Weinberg wrote: > Paul, 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"),

Re: Dependency tracking not working on macOS

2022-10-09 Thread Paul Eggert
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: ... _("

Re: Dependency tracking not working on macOS

2022-10-09 Thread Christoph Grüninger
Hi Paul, thank you for your answer! I ensured that it is unrelated to my CI runner: I asked a user with an Apple computer and he confirmed, that the older version just worked and now he needs to add --disable-dependency-tracking. TMPDIR is also set, to an uncommon name (/var/folders/lr/5gw1x

Re: Dependency tracking not working on macOS

2022-10-09 Thread Paul Eggert
On 2022-10-09 15:43, Christoph Grüninger wrote: TMPDIR is also set, to an uncommon name (/var/folders/lr/5gw1xrv53h1b_9mjjvs2k1drgn/T/). Is that directory searchable, readable, writeable? Does its file system have enough free space? Any problems in that area could cause the symptoms you'r