build problem

Lists: pgsql-hackers
From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: build problem
Date: 2010-12-02 02:27:59
Message-ID: 1291256879.25389.6.camel@jdavis-ux.asterdata.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

When I build HEAD using just "make -s install", everything works fine.
But when I add "-j12", it appears to cause problems. This problem
appeared very recently. Output below.

I can get it to work simply by running "make -s -j12 install" over and
over, and eventually it succeeds.

Regards,
Jeff Davis

$ make -s -j12 install
In file included from gram.y:12179:
scan.c: In function 'yy_try_NUL_trans':
scan.c:16256: warning: unused variable 'yyg'
dt_common.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[5]: *** [libpgtypes.so.3.2] Error 1
make[4]: *** [submake-pgtypeslib] Error 2
make[4]: *** Waiting for unfinished jobs....
gcc: pgstrcasecmp.c: No such file or directory
gcc: no input files
make[5]: *** [pgstrcasecmp.o] Error 1
make[5]: *** Deleting file `pgstrcasecmp.o'
make[4]: *** [submake-pgtypeslib] Error 2
make[4]: *** Waiting for unfinished jobs....
ln: creating symbolic link `./pgstrcasecmp.c': File exists
make[6]: *** [pgstrcasecmp.c] Error 1
make[6]: *** Deleting file `pgstrcasecmp.c'
make[5]: *** [submake-pgtypeslib] Error 2
make[5]: *** Waiting for unfinished jobs....
gcc: pgstrcasecmp.c: No such file or directory
gcc: no input files
make[4]: *** [pgstrcasecmp.o] Error 1
make[3]: *** [install-pgtypeslib-recurse] Error 2
make[3]: *** Waiting for unfinished jobs....
/usr/bin/ld: can not read symbols: File truncated
collect2: ld returned 1 exit status
make[6]: *** [libpq.so.5.4] Error 1
make[5]: *** [submake-libpq] Error 2
make[4]: *** [submake-ecpglib] Error 2
make[3]: *** [install-compatlib-recurse] Error 2
../../../config/install-sh: libpq.so.5.4 does not exist.
make[3]: *** [install-lib-shared] Error 1
make[2]: *** [install-libpq-recurse] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [install-ecpglib-recurse] Error 2
make[2]: *** [install-ecpg-recurse] Error 2
make[1]: *** [install-interfaces-recurse] Error 2
make: *** [install-src-recurse] Error 2


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: build problem
Date: 2010-12-02 03:16:11
Message-ID: 27041.1291259771@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> When I build HEAD using just "make -s install", everything works fine.
> But when I add "-j12", it appears to cause problems. This problem
> appeared very recently. Output below.

Platform?

regards, tom lane


From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: build problem
Date: 2010-12-02 05:27:32
Message-ID: 1291267652.7704.1.camel@jdavis-ux.asterdata.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, 2010-12-01 at 22:16 -0500, Tom Lane wrote:
> Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> > When I build HEAD using just "make -s install", everything works fine.
> > But when I add "-j12", it appears to cause problems. This problem
> > appeared very recently. Output below.
>
> Platform?

Oops, sorry:

$ uname -a
Linux jdavis-ux 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC
2010 x86_64 GNU/Linux

Regards,
Jeff Davis


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: build problem
Date: 2010-12-02 08:12:03
Message-ID: 1291277523.2001.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On ons, 2010-12-01 at 21:27 -0800, Jeff Davis wrote:
> On Wed, 2010-12-01 at 22:16 -0500, Tom Lane wrote:
> > Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> > > When I build HEAD using just "make -s install", everything works fine.
> > > But when I add "-j12", it appears to cause problems. This problem
> > > appeared very recently. Output below.
> >
> > Platform?
>
> Oops, sorry:
>
> $ uname -a
> Linux jdavis-ux 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC
> 2010 x86_64 GNU/Linux

I'll look into it.