With PYTHON_DEFAULT_VERSION=python2.6 set in make.conf py-bsddb fails to build due to a change in the bsddb module in python2.6. The problem is the patched #include directive was moved from Modules/_bsddb.c to Modules/bsddb.h. Fix: Apply to given patch. The patch is also backward compatible and thus just fixes the case with PYTHON_DEFAULT_VERSION=python2.6. NOTE: The patch has not been tested with python3.0 however I suspect it would work with it. Patch attached with submission follows: How-To-Repeat: cd /usr/ports/databases/py-bsddb && make PYTHON_DEFAULT_VERSION=python2.6 [Preferable without python2.5 not being installed already, as I have not tested it in this case]
Responsible Changed From-To: freebsd-ports-bugs->perky Over to maintainer (via the GNATS Auto Assign Tool)
I just his this issue myself, tested the patch to build both (toggled my PYTHON_DEFAULT_VERSION between builds) with python2.5 (make build) and python2.6 (make install). Both built without issue. Thanks, for the fix. Now I can move on!
tmclaugh 2009-04-06 05:12:40 UTC FreeBSD ports repository Modified files: databases/py-bsddb Makefile Log: Fix build with Python 2.6 - chase moved db.h include location PR: 130410 Submitted by: David Naylor Approved by: maintainer timeout Revision Changes Path 1.11 +10 -2 ports/databases/py-bsddb/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Patch committed. Thanks.