Thread: "make -j4 world" falls over

"make -j4 world" falls over

From
Tom Lane
Date:
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


Re: "make -j4 world" falls over

From
Tom Lane
Date:
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


Re: "make -j4 world" falls over

From
Peter Eisentraut
Date:
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.



Re: "make -j4 world" falls over

From
Tom Lane
Date:
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