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

(edit)
Clone Of:
(edit)
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
`/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl/tcl'
Makefile:22: Makefile.tcldefs: No such file or directory
/bin/sh mkMakefile.tcldefs.sh
make[2]: Leaving directory
`/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl/tcl'
make[2]: Entering directory
`/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl/tcl'
gcc -pipe -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1
-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
-lc
rm pltcl.o
make[2]: Leaving directory
`/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl/tcl'
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
/usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces/python
/usr/src/redhat/BUILD/postgresql-7.0.2/src
/usr/src/redhat/BUILD/postgresql-7.0.2
+ 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.