Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2015 21:03:23 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376888 - head/net-mgmt/collectd5
Message-ID:  <201501122103.t0CL3Nv8034898@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Mon Jan 12 21:03:23 2015
New Revision: 376888
URL: https://svnweb.freebsd.org/changeset/ports/376888
QAT: https://qat.redports.org/buildarchive/r376888/

Log:
  Require python version 2, because it dumps core with python3:
  
  # collectd -f
  Fatal Python error: no mem for sys.argv
  ValueError: character U+6f633c00 is not in range [U+0000; U+10ffff]
  Abort (core dumped)
  
  Approved by:	maintainer

Modified:
  head/net-mgmt/collectd5/Makefile

Modified: head/net-mgmt/collectd5/Makefile
==============================================================================
--- head/net-mgmt/collectd5/Makefile	Mon Jan 12 21:00:35 2015	(r376887)
+++ head/net-mgmt/collectd5/Makefile	Mon Jan 12 21:03:23 2015	(r376888)
@@ -317,7 +317,7 @@ PLIST_SUB+=	PING="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MPYTHON}
-USES+=		python
+USES+=		python:2
 CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} --enable-python
 PLIST_SUB+=	PYTHON=""
 .else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501122103.t0CL3Nv8034898>