Subject: pkg/25465: pkg_chk taga+tagb functionality broken
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 05/05/2004 12:40:55
>Number:         25465
>Category:       pkg
>Synopsis:       pkg_chk  taga+tagb functionality broken
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 05 02:41:00 UTC 2004
>Originator:     Daniel Carosone
>Release:        NetBSD 2.0C
very little
pkg_chk-1.47 on NetBSD/i386 2.0C

I have been using pkg_chk for some time.  My usual invocation is
"pkg_chk -aus -k", and this maintains my preferred list of packages,
both by updating installed packages and adding any missing ones from

I have a pkgchk.conf that is shared between a largish number of
machines, and many of the packages listed use the tags feature to
select for particular machines or platforms.

Recently, I noticed that some packages I expected to be installed on
various machines, weren't - and weren't being added by another
"pkg_chk -a".  It took a while to notice, in part because existing
packages were getting updated by -u anyway.

On further investigation, it seems that the foo+bar tag syntax is
broken.  If i have a pkgchk.conf like this:

print/acroread5		x11+i386 
wm/evilwm		x11
multimedia/fxtv		x11+tv 

Then, on the host tv (which is an i386, with x11) I wind up with
evilwm only (of these three).  If I allow it to assume that the host
tv has x11 installed, and change the line to:

multimedia/fxtv		tv

Then it gets built.  Likewise if I change the acroread one to just

pkg_chk -v shows all the right tags (i386,x11,hostname, etc) being
defined -- just not being used in combinations.

as above
Don't know (yet).