Thread: commit 1eb1dde049ccfffc42c80c2 broke make -j2

commit 1eb1dde049ccfffc42c80c2 broke make -j2

From
Jeff Janes
Date:
Since commit 1eb1dde049ccfffc42c80c2, Have make never delete
intermediate files automatically,  I've frequently been getting errors
doing make -j2 after a maintainer-clean.

parser.c:25:21: fatal error: preproc.h: No such file or directory
compilation terminated.
make[4]: *** [parser.o] Error 1
make[4]: *** Waiting for unfinished jobs....
keywords.c:20:21: fatal error: preproc.h: No such file or directory
compilation terminated.
make[4]: *** [keywords.o] Error 1
make[3]: *** [all-preproc-recurse] Error 2
make[2]: *** [all-ecpg-recurse] Error 2
make[1]: *** [all-interfaces-recurse] Error 2
make: *** [all-src-recurse] Error 2


I don't see how the changes in that commit should cause this, but I
don't really understand make.

Cheers,

Jeff



Re: commit 1eb1dde049ccfffc42c80c2 broke make -j2

From
Tom Lane
Date:
Jeff Janes <jeff.janes@gmail.com> writes:
> Since commit 1eb1dde049ccfffc42c80c2, Have make never delete
> intermediate files automatically,  I've frequently been getting errors
> doing make -j2 after a maintainer-clean.

Worksforme on a Fedora 16 box (make 3.82).  What gmake version are you
running?  There are threads in the archives about make bugs causing
problems like this.
        regards, tom lane



Re: commit 1eb1dde049ccfffc42c80c2 broke make -j2

From
Tom Lane
Date:
I wrote:
> Jeff Janes <jeff.janes@gmail.com> writes:
>> Since commit 1eb1dde049ccfffc42c80c2, Have make never delete
>> intermediate files automatically,  I've frequently been getting errors
>> doing make -j2 after a maintainer-clean.

> Worksforme on a Fedora 16 box (make 3.82).  What gmake version are you
> running?  There are threads in the archives about make bugs causing
> problems like this.

Oh btw ... if you're using --enable-depend, see
https://bugzilla.redhat.com/show_bug.cgi?id=835424
        regards, tom lane



Re: commit 1eb1dde049ccfffc42c80c2 broke make -j2

From
Jeff Janes
Date:
On Wed, Nov 7, 2012 at 10:36 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wrote:
>> Jeff Janes <jeff.janes@gmail.com> writes:
>>> Since commit 1eb1dde049ccfffc42c80c2, Have make never delete
>>> intermediate files automatically,  I've frequently been getting errors
>>> doing make -j2 after a maintainer-clean.
>
>> Worksforme on a Fedora 16 box (make 3.82).  What gmake version are you
>> running?  There are threads in the archives about make bugs causing
>> problems like this.

I've using GNU Make 3.82 as well.  On openSuse 12.2.


>
> Oh btw ... if you're using --enable-depend, see
> https://bugzilla.redhat.com/show_bug.cgi?id=835424

Nope, just plain ./configure

I'll poke around a bit and see what I can find out.

Cheers,

Jeff