From rfg@tristatelogic.com  Mon May 13 23:18:17 2013
Return-Path: <rfg@tristatelogic.com>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id B55F163F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 May 2013 23:18:17 +0000 (UTC)
	(envelope-from rfg@tristatelogic.com)
Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118])
	by mx1.freebsd.org (Postfix) with ESMTP id 98DA69D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 May 2013 23:18:17 +0000 (UTC)
Received: by segfault.tristatelogic.com (Postfix, from userid 1237)
	id E108B3B2A2; Mon, 13 May 2013 16:18:16 -0700 (PDT)
Message-Id: <20130513231816.E108B3B2A2@segfault.tristatelogic.com>
Date: Mon, 13 May 2013 16:18:16 -0700 (PDT)
From: Ronald F.Guilmette <rfg@tristatelogic.com>
Reply-To: Ronald F.Guilmette <rfg@tristatelogic.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: rfg@tristatelogic.com
Subject: pkg_info -g reports symlinks as missing when ther _are_ there
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         178604
>Category:       bin
>Synopsis:       pkg_info(1): pkg_info -g reports symlinks as missing when ther _are_ there
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 13 23:20:01 UTC 2013
>Closed-Date:    
>Last-Modified:  Wed Apr 16 00:30:31 UTC 2014
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
entr0py
>Environment:

System: FreeBSD 9.1-RELEASE amd64

>Description:

If the "pkg_info -g" command is executed for a package/port whose
installation included the creation of a symlink pointing to a non-
existant file, then pkg_info will generate and print a misleading
and incorrect error message saying that the (symlink) file in question
"doesn't exist".

This is misleading and incorrect.

>How-To-Repeat:

portsintstall ghostscript9-9.06_1
pkg_info -g ghostscript9-9.06_1

the result printed will include:

pkg_info: /usr/local/share/ghostscript/9.06/Resource/CIDFont/fonts doesn't exist

>Fix:

Left as an exercise for the reader.
 
But seriously folks, a proper fix should be fairly trivial.  I will cook
up patches, if requested.
>Release-Note:
>Audit-Trail:

From: "Ronald F.Guilmette" <rfg@tristatelogic.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: rfg@tristatelogic.com
Subject: bin/178604: pkg_info -g reports symlinks as missing when ther _are_
 there
Date: Mon, 13 May 2013 16:18:16 -0700 (PDT)

 >Number:         178604
 >Category:       bin
 >Synopsis:       pkg_info -g reports symlinks as missing when ther _are_ there
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       low
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Mon May 13 23:20:01 UTC 2013
 >Closed-Date:
 >Last-Modified:
 >Originator:     Ronald F. Guilmette
 >Release:        FreeBSD 9.1-RELEASE amd64
 >Organization:
 entr0py
 >Environment:
 
 System: FreeBSD 9.1-RELEASE amd64
 
 >Description:
 
 If the "pkg_info -g" command is executed for a package/port whose
 installation included the creation of a symlink pointing to a non-
 existant file, then pkg_info will generate and print a misleading
 and incorrect error message saying that the (symlink) file in question
 "doesn't exist".
 
 This is misleading and incorrect.
 
 >How-To-Repeat:
 
 portsintstall ghostscript9-9.06_1
 pkg_info -g ghostscript9-9.06_1
 
 the result printed will include:
 
 pkg_info: /usr/local/share/ghostscript/9.06/Resource/CIDFont/fonts doesn't exist
 
 >Fix:
 
 Left as an exercise for the reader.
  
 But seriously folks, a proper fix should be fairly trivial.  I will cook
 up patches, if requested.
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 _______________________________________________
 freebsd-bugs@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
 To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
>Unformatted:
