NetBSD Problem Report #10205

Received: (qmail 1117 invoked from network); 27 May 2000 22:52:59 -0000
Message-Id: <200005272245.RAA05550@callisto.niangua.net>
Date: Sat, 27 May 2000 17:45:32 -0500 (CDT)
From: bstark@uswest.net
Reply-To: bstark@uswest.net
To: gnats-bugs@gnats.netbsd.org
Subject: Package 'devel/tkcvs' does not install correctly.  
X-Send-Pr-Version: 3.95

>Number:         10205
>Category:       pkg
>Synopsis:       Package 'devel/tkcvs' does not install correctly.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 27 22:54:00 +0000 2000
>Closed-Date:    Wed Jul 05 21:45:21 +0000 2000
>Last-Modified:  Wed Jul 05 21:45:21 +0000 2000
>Originator:     Brian Stark
>Release:        1.4.2
>Organization:

Brian Stark
bstark@uswest.net
>Environment:

System: NetBSD callisto.niangua.net 1.4.2 NetBSD 1.4.2 (CALLISTO) #2: Sun Apr 2 21:46:20 CDT 2000 bstark@callisto.niangua.net:/usr/src/sys/arch/i386/compile/CALLISTO i386

NOTE: Package source code is from May 27, 2000.

>Description:

While installing the devel/tkcvs package, it cannot find the 'wish8.0'
program, which resides in /usr/pkg/bin. Because it can't find it, the 
tkcvs script is not going to work.


>How-To-Repeat:

callisto:{root}# pwd
/usr/pkgsrc/devel/tkcvs
callisto:{root}# make install
===> Installing for tkcvs-6.0
(cd /usr/local/pkgsrc.work/i386/devel/tkcvs/work/tkcvs-6.0/tkcvs; /usr/bin/env LDFLAGS=" -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib" PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/scripts:/usr/X11R6/bin:/usr/local/s/cm/cmhtree/at/netbsdcc.plt:/usr/local/s/cm/cmhtree/at/netbsdsh.plt:/users/bstark/scripts:/usr/pkg/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS="-O2" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"  BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"  BSD_INSTALL_MAN="install -c -o root -g wheel -m 444"  BSD_INSTALL_PROGRAM_DIR="install -d -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT_DIR="install -d -o root -g wheel -m 555"  BSD_INSTALL_DATA_DIR="install -d -o root -g wheel -m 555"  BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 555" /bin!
/sh ./doinstall)
[: wish8.0: unknown operand
[: wish8.0: unknown operand
/bin/mkdir -p /usr/pkg/share/doc/tkcvs
install -c -o root -g wheel -m 444 /usr/local/pkgsrc.work/i386/devel/tkcvs/work/tkcvs-6.0/README.tkcvs /usr/pkg/share/doc/tkcvs/
install -c -o root -g wheel -m 444 /usr/local/pkgsrc.work/i386/devel/tkcvs/work/tkcvs-6.0/tkdiff/README /usr/pkg/share/doc/tkcvs/README.tkdiff
===> Registering installation for tkcvs-6.0
tkcvs-6.0 requires installed package tcl-8.0.5
tkcvs-6.0 requires installed package tk-8.0.5
callisto:{root}# exit
callisto:bstark$ tkcvs
/usr/pkg/bin/tkcvs: 19: Syntax error: "(" unexpected
callisto:bstark$ file /usr/pkg/bin/tkcvs
/usr/pkg/bin/tkcvs: English text
callisto:bstark$ where wish8.0
/usr/pkg/bin/wish8.0


>Fix:

>Release-Note:
>Audit-Trail:

From: Thomas Klausner <wiz@danbala.tuwien.ac.at>
To: bstark@uswest.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: pkg/10205
Date: Sun, 28 May 2000 12:54:41 +0200

 It seems that the test for the wish8.0 executable in the
 doinstall-script is hosed, though I don't understand yet why exactly
 (can't reproduce it here).

 Could you try applying the following patch after `make', but before
 `make install' by doing
 	cd /usr/local/pkgsrc.work/i386/devel/tkcvs/work/tkcvs-6.0/tkcvs
 	patch < thismail
 and tell me if it improves the situation?

 It would probably also be useful for debugging if you added a line
 	echo WISH is set to $WISH
 after the WISH=`which wish8.0` line (try saying that fast :) ).

 Bye,
  Thomas

 --- doinstall.2	Sun May 28 12:38:29 2000
 +++ doinstall	Sun May 28 12:47:19 2000
 @@ -19,10 +19,10 @@
  # Find a Tk interpreter.

  WISH=`which wish8.0`
 -if [ ! -f $WISH ]; then
 +if [ ! -f "$WISH" ]; then
    WISH=`which wish4.1`
  fi
 -if [ ! -f $WISH ]; then
 +if [ ! -f "$WISH" ]; then
    echo "I cant find a usefull Tk interpreter on your system"
    exit 1
  fi
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Wed Jul 5 14:42:56 PDT 2000 
State-Changed-Why:  
The problem was that root's .cshrc did not contain /usr/pkg/bin. 
Current verions both on the 1.4 and the 1.5 branches contain it. 
Submitter confirmed fix. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.