Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15649 closed defect (fixed)

py-bsddb using db46 fails on ppc, and on Intel

Reported by: blair (Blair Zajac) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jyrkiwahlstedt
Port:

Description

On a 10.5.3 ppc system I get this failure:

--->  Verifying checksum(s) for py-bsddb
--->  Checksumming Python-2.4.5.tar.bz2
--->  Extracting py-bsddb
--->  Extracting Python-2.4.5.tar.bz2
--->  Configuring py-bsddb
--->  Building py-bsddb with target build
running build
running build_ext
building '_bsddb' extension
creating build
creating build/temp.macosx-10.3-ppc-2.4
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include/db46 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c _bsddb.c -o build/temp.macosx-10.3-ppc-2.4/_bsddb.o
_bsddb.c: In function 'DBEnv_set_lk_max':
_bsddb.c:3844: error: 'struct __db_env' has no member named 'set_lk_max'
_bsddb.c: In function 'init_bsddb':
_bsddb.c:5042: error: 'DB_CACHED_COUNTS' undeclared (first use in this function)
_bsddb.c:5042: error: (Each undeclared identifier is reported only once
_bsddb.c:5042: error: for each function it appears in.)
_bsddb.c:5077: error: 'DB_RECORDCOUNT' undeclared (first use in this function)
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-bsddb/work/Python-2.4.5/Modules" && /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: running build
running build_ext
building '_bsddb' extension
creating build
creating build/temp.macosx-10.3-ppc-2.4
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include/db46 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c _bsddb.c -o build/temp.macosx-10.3-ppc-2.4/_bsddb.o
_bsddb.c: In function 'DBEnv_set_lk_max':
_bsddb.c:3844: error: 'struct __db_env' has no member named 'set_lk_max'
_bsddb.c: In function 'init_bsddb':
_bsddb.c:5042: error: 'DB_CACHED_COUNTS' undeclared (first use in this function)
_bsddb.c:5042: error: (Each undeclared identifier is reported only once
_bsddb.c:5042: error: for each function it appears in.)
_bsddb.c:5077: error: 'DB_RECORDCOUNT' undeclared (first use in this function)
error: command '/usr/bin/gcc-4.0' failed with exit status 1

Warning: the following items did not execute (for py-bsddb): org.macports.build
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 16 years ago by jyrkiwahlstedt

Summary: py-bsddb using db46 fails on ppcpy-bsddb using db46 fails on ppc, and on Intel

Well, I have an Intel system, and this port fails to build for me, too (I am with 10.5.4, 9E17, Xcode 3.1)... I don't duplicate the error message, as it's identical.

comment:2 Changed 16 years ago by jyrkiwahlstedt

Cc: jwa@… added

Cc Me!

comment:3 Changed 16 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Fixed in r39759.

I just used Python 2.5.2's bsddb module which works with Berkeley DB 4.6. The module compiles and passes using:

$ /opt/local/bin/python2.4 Lib/test/test_bsddb.py

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.