Discussion:
"make -j4 world" falls over
Tom Lane
2011-08-18 22:56:35 UTC
Permalink
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
--
Sent via pgsql-hackers mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Tom Lane
2011-08-19 13:41:50 UTC
Permalink
Post by Tom Lane
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
--
Sent via pgsql-hackers mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Peter Eisentraut
2011-08-24 18:44:24 UTC
Permalink
Post by Tom Lane
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,
../../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,
../../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.
--
Sent via pgsql-hackers mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Tom Lane
2011-08-24 19:22:13 UTC
Permalink
Post by Peter Eisentraut
Post by Tom Lane
I ran into $SUBJECT whilst doing trial RPM packaging of 9.1.
Fixed.
Works for me --- thanks!

regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Continue reading on narkive:
Loading...