[CentOS] OpenLDAP - building from src rpm fails (internal compiler error)

Sean Staats

sstaats at questia.com
Fri Aug 12 15:24:57 UTC 2005


I'm trying to enable ACI in openldap by:
1) Install the source rpm (rpm -ivh
http://mirrors.kernel.org/centos/4/os/SRPMS/openldap-2.2.13-2.src.rpm)
2) Modify the spec file to include '--enable-aci' in the appropriate
locations.  I have even tried with the original (no aci) spec file.
3) Running 'rpmbuild -bb openldap.spec, which fails with the following
output:

<snip>
/bin/sh ./libtool --mode=compile cc -c -I. -I./../include
-I./../include_auto  -D_GNU_SOURCE -D_REENTRANT -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_REENTRANT -fPIC ../db/db_auto.c
../db/db.c: In function `__db_master_update':
../db/db.c:661: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
cc -c -I. -I./../include -I./../include_auto -D_GNU_SOURCE -D_REENTRANT
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_REENTRANT -fPIC
../db/db_auto.c  -fPIC -DPIC -o db_auto.o
echo timestamp > btree_auto.lo
/bin/sh ./libtool --mode=compile cc -c -I. -I./../include
-I./../include_auto  -D_GNU_SOURCE -D_REENTRANT -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_REENTRANT -fPIC ../common/db_byteorder.c
cc -c -I. -I./../include -I./../include_auto -D_GNU_SOURCE -D_REENTRANT
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_REENTRANT -fPIC
../common/db_byteorder.c  -fPIC -DPIC -o db_byteorder.o
echo timestamp > db_byteorder.lo
/bin/sh ./libtool --mode=compile cc -c -I. -I./../include
-I./../include_auto  -D_GNU_SOURCE -D_REENTRANT -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_REENTRANT -fPIC ../db/db_cam.c
echo timestamp > db_am.lo
/bin/sh ./libtool --mode=compile cc -c -I. -I./../include
-I./../include_auto  -D_GNU_SOURCE -D_REENTRANT -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_REENTRANT -fPIC ../db/db_conv.c
cc -c -I. -I./../include -I./../include_auto -D_GNU_SOURCE -D_REENTRANT
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_REENTRANT -fPIC
../db/db_cam.c  -fPIC -DPIC -o db_cam.o
cc -c -I. -I./../include -I./../include_auto -D_GNU_SOURCE -D_REENTRANT
-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_REENTRANT -fPIC
../db/db_conv.c  -fPIC -DPIC -o db_conv.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [db.o] Error 1
make: *** Waiting for unfinished jobs....
echo timestamp > db_auto.lo
echo timestamp > db_conv.lo
echo timestamp > db_cam.lo
error: Bad exit status from /var/tmp/rpm-tmp.90507 (%build)
 
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.90507 (%build)

Could somebody point me in the right direction on how to fix or get
around this problem?

Many thanks!
-SS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050812/767438fb/attachment.sig>


More information about the CentOS mailing list