From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 12 10:20:04 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47C24106566B for ; Sun, 12 Aug 2012 10:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 212D38FC14 for ; Sun, 12 Aug 2012 10:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7CAK3OB055954 for ; Sun, 12 Aug 2012 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7CAK3eA055953; Sun, 12 Aug 2012 10:20:03 GMT (envelope-from gnats) Resent-Date: Sun, 12 Aug 2012 10:20:03 GMT Resent-Message-Id: <201208121020.q7CAK3eA055953@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, Chris Rees Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D01561065676 for ; Sun, 12 Aug 2012 10:14:46 +0000 (UTC) (envelope-from crees@bayofrum.net) Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE9E8FC0C for ; Sun, 12 Aug 2012 10:14:45 +0000 (UTC) Received: from host-2-102-104-46.as13285.net (HELO pegasus.bayofrum.net) ([2.102.104.46]) by smtp.pipex.tiscali.co.uk with ESMTP; 12 Aug 2012 11:13:36 +0100 Received: by pegasus.bayofrum.net (Postfix, from userid 1001) id 442F414167; Sun, 12 Aug 2012 11:13:09 +0100 (BST) Message-Id: <20120812101309.442F414167@pegasus.bayofrum.net> Date: Sun, 12 Aug 2012 11:13:09 +0100 (BST) From: Chris Rees To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/170552: bsd.port.mk: Fix CONFIGURE_FAIL_MESSAGE to be pkgng-aware X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Rees List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 10:20:04 -0000 >Number: 170552 >Category: ports >Synopsis: bsd.port.mk: Fix CONFIGURE_FAIL_MESSAGE to be pkgng-aware >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 12 10:20:03 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Chris Rees >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD pegasus.bayofrum.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Apr 29 12:29:02 BST 2012 root@pegasus.bayofrum.net:/usr/obj/usr/src/sys/PEGASUS amd64 >Description: If configure fails, a message is printed asking the user to ls /var/db/pkg to get all packages installed. For years, this has worked fine... but nowadays: [crees@pegasus]~% ls /var/db/pkg /var/db/pkg/repo.sqlite /var/db/pkg/local.sqlite >How-To-Repeat: >Fix: pkg_info -Ea and pkg info -Ea both do what is required here. Really, this shouldn't require an exp-run, but I guess it wouldn't hurt to stick it in with another change. --- bsd.port.mk-configure-fail-message.diff begins here --- Index: bsd.port.mk =================================================================== --- bsd.port.mk (revision 302404) +++ bsd.port.mk (working copy) @@ -2908,7 +2908,7 @@ CONFIGURE_LOG?= config.log # A default message to print if do-configure fails. -CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an \`ls ${PKG_DBDIR}\`)." +CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a ${PKG_INFO} -Ea)." .if defined(GNU_CONFIGURE) # Maximum command line length --- bsd.port.mk-configure-fail-message.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: