"make -j4 world" falls over
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
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
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 asIn 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.