
Using the attached script, the build fails while trying ot tar up the
distributions ... when its trying to build the tools tar file, error being
that it can't find the src/data directory ... compared against the
snapshot build script, it doesn't look like I've missed anything, and i
haven't changed the build script fo rbeta recently, other then the v7.4
stuff ...

Makefile problem, or a directory that is supposed to be built?

#! /bin/sh
set -e
export PATH=/usr/local/bin:/usr/bin:/bin:/sbin
cd /usr/local/pgsql/beta
if [ -d pgsql ]
then
  mv pgsql pgsql.dead
fi
if [ -d pgsql.dead ]
then
  rm -rf pgsql.dead &
fi
/usr/bin/cvs -d /cvsroot -q checkout -rREL7_4_BETA1 -P pgsql
/usr/bin/find pgsql -type d -name CVS -print | xargs rm -rf
cd pgsql
./configure
cd doc/src
gmake postgres.tar.gz
mv postgres.tar.gz ..
cp /var/spool/ftp/pub/dev/doc/man.tar.gz ..
cd ../..
gmake split-dist=yes dist
gmake maintainer-clean

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

mv *.tar.gz *.tar.gz.md5 /var/spool/ftp/pub/source/v7.4



Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

Tue, 5 Aug 2003 00:23:00 -0300 (ADT)
The Hermit Hacker <scrappy@postgresql.org>
Building beta packaging fails ...
The Hermit Hacker <scrappy@postgresql.org> writes:
> Using the attached script, the build fails while trying ot tar up the
> distributions ... when its trying to build the tools tar file, error being
> that it can't find the src/data directory ...

Why is it looking for src/data?  I removed all the files in that
directory last night as part of the --enable-recode deletion.

			regards, tom lane

Mon, 04 Aug 2003 23:54:54 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Building beta packaging fails ... 
On Tue, 5 Aug 2003, The Hermit Hacker wrote:

> 
> Using the attached script, the build fails while trying ot tar up the
> distributions ... when its trying to build the tools tar file, error being
> that it can't find the src/data directory ... compared against the
> snapshot build script, it doesn't look like I've missed anything, and i
> haven't changed the build script fo rbeta recently, other then the v7.4
> stuff ...

Hmm... A quick test of the script here suggests that the problem might be
with the building of documentation (ecpg.sgml). Since 'set -e' is called,
the build will stop when gmake exits. 

Gavin


Tue, 5 Aug 2003 14:03:38 +1000 (EST)
Gavin Sherry <swm@linuxworld.com.au>
Re: Building beta packaging fails ...

GNUMakefile.in:

opt_files := \
        src/tools src/corba src/data src/tutorial \
        src/bin/pgtclsh \
        $(addprefix src/interfaces/, libpgtcl jdbc) \
        $(addprefix src/pl/, plperl plpython tcl)


I take it then, that src/data shoudl be removed from there too?

On Mon, 4 Aug 2003, Tom Lane wrote:

> The Hermit Hacker <scrappy@postgresql.org> writes:
> > Using the attached script, the build fails while trying ot tar up the
> > distributions ... when its trying to build the tools tar file, error being
> > that it can't find the src/data directory ...
>
> Why is it looking for src/data?  I removed all the files in that
> directory last night as part of the --enable-recode deletion.
>
> 			regards, tom lane
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

Tue, 5 Aug 2003 01:06:11 -0300 (ADT)
The Hermit Hacker <scrappy@postgresql.org>
Re: Building beta packaging fails ... 
The Hermit Hacker <scrappy@postgresql.org> writes:
> GNUMakefile.in:
> opt_files := \
>         src/tools src/corba src/data src/tutorial \

Ah.

> I take it then, that src/data shoudl be removed from there too?

Yep.  Sorry I missed it.

			regards, tom lane

Tue, 05 Aug 2003 00:07:47 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Building beta packaging fails ... 

'k, removed and trying build again ...

On Tue, 5 Aug 2003, Tom Lane wrote:

> The Hermit Hacker <scrappy@postgresql.org> writes:
> > GNUMakefile.in:
> > opt_files := \
> >         src/tools src/corba src/data src/tutorial \
>
> Ah.
>
> > I take it then, that src/data shoudl be removed from there too?
>
> Yep.  Sorry I missed it.
>
> 			regards, tom lane
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

Tue, 5 Aug 2003 01:19:27 -0300 (ADT)
The Hermit Hacker <scrappy@postgresql.org>
Re: Building beta packaging fails ... 
В Втр, 05.08.2003, в 05:23, The Hermit Hacker пишет:

> /usr/bin/cvs -d /cvsroot -q checkout -rREL7_4_BETA1 -P pgsql
> /usr/bin/find pgsql -type d -name CVS -print | xargs rm -rf

Hint: cvs export

-- 
Markus Bertheau <twanger@bluetwanger.de>
05 Aug 2003 09:47:15 +0200
Markus Bertheau <twanger@bluetwanger.de>
Re: Building beta packaging fails ...
The Hermit Hacker writes:

> /usr/bin/cvs -d /cvsroot -q checkout -rREL7_4_BETA1 -P pgsql
> /usr/bin/find pgsql -type d -name CVS -print | xargs rm -rf

While I second the note that you really should be using cvs export, the
second line is redundant in any case, because gmake dist already does
that.

-- 
Peter Eisentraut   peter_e@gmx.net

Tue, 5 Aug 2003 19:00:16 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: Building beta packaging fails ...