Subject: pkg/25465: pkg_chk taga+tagb functionality broken
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 05/05/2004 12:40:55
>Synopsis: pkg_chk taga+tagb functionality broken
>Arrival-Date: Wed May 05 02:41:00 UTC 2004
>Originator: Daniel Carosone
>Release: NetBSD 2.0C
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:
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:
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.
Don't know (yet).