Re: build farm failures

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Darcy Buskermolen <darcy@ok-connect.com>, pgsql-hackers@postgresql.org
Date: 2007-08-16T20:04:57Z
Lists: pgsql-hackers
Andrew Dunstan wrote:
>
>
> Michael Meskes wrote:
>> The backend has:
>>
>> $(srcdir)/gram.c: $(srcdir)/parse.h ;
>>
>> $(srcdir)/parse.h: gram.y
>>
>> So except for the different naming it's the same. However, we haven't
>> had that problem with the backend so far, or did we?
>>
>> What do I fail to see?
>
> We have had problems in the past. If the user builds at a point in time 
> after the .y file is checked in then the generated file is newer and if 
> it's not removed will never be regenerated, even if they do a subsequent 
> cvs update.

How do you create the copy of the repo to build?  One idea would be to
explicitely skip files that appear on .cvsignore (and maybe croak about
them).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.