Re: Dependency tracking not working on macOS

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


On Sun, 2022-10-16 at 23:42 +0200, Christoph Grüninger wrote:
> Makefile         | make -f - am--depfiles
> > make: *** fopen (temporary file): No such file or directory.  Stop.
> Any idea what I am missing? I double-checked hat the used make has 
> version 4.3.91.

You'll need to triple-check then.  It's not physically possible for GNU
make version 4.3.91 to generate that error message.  Somehow your build
system is still running some other version of make; it's probably a
good idea to figure that out and see what version it actually is. 
Maybe add a line to your recipe that runs make with --version to see
what's happening.

The code in GNU make 4.3.91 says:

  if (outfile == 0)
    OSS (fatal, NILF,
         _("fopen: temporary file %s: %s"), newnm, strerror (errno));

My suspicion is that you're running the old, broken version of GNU make
that Apple ships with its Xcode environment.

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux