Re: Dependency tracking not working on macOS

2022-10-28 Thread Paul Smith
On Fri, 2022-10-28 at 00:46 +0200, Christoph Grüninger wrote: > > config.status: executing libtool commands > > config.status: executing packageheaders commands > > make: TMPDIR value > > /var/folders/lr/5gw1xrv53h1b_9mjjvs2k1drgn/T//albertaiwcZfY: No > > such file or directory I added this ch

Re: [Autoconf] Re: Dependency tracking not working on macOS

2022-10-28 Thread Paul Smith
On Fri, 2022-10-28 at 09:15 +0900, suzuki toshiya wrote: > AC_CONFIG_COMMANDS([dof_free_bit.h], > [AS_TMPDIR([alberta]) > TMPDIR=${tmp} > > rm -rf ${TMPDIR}], > [BITS=$(( ${ac_cv_sizeof_long} * 8 ))]) Oh yeah, that's it. If you're going to remove TMPDIR you better also clear it!! unset TMPDIR

Re: Dependency tracking not working on macOS

2022-10-28 Thread David A. Wheeler
> On Oct 28, 2022, at 11:32 AM, Paul Smith wrote: > The error tells you that when make started it found the TMPDIR > environment variable was set to that path. Then when make tried to > access that path, it did not exist. > > In this release you can see that if we can't use the TMPDIR value,

Re: Dependency tracking not working on macOS

2022-10-28 Thread Paul Smith
On Fri, 2022-10-28 at 11:52 -0400, David A. Wheeler wrote: > > On Oct 28, 2022, at 11:32 AM, Paul Smith wrote: > > In this release you can see that if we can't use the TMPDIR value, > > we fall back to a default value.  I'm not sure this is correct; > > there's an argument to be made that if the u

Re: [Autoconf] Re: Dependency tracking not working on macOS

2022-10-28 Thread Paul Eggert
On 2022-10-28 08:49, Paul Smith wrote: I don't know what this AS_TMPDIR() macro does; I can't find it in a quick search. https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Initialization-Macros.html#index-AS_005fTMPDIR Looks like your diagnosis is correct; thank

Re: Dependency tracking not working on macOS

2022-10-28 Thread Christoph Grüninger
Hi mpsuzuki, hi Paul! Thank you so much for having a deeper look and pointing out my problem! I unset TMPDIR and my project is working on macOS again. For at least 15 years nobody unset this variable - I am glad it is fixed now. Thank you Christoph -- L'enjeu est de bâtir la France de nos en