Bug 16924 - rebuild of src.rpm fails
Summary: rebuild of src.rpm fails
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: postgresql
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-08-25 08:06 UTC by Pawel Salek
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2000-08-25 08:06:51 UTC

Attachments (Terms of Use)

Description Pawel Salek 2000-08-25 08:06:49 UTC
Rebuild of src.rpm fails. The compilation seems to be OK, rpm executes on
my home system (which is really 6.2 with rpm-3.0.5) find-provides and
find-requires but never writes the generated rpms. On pure pinstripe, the
installation fails as shown at the very bottom of this description.

Funny enough, I took postgresql-7.0.2 from contrib directory, removed pgsql
patch from postgresql.spec - and this spec file controlled successfully the
rpm build on 6.2

I guess postgresql.spec in postgresql-7.0.2 is broken.

The end of failed build on Pinstripe follows:

make[2]: Entering directory
Makefile:22: Makefile.tcldefs: No such file or directory
/bin/sh mkMakefile.tcldefs.sh
make[2]: Leaving directory
make[2]: Entering directory
-DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1  -I../../../src/include
-I../../../src/backend    -c -o pltcl.o pltcl.c
gcc -pipe -shared -o pltcl.so pltcl.o -L/usr/lib -ltcl8.3 -ldl  -lieee -lm
rm pltcl.o
make[2]: Leaving directory
make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl'
All of PostgreSQL is successfully made. Ready to install.
+ pushd interfaces/python
+ cp /usr/lib/python1.5/config/Makefile.pre.in .
cp: /usr/lib/python1.5/config/Makefile.pre.in: No such file or directory
Bad exit status from /var/tmp/rpm-tmp.48669 (%build)

Comment 1 Trond Eivind Glomsrxd 2000-08-25 11:29:23 UTC
You need python-devel installed (which has since been added as a BuildPrereq).

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