Bug 15741 - postgresql SRPM rebuild fails
Summary: postgresql SRPM rebuild fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: postgresql
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-08 16:53 UTC by Michael Redinger
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-08 16:53:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Redinger 2000-08-08 16:53:27 UTC
I extracted the sources and the spec file from the SRPM package (did some
minor changes to the %pre script). However, build fails.

RPM produces the following output:

make: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.0.2/doc'
+ pushd /var/tmp/postgresql-7.0.2-root/usr/share/man
/var/tmp/postgresql-7.0.2-root/usr/share/man
/usr/src/redhat/BUILD/postgresql-7.
0.2
+ tar xzf /usr/src/redhat/BUILD/postgresql-7.0.2/doc/man.tar.gz
+ cp /usr/src/redhat/SOURCES/postgresql-dump.1.gz man1
+ popd
/usr/src/redhat/BUILD/postgresql-7.0.2
+ pushd /var/tmp/postgresql-7.0.2-root/usr/include
/var/tmp/postgresql-7.0.2-root/usr/include
/usr/src/redhat/BUILD/postgresql-7.0.
2
+ rm -rf 'pgsql/*'
+ mv c.h pgsql
+ mv config.h pgsql
+ mv ecpgerrno.h pgsql
+ mv ecpglib.h pgsql
+ mv ecpgtype.h pgsql
+ mv fmgr.h pgsql
+ mv libpgeasy.h pgsql
+ mv libpgtcl.h pgsql
+ mv libpq-fe.h pgsql
+ mv libpq++.h pgsql
+ mv libpq-int.h pgsql
+ mv os.h pgsql
+ mv postgres_ext.h pgsql
+ mv postgres.h pgsql
+ mv pqexpbuffer.h pgsql
+ mv sql3types.h pgsql
+ mv sqlca.h pgsql
+ mv access pgsql
+ mv commands pgsql
+ mv executor pgsql
+ mv iodbc pgsql
+ mv lib pgsql
+ mv libpq pgsql
+ mv libpq++ pgsql
+ mv port pgsql
+ mv utils pgsql
+ popd
/usr/src/redhat/BUILD/postgresql-7.0.2
+ pushd src/include
/usr/src/redhat/BUILD/postgresql-7.0.2/src/include
/usr/src/redhat/BUILD/postgre
sql-7.0.2
+ /lib/cpp -M -I. -I../backend executor/spi.h
+ xargs -n 1
+ grep '\W'
+ cpio -pdu /var/tmp/postgresql-7.0.2-root/usr/include/pgsql
+ sort
+ grep -v spi.h
+ grep -v '^/'
cpio: spi.o:: No such file or directory
1233 blocks
Bad exit status from /var/tmp/rpm-tmp.54321 (%install)

Comment 1 Trond Eivind Glomsrxd 2000-08-08 17:37:19 UTC
This has been fixed (just grep -v that file) - some cpp changes, I think.


Note You need to log in before you can comment on or make changes to this bug.