From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 17 20:00:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEFC8ECB for ; Mon, 17 Mar 2014 20:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BBD53181 for ; Mon, 17 Mar 2014 20:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2HK00lt078828 for ; Mon, 17 Mar 2014 20:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2HK004q078827; Mon, 17 Mar 2014 20:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 17 Mar 2014 20:00:00 GMT Resent-Message-Id: <201403172000.s2HK004q078827@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eero Hänninen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDD279A6 for ; Mon, 17 Mar 2014 19:51:05 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2D36105 for ; Mon, 17 Mar 2014 19:51:05 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2HJp4VY024032 for ; Mon, 17 Mar 2014 19:51:04 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2HJp4FQ024029; Mon, 17 Mar 2014 19:51:04 GMT (envelope-from nobody) Message-Id: <201403171951.s2HJp4FQ024029@cgiserv.freebsd.org> Date: Mon, 17 Mar 2014 19:51:04 GMT From: Eero Hänninen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187674: [PATCH] sysutils/syslog-ng missing dependecy X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 20:00:01 -0000 >Number: 187674 >Category: ports >Synopsis: [PATCH] sysutils/syslog-ng missing dependecy >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: Mon Mar 17 20:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Eero Hänninen >Release: 10.0-RELEASE >Organization: >Environment: FreeBSD labakinnas 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: syslog-ng requires python for build amqp module. Python dependency is missing from syslog-ng port Makefile. Fortunately glib20 pulls python dependency in, but there is still problem when you try build things against python3. checking if compiler accepts '-fno-common'... yes checking if compiler accepts '-fvisibility=hidden'... yes checking if linker accepts '-no-undefined'... yes checking for a Python interpreter with version >= 2.5... python3.3 checking for python3.3... /usr/local/bin/python3.3 checking for python3.3 version... 3.3 checking for python3.3 platform... freebsd10 checking for python3.3 script directory... ${prefix}/lib/python3.3/site-packages checking for python3.3 extension module directory... ${exec_prefix}/lib/python3.3/site-packages checking python3.3 module: json... yes checking for 2to3... no configure: error: Unable to find 2to3 python utility configure: error: ./configure.gnu failed for modules/afamqp/rabbitmq-c ===> Script "configure" failed unexpectedly. >How-To-Repeat: take clean enviroment add default versions line to make.conf DEFAULT_VERSIONS=python=3.3 python3=3.3 make -C /usr/ports/sysutils/syslog-ng >Fix: Add 2to3 utility to build dependency, and it provider lang/python which will provide correct links to right default version python. Patch attached Patch attached with submission follows: diff -ruN syslog-ng.orig/Makefile syslog-ng/Makefile --- syslog-ng.orig/Makefile 2014-03-04 22:52:09.000000000 +0200 +++ syslog-ng/Makefile 2014-03-17 16:14:48.000000000 +0200 @@ -39,6 +39,8 @@ LIB_DEPENDS= libevtlog.so:${PORTSDIR}/sysutils/eventlog +USE_PYTHON= yes +BUILD_DEPENDS= 2to3:${PORTSDIR}/lang/python USE_LDCONFIG= yes USE_RC_SUBR= syslog-ng GNU_CONFIGURE= yes >Release-Note: >Audit-Trail: >Unformatted: