NetBSD Problem Report #22994
Received: (qmail 16712 invoked by uid 605); 28 Sep 2003 17:03:26 -0000
Message-Id: <200309281703.h8SH3BMN008077@ficus.home>
Date: Sun, 28 Sep 2003 19:03:11 +0200 (CEST)
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: Anthony Mallet <anthony.mallet@useless-ficus.net>
To: gnats-bugs@gnats.netbsd.org
Subject: new pkg: eltclsh - interactive tcl shell
X-Send-Pr-Version: 3.95
>Number: 22994
>Category: pkg
>Synopsis: new pkg: eltclsh - interactive tcl shell
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Sep 28 17:04:00 +0000 2003
>Closed-Date: Tue Nov 21 15:33:23 +0000 2006
>Last-Modified: Tue Nov 21 15:33:23 +0000 2006
>Originator: Anthony Mallet
>Release: NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD ficus 1.6ZC NetBSD 1.6ZC (FICUS) #18: Tue Sep 23 00:21:14 CEST 2003 troot@ficus:/home/build/netbsd-obj-current/sys/arch/i386/compile/FICUS i386
Architecture: i386
Machine: i386
>Description:
eltclsh is an interactive tcl shell (there is also elwish, for tk) based
on libedit. Package included below as a shell archive.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# eltclsh
# eltclsh/DESCR
# eltclsh/Makefile
# eltclsh/PLIST
# eltclsh/distinfo
#
echo c - eltclsh
mkdir -p eltclsh > /dev/null 2>&1
echo x - eltclsh/DESCR
sed 's/^X//' >eltclsh/DESCR << 'END-of-eltclsh/DESCR'
Xeltclsh (editline tcl shell) is an interactive shell for the TCL
Xprogramming language. It provides command line editing, history browsing
Xas well as variables and command completion thanks to editline
Xfeatures. The completion engine is programmable in a way similar to tcsh,
Xand comes with an programmed completion for the whole TCL language by
Xdefault.
X
XThe package also provides elwish, an interactive interpreter for the Tk
Xtoolkit.
END-of-eltclsh/DESCR
echo x - eltclsh/Makefile
sed 's/^X//' >eltclsh/Makefile << 'END-of-eltclsh/Makefile'
X# $NetBSD: $
X
XDISTNAME= eltclsh-1.2
XWRKSRC= ${WRKDIR}/bin/eltclsh
XCATEGORIES= shells
XMASTER_SITES= http://www.laas.fr/~mallet/opensoft/php/download?
X
XMAINTAINER= tech-pkg@NetBSD.org
XHOMEPAGE= http://www.laas.fr/~mallet/opensoft/tools/eltclsh.php
XCOMMENT= Interactive TCL shell
X
XDEPENDS+= tk>=8:../../x11/tk
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
X
XUSE_GMAKE= YES
XUSE_X11= yes
XUSE_LIBTOOL= yes
XUSE_BUILDLINK2= yes
X
X.include "../../x11/tk/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-eltclsh/Makefile
echo x - eltclsh/PLIST
sed 's/^X//' >eltclsh/PLIST << 'END-of-eltclsh/PLIST'
X@comment $NetBSD: $
Xbin/eltclsh
Xbin/elwish
Xman/cat1/eltclsh.0
Xman/man1/eltclsh.1
Xshare/eltcl/init.tcl
Xshare/eltcl/tools.tcl
Xshare/eltcl/complete.tcl
Xshare/eltcl/pkgIndex.tcl
X@dirrm share/eltcl
END-of-eltclsh/PLIST
echo x - eltclsh/distinfo
sed 's/^X//' >eltclsh/distinfo << 'END-of-eltclsh/distinfo'
X$NetBSD$
X
XSHA1 (eltclsh-1.2.tar.gz) = c1e7ce7ee0d2721e6fa7617bf600173f7ce0bee3
XSize (eltclsh-1.2.tar.gz) = 179044 bytes
END-of-eltclsh/distinfo
exit
>Release-Note:
>Audit-Trail:
From: Alistair Crooks <agc@wasabisystems.com>
To: Anthony Mallet <anthony.mallet@useless-ficus.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/22994: new pkg: eltclsh - interactive tcl shell
Date: Mon, 29 Sep 2003 15:18:52 +0200
On Sun, Sep 28, 2003 at 07:03:11PM +0200, Anthony Mallet wrote:
>
> >Number: 22994
> >Category: pkg
> >Synopsis: new pkg: eltclsh - interactive tcl shell
> >Confidential: no
Thanks for the package, Anthony.
I tool a quick look at it, and found a number of nits:
1. There's no need to add a separate dependency on tk>=8, the buildlink2
functionality will do that for you.
2. You need to add
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
so that the right libtool is used.
3. Upon installation, I get the following message:
../install-sh -c -m 644 ./complete.tcl /usr/pkg/share/eltcl
../src/eltclsh ../mkIndex /usr/pkg/share/eltcl
can't find package el::tools
while executing
"package require el::tools"
Rebuilding package index in /usr/pkg/share/eltcl
gmake[1]: Leaving directory `/usr/obj/pkgsrc/local/eltclsh/work.sys1/bin/eltclsh/tcl'
4. It would appear that the distfile has changed - the size and the digest
have changed.
Hope this helps,
Alistair
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
To: agc@wasabisystems.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/22994: new pkg: eltclsh - interactive tcl shell
Date: Mon, 29 Sep 2003 17:31:51 +0200
--DGi9C3imRs
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
Alistair Crooks writes:
| Thanks for the package, Anthony.
|
| I tool a quick look at it, and found a number of nits:
Thanks for the feedback. I attach an updated version of the package.
--DGi9C3imRs
Content-Type: text/plain
Content-Disposition: inline;
filename="eltclsh.shar"
Content-Transfer-Encoding: 7bit
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# eltclsh
# eltclsh/DESCR
# eltclsh/Makefile
# eltclsh/PLIST
# eltclsh/distinfo
#
echo c - eltclsh
mkdir -p eltclsh > /dev/null 2>&1
echo x - eltclsh/DESCR
sed 's/^X//' >eltclsh/DESCR << 'END-of-eltclsh/DESCR'
Xeltclsh (editline tcl shell) is an interactive shell for the TCL
Xprogramming language. It provides command line editing, history browsing
Xas well as variables and command completion thanks to editline
Xfeatures. The completion engine is programmable in a way similar to tcsh,
Xand comes with an programmed completion for the whole TCL language by
Xdefault.
X
XThe package also provides elwish, an interactive interpreter for the Tk
Xtoolkit.
END-of-eltclsh/DESCR
echo x - eltclsh/Makefile
sed 's/^X//' >eltclsh/Makefile << 'END-of-eltclsh/Makefile'
X# $NetBSD: $
X
XDISTNAME= eltclsh-1.2
XWRKSRC= ${WRKDIR}/bin/eltclsh
XCATEGORIES= shells
XMASTER_SITES= http://www.laas.fr/~mallet/opensoft/php/download?
X
XMAINTAINER= tech-pkg@NetBSD.org
XHOMEPAGE= http://www.laas.fr/~mallet/opensoft/tools/eltclsh.php
XCOMMENT= Interactive TCL shell
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
X
XUSE_LIBTOOL= yes
XLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
X
XUSE_GMAKE= yes
XUSE_X11= yes
XUSE_BUILDLINK2= yes
X
X.include "../../x11/tk/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-eltclsh/Makefile
echo x - eltclsh/PLIST
sed 's/^X//' >eltclsh/PLIST << 'END-of-eltclsh/PLIST'
X@comment $NetBSD: $
Xbin/eltclsh
Xbin/elwish
Xman/cat1/eltclsh.0
Xman/man1/eltclsh.1
Xshare/eltcl/init.tcl
Xshare/eltcl/tools.tcl
Xshare/eltcl/complete.tcl
Xshare/eltcl/pkgIndex.tcl
X@dirrm share/eltcl
END-of-eltclsh/PLIST
echo x - eltclsh/distinfo
sed 's/^X//' >eltclsh/distinfo << 'END-of-eltclsh/distinfo'
X$NetBSD$
X
XSHA1 (eltclsh-1.2.tar.gz) = 82047df3bfb7f531e5e8e39c8f36d563318f7fc9
XSize (eltclsh-1.2.tar.gz) = 179040 bytes
END-of-eltclsh/distinfo
exit
--DGi9C3imRs--
From: Alistair Crooks <agc@wasabisystems.com>
To: Anthony Mallet <anthony.mallet@useless-ficus.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/22994: new pkg: eltclsh - interactive tcl shell
Date: Mon, 29 Sep 2003 17:39:57 +0200
On Mon, Sep 29, 2003 at 05:31:51PM +0200, Anthony Mallet wrote:
Content-Description: message body text
>
> Alistair Crooks writes:
> | Thanks for the package, Anthony.
> |
> | I tool a quick look at it, and found a number of nits:
>
> Thanks for the feedback. I attach an updated version of the package.
The distfile is still out of step with the recorded digest in distinfo:
[16:35:51] agc@sys1 ...pkgsrc/local/eltclsh 48 > make
===> do-fetch [eltclsh-1.2] ===> Checking for vulnerabilities in eltclsh-1.2
=> Checksum mismatch for eltclsh-1.2.tar.gz.
Make sure the Makefile and checksum file (/usr/pkgsrc/local/eltclsh/distinfo)
are up to date. If you want to override this check, type
"make NO_CHECKSUM=yes [other args]".
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/local/eltclsh
Once that's been fixed ("make mdi"), then there's still a problem with
the installation:
gmake[1]: Entering directory `/usr/obj/pkgsrc/local/eltclsh/work.sys1/bin/eltclsh/tcl'
../install-sh -c -d /usr/pkg/share/eltcl
../install-sh -c -m 644 ./init.tcl /usr/pkg/share/eltcl
../install-sh -c -m 644 ./tools.tcl /usr/pkg/share/eltcl
../install-sh -c -m 644 ./complete.tcl /usr/pkg/share/eltcl
../src/eltclsh ../mkIndex /usr/pkg/share/eltcl
can't find package el::tools
while executing
"package require el::tools"
Rebuilding package index in /usr/pkg/share/eltcl
gmake[1]: Leaving directory `/usr/obj/pkgsrc/local/eltclsh/work.sys1/bin/eltclsh/tcl'
===> fake-pkg [eltclsh-1.2] ===> Registering installation for eltclsh-1.2
Regards,
Alistair
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
To: agc@wasabisystems.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/22994: new pkg: eltclsh - interactive tcl shell
Date: Mon, 29 Sep 2003 17:44:59 +0200
Alistair Crooks writes:
| The distfile is still out of step with the recorded digest in distinfo:
| ../src/eltclsh ../mkIndex /usr/pkg/share/eltcl
| can't find package el::tools
| while executing
| "package require el::tools"
| Rebuilding package index in /usr/pkg/share/eltcl
Did you refetch the distfile? It needs to be refetched (I should have
told you, sorry).
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
To: gnats-bugs@gnats.netbsd.org
Cc: anthony.mallet@useless-ficus.net
Subject: Re: pkg/22994: new pkg: eltclsh - interactive tcl shell
Date: Fri, 10 Oct 2003 17:27:51 +0200
For information, the official download URL has moved to a more stable
location. The new download URL is
http://softs.laas.fr/openrobots/php/download.php?eltclsh-1.2.tar.gz
The old URL still works, though.
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: Re: pkg/22994: new pkg: eltclsh - interactive tcl shell
Date: Sun, 14 Dec 2003 14:04:36 +0100
--Ur0BcHlznE
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
An updated package for eltclsh-1.4 (previous submission was for 1.2).
--Ur0BcHlznE
Content-Type: text/plain
Content-Disposition: inline;
filename="eltclsh.shar"
Content-Transfer-Encoding: 7bit
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# eltclsh
# eltclsh/DESCR
# eltclsh/Makefile
# eltclsh/PLIST
# eltclsh/distinfo
#
echo c - eltclsh
mkdir -p eltclsh > /dev/null 2>&1
echo x - eltclsh/DESCR
sed 's/^X//' >eltclsh/DESCR << 'END-of-eltclsh/DESCR'
Xeltclsh (editline tcl shell) is an interactive shell for the TCL
Xprogramming language. It provides command line editing, history browsing
Xas well as variables and command completion thanks to editline
Xfeatures. The completion engine is programmable in a way similar to tcsh,
Xand comes with an programmed completion for the whole TCL language by
Xdefault.
X
XThe package also provides elwish, an interactive interpreter for the Tk
Xtoolkit.
END-of-eltclsh/DESCR
echo x - eltclsh/Makefile
sed 's/^X//' >eltclsh/Makefile << 'END-of-eltclsh/Makefile'
X# $NetBSD: $
X
XDISTNAME= eltclsh-1.4
XWRKSRC= ${WRKDIR}/eltclsh
XCATEGORIES= shells
XMASTER_SITES= http://softs.laas.fr/openrobots/php/download/
X
XMAINTAINER= tech-pkg@NetBSD.org
XHOMEPAGE= http://softs.laas.fr/openrobots/tools/eltclsh.php
XCOMMENT= Interactive TCL shell with editline facilities
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
X
XUSE_LIBTOOL= yes
XLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
X
XUSE_GMAKE= yes
XUSE_X11= yes
XUSE_BUILDLINK2= yes
X
X.include "../../x11/tk/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-eltclsh/Makefile
echo x - eltclsh/PLIST
sed 's/^X//' >eltclsh/PLIST << 'END-of-eltclsh/PLIST'
X@comment $NetBSD: $
Xbin/eltclsh
Xbin/elwish
Xman/cat1/eltclsh.0
Xman/man1/eltclsh.1
Xshare/eltcl/init.tcl
Xshare/eltcl/tools.tcl
Xshare/eltcl/complete.tcl
Xshare/eltcl/pkgIndex.tcl
X@dirrm share/eltcl
END-of-eltclsh/PLIST
echo x - eltclsh/distinfo
sed 's/^X//' >eltclsh/distinfo << 'END-of-eltclsh/distinfo'
X$NetBSD$
X
XSHA1 (eltclsh-1.4.tar.gz) = d7dbb4226e027a97778eef829c0bb98019c65bac
XSize (eltclsh-1.4.tar.gz) = 179240 bytes
END-of-eltclsh/distinfo
exit
--Ur0BcHlznE--
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/22994 CVS commit: pkgsrc/shells/eltclsh
Date: Tue, 21 Nov 2006 15:27:42 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Tue Nov 21 15:27:42 UTC 2006
Update of /cvsroot/pkgsrc/shells/eltclsh
In directory ivanova.netbsd.org:/tmp/cvs-serv7878
Log Message:
Import eltclsh version 1.6.
Based on PR 22994 by Anthony Mallet.
I modify to adapt to recent pkgsrc tree and update from 1.4 to 1.6.
eltclsh (editline tcl shell) is an interactive shell for the TCL
programming language. It provides command line editing, history browsing
as well as variables and command completion thanks to editline
features. The completion engine is programmable in a way similar to tcsh,
and comes with an programmed completion for the whole TCL language by
default.
The package also provides elwish, an interactive interpreter for the Tk
toolkit.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
N pkgsrc/shells/eltclsh/DESCR
N pkgsrc/shells/eltclsh/Makefile
N pkgsrc/shells/eltclsh/PLIST
N pkgsrc/shells/eltclsh/distinfo
N pkgsrc/shells/eltclsh/patches/patch-aa
No conflicts created by this import
State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Tue, 21 Nov 2006 15:33:23 +0000
State-Changed-Why:
Added eltclsh version 1.6. Thanks for your PR.
>Unformatted:
(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.