[New-bugs-announce] [issue18567] Python 2.7.5 CENTOS6 Error building dbm using bdb

Denise Mauldin report at bugs.python.org
Sat Jul 27 07:27:55 CEST 2013


New submission from Denise Mauldin:

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)

----------
components: Build
messages: 193773
nosy: Denise.Mauldin
priority: normal
severity: normal
status: open
title: Python 2.7.5 CENTOS6 Error building dbm using bdb
type: crash
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18567>
_______________________________________


More information about the New-bugs-announce mailing list