[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: Re: [CVS] OpenPKG: openpkg-src/postgresql/ postgresql.spec
From: Christoph Schug <chris+openpkg-cvs () schug ! net>
Date: 2007-10-24 17:53:23
Message-ID: 20071024175323.GA10208 () voodoo ! schug ! net
[Download RAW message or body]
On Wed, Oct 24, 2007, Christoph Schug wrote:
> OpenPKG CVS Repository
> http://cvs.openpkg.org/
> ____________________________________________________________________________
>
> Server: cvs.openpkg.org Name: Christoph Schug
> Root: /v/openpkg/cvs Email: cs@openpkg.net
> Module: openpkg-src Date: 24-Oct-2007 19:51:58
> Branch: HEAD Handle: 2007102418515800
>
> Modified files:
> openpkg-src/postgresql postgresql.spec
>
> Log:
> postgresql-8.2.5.tar.bz2 has been re-rolled in place by the vendor
> (fixes Linux build issues)
Hello List!
If anyone still has an old version of postgresql-8.2.5.tar.bz2 in its
development environment, please dump it and fetch a new one (just to
avoid that the bad tarball is being packaged once again). The bad
tarball causes the build of postgresql to fail on Linux with following
error:
[...]
> /openpkg-dev/bin/cc -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Winline \
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -DFRONTEND -I. \
> -I../../../src/interfaces/libpq -I../../../src/bin/pg_dump -I../../../src/include \
> -I/openpkg-dev/include -I/openpkg-dev/include/readline -D_GNU_SOURCE -c -o \
> psqlscan.o psqlscan.c
> In file included from ../../../src/include/port.h:17,
> from ../../../src/include/c.h:826,
> from ../../../src/include/postgres_fe.h:21,
> from psqlscan.l:40:
> /usr/include/netdb.h:560: error: expected identifier or '(' before '[' token
> make[3]: *** [psqlscan.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> error: Bad exit status from /openpkg-dev/RPM/TMP/rpm-tmp.17869 (%build)
>
>
> RPM build errors:
> Bad exit status from /openpkg-dev/RPM/TMP/rpm-tmp.17869 (%build)
I just rolled the postgresql package with a freshly fetched tarball.
Size and MD5 sum of the correct tarball are ...
> $ ls -l postgresql-8.2.5.tar.bz2
> -rw-r--r-- 1 cs cs 12510411 Oct 24 2007 postgresql-8.2.5.tar.bz2
> $ openssl md5 postgresql-8.2.5.tar.bz2
> MD5(postgresql-8.2.5.tar.bz2)= bb1cd309ea72f070cb964736f5755847
The bad one (in my case) looked like this ...
> $ ls -l postgresql-8.2.5_bad.tar.bz2
> -rw-r--r-- 1 cs cs 12510211 Oct 24 2007 postgresql-8.2.5_bad.tar.bz2
> $ openssl md5 postgresql-8.2.5_bad.tar.bz2
> MD5(postgresql-8.2.5_bad.tar.bz2)= 4df392cdd20dac3cea4ab80251661c4a
Thanks!
-cs
______________________________________________________________________
OpenPKG http://openpkg.org
Developer Communication List openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic