Date: Sun, 22 Jul 2012 19:26:02 GMT From: Kimmo Paasiala <kpaasial@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/170072: databases/tdb fails to build if default python version is 3 or greater Message-ID: <201207221926.q6MJQ25i035219@red.freebsd.org> Resent-Message-ID: <201207221930.q6MJUFlO037030@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170072 >Category: ports >Synopsis: databases/tdb fails to build if default python version is 3 or greater >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 22 19:30:14 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kimmo Paasiala >Release: 9-STABLE >Organization: >Environment: FreeBSD whitezone.joesgarage 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r238552: Wed Jul 18 03:31:08 EEST 2012 root@whitezone.joesgarage:/usr/obj/usr/src/sys/WHITEZONE amd64 >Description: databases/tdb expects DEFAULT_PYTHON_VERSION to be 2.7 at most. With default version 3 or greater the build fails because the build scripts written in python have invalid syntax for python version 3. >How-To-Repeat: Set DEFAULT_PYTHON_VERSION to 3.0 or greater in /etc/make.conf and try to build the tdb port. >Fix: Change "USE_PYTHON_BUILD = yes" in Makefile to "USE_PYTHON_BUILD = -2.7" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207221926.q6MJQ25i035219>