Description of problem: python src.rpm fails to rebuild with new (4.5.20) db4 while compiling db module. Version-Release number of selected component (if applicable): python-2.4.4-1 db4-4.5.20-4 How reproducible: always Steps to Reproduce: 1. install new db4 + devel 2. try to rebuild python Actual results: error detected at build stage: gcc -pthread -fPIC -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE =2 -fstack-protector -m32 -march=i586 -mtune=generic -fasynchronous-unwind-table s -D_GNU_SOURCE -fPIC -I/usr/kerberos/include -I. -I./Include -I/usr/include/ db4 -c ./Modules/_bsddb.c -o Modules/_bsddb.o ./Modules/_bsddb.c: In function 'DBEnv_set_lk_max': ./Modules/_bsddb.c:3844: error: 'DB_ENV' has no member named 'set_lk_max' ./Modules/_bsddb.c: In function 'init_bsddb': ./Modules/_bsddb.c:5042: error: 'DB_CACHED_COUNTS' undeclared (first use in this function) ./Modules/_bsddb.c:5042: error: (Each undeclared identifier is reported only onc e ./Modules/_bsddb.c:5042: error: for each function it appears in.) ./Modules/_bsddb.c:5077: error: 'DB_RECORDCOUNT' undeclared (first use in this f unction) make: *** [Modules/_bsddb.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.8643 (%build) Expected results: clean build. Additional info:
Fixed in CVS and will be in the python 2.5 build that I'm in the process of staging. The patch for 2.5 should work just as well with older python too, fwiw.