[MacPorts] #15649: py-bsddb using db46 fails on ppc
#15649: py-bsddb using db46 fails on ppc --------------------------------+------------------------------------------- Reporter: blair@macports.org | Owner: dluke@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- 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. }}} -- Ticket URL: <http://trac.macports.org/ticket/15649> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15649: py-bsddb using db46 fails on ppc, and on Intel ---------------------------------+------------------------------------------ Reporter: blair@macports.org | Owner: dluke@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jwa@macports.org): * summary: py-bsddb using db46 fails on ppc => py-bsddb using db46 fails on ppc, and on Intel Comment: 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. -- Ticket URL: <http://trac.macports.org/ticket/15649#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15649: py-bsddb using db46 fails on ppc, and on Intel ---------------------------------+------------------------------------------ Reporter: blair@macports.org | Owner: dluke@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Changes (by blair@macports.org): * status: new => closed * resolution: => fixed Comment: 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 }}} -- Ticket URL: <http://trac.macports.org/ticket/15649#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts