From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 6 18:50:00 2013 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]) by hub.freebsd.org (Postfix) with ESMTP id C22593ED for ; Mon, 6 May 2013 18:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A4EE1AD3 for ; Mon, 6 May 2013 18:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r46Io0QH017556 for ; Mon, 6 May 2013 18:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r46Io0Ru017555; Mon, 6 May 2013 18:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 6 May 2013 18:50:00 GMT Resent-Message-Id: <201305061850.r46Io0Ru017555@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, Andrew Wright Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BD5162A7 for ; Mon, 6 May 2013 18:46:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id AEA64AB4 for ; Mon, 6 May 2013 18:46:54 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r46IksEA036844 for ; Mon, 6 May 2013 18:46:54 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r46Iksoe036843; Mon, 6 May 2013 18:46:54 GMT (envelope-from nobody) Message-Id: <201305061846.r46Iksoe036843@oldred.FreeBSD.org> Date: Mon, 6 May 2013 18:46:54 GMT From: Andrew Wright To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178373: ports error in ncurses dependency script ncurses.mt causing "grep: /var/db/pkg/ncurses-5.9_1/+CONTENTS : No such file or directory" error 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: Mon, 06 May 2013 18:50:00 -0000 >Number: 178373 >Category: ports >Synopsis: ports error in ncurses dependency script ncurses.mt causing "grep: /var/db/pkg/ncurses-5.9_1/+CONTENTS : No such file or directory" error >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 May 06 18:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Andrew Wright >Release: 9.1-RELEASE-p3 >Organization: Mount Allison University >Environment: FreeBSD qemg.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: As of today (May 6, 2013) the portupgrade script reports errors when trying to determine ncurses dependencies. These errors appear: grep: /var/db/pkg/ncurses-5.9_1/+CONTENTS : No such file or directory grep: /var/db/pkg/ncurses-5.9_1/+CONTENTS : No such file or directory "/usr/ports/Mk/Uses/ncurses.mk", line 80: warning: "grep -m 1 "^lib/libncurses.so." "/var/db/pkg/ncurses-5.9_1/+CONTENTS "" returned non-zero status grep: /var/db/pkg/ncurses-5.9_1/+CONTENTS : No such file or directory grep: /var/db/pkg/ncurses-5.9_1/+CONTENTS : No such file or directory "/usr/ports/Mk/Uses/ncurses.mk", line 80: warning: "grep -m 1 "^lib/libncurses.so." "/var/db/pkg/ncurses-5.9_1/+CONTENTS "" returned non-zero status Examining /usr/ports/Mk/Uses/ncurses.mk shows that there is a spurious whitespace character at the end of the variable ${NCURSES_INSTALLED} as used when attempting to set up the variable NCURSES_SHLIBFILE. I am not sure why the previous line does not produce an error, therefore it is clear that someone with more understanding of what this file is supposed to do should look at this. >How-To-Repeat: Update ports (I used portsnap) and run portupgrade -a >Fix: I assume that some recent change to the file introduced the extra space when this variable was instantiated -- it should be trimmed. >Release-Note: >Audit-Trail: >Unformatted: