Re: pgsql: Refactor flex and bison make rules
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-committers@postgresql.org, Jeremy Drake <pgbuildfarm@jdrake.com>
Date: 2012-11-28T20:47:56Z
Lists: pgsql-hackers
On 11/28/2012 02:14 PM, Alvaro Herrera wrote: > Peter Eisentraut wrote: >> Refactor flex and bison make rules >> >> Numerous flex and bison make rules have appeared in the source tree >> over time, and they are all virtually identical, so we can replace >> them by pattern rules with some variables for customization. > Okapi has been failing sporadically on ecpg, and I wonder if it's > related to this change. See, for example, > http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=okapi&dt=2012-11-28%2018%3A15%3A01 > > icc -O3 -xSSSE3 -parallel -ip -mp1 -fno-strict-aliasing -g -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE -I../include -I../../../../src/interfaces/ecpg/include -I. -I. -DMAJOR_VERSION=4 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/et -c -o parser.o parser.c > icc -O3 -xSSSE3 -parallel -ip -mp1 -fno-strict-aliasing -g -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE -I../include -I../../../../src/interfaces/ecpg/include -I. -I. -DMAJOR_VERSION=4 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/et -c -o keywords.o keywords.c > parser.c(25): catastrophic error: could not open source file "preproc.h" > #include "preproc.h" > ^ > > compilation aborted for parser.c (code 4) > make[4]: *** [parser.o] Error 4 > make[4]: *** Waiting for unfinished jobs.... > keywords.c(20): catastrophic error: could not open source file "preproc.h" > #include "preproc.h" > ^ > > compilation aborted for keywords.c (code 4) Well, it looks like the make is broken and missing a clear dependency requirement. I think we need to ask Jeremy to turn off parallel build for okapi. cheers andrew
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Refactor flex and bison make rules
- 8521d131941b 9.3.0 cited