Subject: pkg/14458: test: -c: unexpected operator error in pkgchk
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/05/2001 01:46:59
>Number:         14458
>Category:       pkg
>Synopsis:       test: -c: unexpected operator error in pkgchk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 04 17:47:00 PST 2001
>Originator:     Nigel Reed
>Release:        NetBSD 1.5Y Nov 3

System: NetBSD c643704-b 1.5Y NetBSD 1.5Y (WIBBLE) #1: Fri Nov 2 17:07:21 CST 2001 root@:/usr/src/sys/arch/i386/compile/WIBBLE i386
Architecture: i386
Machine: i386
During make install of pkgsrc/pkgtools/pkgchk you get the following
# make install
===> Installing for pkgchk-1.18
install -c -o root -g wheel -m 555 /usr/pkgsrc/pkgtools/pkgchk/work/ /u
install -c -o root -g wheel -m 444 /usr/pkgsrc/pkgtools/pkgchk/files/pkgchk.8 /u
===> Registering installation for pkgchk-1.18
test: -c: unexpected operator

This happens in both bash and sh

make clean
make install