"make -j4 world" falls over

Started by Tom Laneover 14 years ago4 messages
#1Tom Lane
tgl@sss.pgh.pa.us

I ran into $SUBJECT whilst doing trial RPM packaging of 9.1. The problem
is that make starts building contrib modules before errcodes.h has been
made, leading to failures such as

In file included from ../../src/include/postgres.h:48:0,
from auth_delay.c:12:
../../src/include/utils/elog.h:69:28: fatal error: utils/errcodes.h: No such file or directory
compilation terminated.
In file included from ../../src/include/postgres.h:48:0,
from adminpack.c:15:
../../src/include/utils/elog.h:69:28: fatal error: utils/errcodes.h: No such file or directory
compilation terminated.

I can work around this for the moment, but I think it's a "must fix"
before release.

regards, tom lane

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tom Lane (#1)
Re: "make -j4 world" falls over

I wrote:

I ran into $SUBJECT whilst doing trial RPM packaging of 9.1.

BTW, the failure seems rather hard to provoke at -j4 ... so it was just
bad luck that my first rpmbuild run fell over. However, in manual
testing, it fails pretty much every time at -j16, on my 4-processor
Fedora box.

regards, tom lane

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#1)
Re: "make -j4 world" falls over

On tor, 2011-08-18 at 18:56 -0400, Tom Lane wrote:

I ran into $SUBJECT whilst doing trial RPM packaging of 9.1. The problem
is that make starts building contrib modules before errcodes.h has been
made, leading to failures such as

In file included from ../../src/include/postgres.h:48:0,
from auth_delay.c:12:
../../src/include/utils/elog.h:69:28: fatal error: utils/errcodes.h: No such file or directory
compilation terminated.
In file included from ../../src/include/postgres.h:48:0,
from adminpack.c:15:
../../src/include/utils/elog.h:69:28: fatal error: utils/errcodes.h: No such file or directory
compilation terminated.

I can work around this for the moment, but I think it's a "must fix"
before release.

Fixed.

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#3)
Re: "make -j4 world" falls over

Peter Eisentraut <peter_e@gmx.net> writes:

On tor, 2011-08-18 at 18:56 -0400, Tom Lane wrote:

I ran into $SUBJECT whilst doing trial RPM packaging of 9.1.

Fixed.

Works for me --- thanks!

regards, tom lane