Bug 170074 - devel/talloc fails to build if default python version is 3 or greater
Summary: devel/talloc fails to build if default python version is 3 or greater
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-22 21:00 UTC by Kimmo Paasiala
Modified: 2012-07-23 08:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Paasiala 2012-07-22 21:00:18 UTC
devel/talloc fails to build if DEFAULT_PYTHON_VERSION is 3 or higher because the build scripts written in python are incompatible with python version 3. None: this is an identical problem with http://www.freebsd.org/cgi/query-pr.cgi?pr=170072

Fix: 

Change "USE_PYTHON_BUILD = yes" in Makefile of devel/talloc to "USE_PYTHON_BUILD = -2.7".
How-To-Repeat: Set DEFAULT_PYTHON_VERSION to 3.0 or greater in /etc/make.conf and try to build devel/talloc.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-22 21:00:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->timur

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-07-23 08:15:59 UTC
Author: rm
Date: Mon Jul 23 07:15:46 2012
New Revision: 301376
URL: http://svn.freebsd.org/changeset/ports/301376

Log:
  - strict python version to 2.x (doesn't build with python3)
  
  PR:		170074
  Submitted by:	Kimmo Paasiala <kpaasial at gmail dot com>
  Approved by:	timur (maintainer)

Modified:
  head/devel/talloc/Makefile

Modified: head/devel/talloc/Makefile
==============================================================================
--- head/devel/talloc/Makefile	Mon Jul 23 07:14:38 2012	(r301375)
+++ head/devel/talloc/Makefile	Mon Jul 23 07:15:46 2012	(r301376)
@@ -22,7 +22,7 @@ LICENSE=		LGPL3
 
 CONFLICTS=		samba33-3.*
 
-USE_PYTHON_BUILD=	yes
+USE_PYTHON_BUILD=	-2.7
 USE_LDCONFIG=		yes
 HAS_CONFIGURE=		yes
 WAF_TOOL=		buildtools/bin/waf
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-07-23 08:17:58 UTC
State Changed
From-To: open->closed

Committed, thank you!