From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 2 13:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B3471CE6 for ; Fri, 2 Aug 2013 13:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) 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 79D972771 for ; Fri, 2 Aug 2013 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r72De0SR091456 for ; Fri, 2 Aug 2013 13:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r72De02r091454; Fri, 2 Aug 2013 13:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 2 Aug 2013 13:40:00 GMT Resent-Message-Id: <201308021340.r72De02r091454@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, Nathan Whitehorn Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 48C05C9B for ; Fri, 2 Aug 2013 13:36:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 365DD2761 for ; Fri, 2 Aug 2013 13:36:55 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r72DasxT061455 for ; Fri, 2 Aug 2013 13:36:54 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r72Dasuw061448; Fri, 2 Aug 2013 13:36:54 GMT (envelope-from nobody) Message-Id: <201308021336.r72Dasuw061448@oldred.freebsd.org> Date: Fri, 2 Aug 2013 13:36:54 GMT From: Nathan Whitehorn To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180997: [patch] Make qemu-devel build with PYTHON_DEFAULT_VERSION of 3+ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2013 13:40:00 -0000 >Number: 180997 >Category: ports >Synopsis: [patch] Make qemu-devel build with PYTHON_DEFAULT_VERSION of 3+ >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: Fri Aug 02 13:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Nathan Whitehorn >Release: 10-CURRENT >Organization: >Environment: FreeBSD comporellon.tachypleus.net 10.0-CURRENT FreeBSD 10.0-CURRENT #125 r251046M: Mon May 27 20:24:29 CDT 2013 root@comporellon.tachypleus.net:/usr/obj/usr/src/sys/COMPORELLON amd64 >Description: qemu-devel's configure script requires Python <= 2.7 but the Makefile has it use the default python. If the default python is python 3, it will fail. >How-To-Repeat: >Fix: Use only python up to 2.7 (patch). Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 324163) +++ Makefile (working copy) @@ -19,7 +19,7 @@ USE_BZIP2= yes USES= gmake pkgconfig USE_PERL5_BUILD= yes -USE_PYTHON_BUILD= yes +USE_PYTHON_BUILD= -2.7 USE_GNOME+= glib20 PATCH_STRIP= -p1 MAKE_ENV+= BSD_MAKE="${MAKE}" @@ -214,6 +214,8 @@ MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif +CONFIGURE_ARGS+= --python=${PYTHON_CMD} + # -lprocstat actually only _needs_ -lelf after r249666 or r250870 (MFC) # but it shouldn't matter much post-patch: >Release-Note: >Audit-Trail: >Unformatted: