From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 27 18:20:23 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09DA616A41F for ; Tue, 27 Sep 2005 18:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B77543D55 for ; Tue, 27 Sep 2005 18:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8RIKMbc084511 for ; Tue, 27 Sep 2005 18:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8RIKMIn084510; Tue, 27 Sep 2005 18:20:22 GMT (envelope-from gnats) Resent-Date: Tue, 27 Sep 2005 18:20:22 GMT Resent-Message-Id: <200509271820.j8RIKMIn084510@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, David Gilbert Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2D5D16A420 for ; Tue, 27 Sep 2005 18:13:25 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 806FC43D48 for ; Tue, 27 Sep 2005 18:13:25 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 28285E7DF; Tue, 27 Sep 2005 14:13:24 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id 1CFCE1A0897; Tue, 27 Sep 2005 14:13:20 -0400 (EDT) Message-Id: <20050927181320.1CFCE1A0897@canoe.dclg.ca> Date: Tue, 27 Sep 2005 14:13:20 -0400 (EDT) From: David Gilbert To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/86642: portupgrade doesn't add MAKE_ARGS to install X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Gilbert List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 18:20:23 -0000 >Number: 86642 >Category: ports >Synopsis: portupgrade doesn't add MAKE_ARGS to install >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 27 18:20:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: David Gilbert >Release: FreeBSD 6.0-BETA4 i386 >Organization: DaveG.ca >Environment: System: FreeBSD canoe.dclg.ca 6.0-BETA4 FreeBSD 6.0-BETA4 #1: Wed Sep 7 13:42:49 EDT 2005 dgilbert@canoe.dclg.ca:/usr/obj/usr/src/sys/CANOE i386 This was a 5.4-RELEASE host that I found this on, but I don't think it's version-specific. portupgrade version was 'portupgrade-20041226_7' >Description: The port 'emulators/qemu' has an option 'WITH_KQEMU=YES' which triggers the compilation of an additional kernel module to accelerate the emulation. However, it appears that 'WITH_KQEMU=YES' must be supplied to both the 'make' and the 'make install' command lines. I found this with experimentation _not_ using portupgrade. Since portupgrade always installs the version without KQEMU even though the 'MAKE_ARGS' variable in /usr/local/etc/pkgtools.conf contains 'emulaltors/qemu' => 'WITH_KQEMU=YES', ... I conclude that portupgrade is supplying this to only the make stage, where supplying it to both stages would produce more correct behaviour. >How-To-Repeat: place the above line in /usr/local/etc/pkgtools.conf, and use 'portupgrade -f qemu' to upgrade an existing qemu package. >Fix: supply 'MAKE_ARGS' variables to both 'make' and 'make install' phases of portupgrade. >Release-Note: >Audit-Trail: >Unformatted: