Subject: pkg/14458: test: -c: unexpected operator error in pkgchk
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nigel@nelgin.nu>
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
>Closed-Date:
>Last-Modified:
>Originator:     Nigel Reed
>Release:        NetBSD 1.5Y Nov 3
>Organization:

>Environment:
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
>Description:
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/pkgchk.sh /u
sr/pkg/sbin/pkg_chk
install -c -o root -g wheel -m 444 /usr/pkgsrc/pkgtools/pkgchk/files/pkgchk.8 /u
sr/pkg/man/man8/pkg_chk.8
===> Registering installation for pkgchk-1.18
test: -c: unexpected operator

This happens in both bash and sh


>How-To-Repeat:
make clean
make
make install

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: