Subject: pkg/37367: Duplicate entries when showing dependance
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lacombar@gmail.com>
List: pkgsrc-bugs
Date: 11/12/2007 14:50:00
>Number:         37367
>Category:       pkg
>Synopsis:       Duplicate entries when showing dependance
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 12 14:50:00 +0000 2007
>Originator:     Arnaud Lcombe
>Release:        
>Organization:
>Environment:
-current
>Description:
'make show-depends' returns duplicate entries. Here is an example
for 'meta-pkgs/modular-xorg':

meta-pkgs/modular-xorg-fonts/% make show-depends     
font-adobe-100dpi-[0-9]*:../../fonts/font-adobe-100dpi
font-adobe-100dpi-[0-9]*:../../fonts/font-adobe-100dpi
font-adobe-75dpi-[0-9]*:../../fonts/font-adobe-75dpi
font-adobe-75dpi-[0-9]*:../../fonts/font-adobe-75dpi
font-adobe-utopia-100dpi-[0-9]*:../../fonts/font-adobe-utopia-100dpi
font-adobe-utopia-100dpi-[0-9]*:../../fonts/font-adobe-utopia-100dpi
[...]

The ${DEPENDS} variable contains each one only once. Original mail can be found here: http://mail-index.netbsd.org/tech-pkg/2007/10/15/0005.html
>How-To-Repeat:
$ cd meta-pkgs/modular-xorg-fonts/
$ make show-depends 
>Fix:
Apply the patch contained in this mail:
http://mail-index.netbsd.org/tech-pkg/2007/10/15/0010.html

It fixes the problem and do not seems to causes any fall-out. However, it does not answer the question is 'is the script doing what it is supposed to do ?'.