build problem

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
Thread:
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joachim Wieland 2010-12-02 02:35:48 Re: directory archive format for pg_dump
Previous Message ghatpande 2010-12-02 02:11:18 Re: Proposal: First step towards Intelligent, integrateddatabase