Re: HEAD build failure on win32 mingw

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: HEAD build failure on win32 mingw
Date: 2008-11-22 17:38:48
Message-ID: 492843A8.5020300@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
>> According to Stefan Kaltenbrunner, who took the time to delve into
>> developer.pg.org guts, the script used to generate the snapshots looks
>> like this
>
>> /usr/bin/cvs -q export -rREL8_3_STABLE pgsql
>> cd pgsql
>> ./configure
>> cd doc/src
>> gmake postgres.tar.gz
>> mv postgres.tar.gz ..
>> gmake postgres.tar.gz
>> mv postgres.tar.gz ..
>> gmake man.tar.gz
>> mv man.tar.gz ..
>> cd sgml
>> gmake HISTORY INSTALL
>> mv -f HISTORY INSTALL ../../..
>> cd ../../..
>> gmake VERSION=snapshot dist
>> gmake maintainer-clean
>
> That can't be the right script --- the final "maintainer-clean" would
> wipe out all the derived files made by the dist step. Also, it's
> *definitely* not the script being used to generate HEAD-branch
> snapshots ...

no it is not the -HEAD situation is significantly worse because what we
are actually shipping as the manpages there are the ones from 7.4 ...

set -e
export PATH=/usr/local/bin:/usr/bin:/bin:/sbin
export CVSROOT=:ext:scrappy(at)cvs(dot)postgresql(dot)org:/cvsroot
cd /usr/local/pgsql/snapshot
if [ -d pgsql ]
then
mv pgsql pgsql.dead
fi
if [ -d pgsql.dead ]
then
rm -rf pgsql.dead &
fi
/usr/bin/cvs -q export -rHEAD pgsql
cd pgsql
./configure
cd doc/src
gmake postgres.tar.gz
mv postgres.tar.gz ..
cp ~ftp/pub/dev/doc/man-7.4.tar.gz ../man.tar.gz
cd sgml
gmake HISTORY INSTALL
mv -f HISTORY INSTALL ../../..
cd ../../..
gmake VERSION=snapshot dist
gmake maintainer-clean

for x in *.tar.gz; do
md5 $x > $x.md5
done

cp *.tar.gz *.tar.gz.md5 /var/spool/ftp/pub/snapshot/dev

gunzip *.tar.gz
bzip2 -f *.tar

for x in *.tar.bz2; do
md5 $x > $x.md5
done

mv *.tar.bz2 *.tar.bz2.md5 /var/spool/ftp/pub/snapshot/dev

Stefan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-22 17:42:09 Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)
Previous Message Tom Lane 2008-11-22 17:18:02 Re: HEAD build failure on win32 mingw