This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 2.7.5 CENTOS6 Error building dbm using bdb
Type: crash Stage: resolved
Components: Build Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Denise.Mauldin, zach.ware
Priority: normal Keywords:

Created on 2013-07-27 05:27 by Denise.Mauldin, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg193773 - (view) Author: Denise Mauldin (Denise.Mauldin) Date: 2013-07-27 05:27
CC='gcc -pthread' LDSHARED='gcc -pthread -shared -L/u5/tools/lib -L/u5/tools/lib64' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py $quiet build
running build
running build_ext
building dbm using bdb
building '_bsddb' extension
gcc -pthread -fPIC -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I. -IInclude -I./Include -I/u5/tools/include -I/usr/include -I/usr/local/include -I/u5/src/Python-2.7.5/Include -I/u5/src/Python-2.7.5 -c /u5/src/Python-2.7.5/Modules/_bsddb.c -o build/temp.linux-x86_64-2.7/u5/src/Python-2.7.5/Modules/_bsddb.o
/u5/src/Python-2.7.5/Modules/_bsddb.c: In function âDB_set_bt_compareâ:
/u5/src/Python-2.7.5/Modules/_bsddb.c:2764: warning: passing argument 2 of âself->db->set_bt_compareâ from incompatible pointer type
/u5/src/Python-2.7.5/Modules/_bsddb.c:2764: note: expected âint (*)(struct DB *, const struct DBT *, const struct DBT *, size_t *)â but argument is of type âint (*)(struct DB *, const struct DBT *, const struct DBT *)â
/u5/src/Python-2.7.5/Modules/_bsddb.c: In function âDB_set_dup_compareâ:
/u5/src/Python-2.7.5/Modules/_bsddb.c:2878: warning: passing argument 2 of âself->db->set_dup_compareâ from incompatible pointer type
/u5/src/Python-2.7.5/Modules/_bsddb.c:2878: note: expected âint (*)(struct DB *, const struct DBT *, const struct DBT *, size_t *)â but argument is of type âint (*)(struct DB *, const struct DBT *, const struct DBT *)â
/u5/src/Python-2.7.5/Modules/_bsddb.c: In function âDBSequence_get_cachesizeâ:
/u5/src/Python-2.7.5/Modules/_bsddb.c:8565: warning: pointer targets in passing argument 2 of âself->sequence->get_cachesizeâ differ in signedness
/u5/src/Python-2.7.5/Modules/_bsddb.c:8565: note: expected âu_int32_t *â but argument is of type âint *â
gcc -pthread -shared -L/u5/tools/lib -L/u5/tools/lib64 -L/u5/tools/lib -L/u5/tools/lib64 -fPIC build/temp.linux-x86_64-2.7/u5/src/Python-2.7.5/Modules/_bsddb.o -L/usr/lib64 -L/u5/tools/lib -L/u5/tools/lib64 -L/lib -L/usr/lib -L/lib64 -L/usr/lib64 -L/usr/local/lib -Wl,-R/usr/lib64 -ldb-4.7 -o build/lib.linux-x86_64-2.7/_bsddb.so
*** WARNING: renaming "_bsddb" since importing it failed: build/lib.linux-x86_64-2.7/_bsddb.so: undefined symbol: db_full_version
Segmentation fault (core dumped)
msg193774 - (view) Author: Denise Mauldin (Denise.Mauldin) Date: 2013-07-27 05:30
I installed bsddb3-6.0.0, db-6.0.20.NC, and gdbm-1.10 on a 2.6.32-358.11.1.el6.x86_64 CENTOS6 linux server and continue to run into the Segmentation fault.  Not sure what's going on.
msg367319 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-26 17:06
Sorry this issue never got attention, but Python 2.7 has now reached end-of-life and with it the _bsddb module.  As such, I'm going to go ahead and close this issue.
History
Date User Action Args
2022-04-11 14:57:48adminsetgithub: 62767
2020-04-26 17:06:49zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg367319

resolution: out of date
stage: resolved
2013-07-27 05:30:43Denise.Mauldinsetmessages: + msg193774
2013-07-27 05:27:55Denise.Mauldincreate