Subject: pkg/34847: misc/kdepim3 fails "test ==" portability check (several times)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 10/18/2006 12:15:00
>Number:         34847
>Category:       pkg
>Synopsis:       misc/kdepim3 fails "test ==" portability check (several times)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 18 12:15:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current as of a few hours ago)
>Organization:
	Prince of Songkla University
>Environment:
	
	
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	There look to be several scripts in misc/kdepim3 that use == in
	text ('[') commands.
>How-To-Repeat:
	Build kdepim3 with PKG_DEVELOPER=yes (which is the default
	when using pkg_comp, which is how I got to see it this way)

	Expect to see ...

=> Checking for portability problems in extracted files
ERROR: [check-portability.sh] => Found test ... == ...:
ERROR: [check-portability.sh] karm/test/booktime-works.sh: if [ "x$RVAL" == "x$DURATION" ]; then
ERROR: [check-portability.sh] karm/test/booktime-badduration.sh: if [ "$RVAL" == "$EXPECTED" ]; then
ERROR: [check-portability.sh] karm/test/booktime-badtime.sh: if [ "$RVAL" == "$EXPECTED" ]; then
ERROR: [check-portability.sh] karm/test/version.sh: if [ "$RVAL" == "$VERSION" ]; then
ERROR: [check-portability.sh] karm/test/booktime-baddate.sh: if [ "$RVAL" == "$EXPECTED" ]; then
ERROR: [check-portability.sh] karm/test/booktime-baduid.sh: if [ "$RVAL" == "$EXPECTED" ]; then
ERROR: [check-portability.sh] karm/test/refresh_on_change.sh: if [ "$RVAL" == "$TODO_UID" ]; then
ERROR: [check-portability.sh] karm/test/delete.sh: if [ "$RVAL" == "" ]; then
*** Error code 1

>Fix:
	Patch the scripts...

>Unformatted: