Package: itcl3-dev
Version: 3.2.1-3.1
Followup-For: Bug #349302

I confirm itcl.tcl that is installed by itcl3 is not automatically found for
Debian testing.  I am Ccing this confirmation bug report to 

Francesco Paolo Lovergine <[EMAIL PROTECTED]>
and
Sergei Golovan <[EMAIL PROTECTED]>

because changing where tcl8.4 looks for *.tcl files may fix this bug or
repackaging itcl3 in a way that conforms to the Debian Tcl/Tk Policy at
http://pkg-tcltk.alioth.debian.org/tcltk-policy.html/ may fix this bug.

Now the details of this bug confirmation for Debian testing.

A normal (c)test of the PLplot build gives the following error:

Testing front-end tcl
application-specific initialization failed: Can't find a usable itcl.tcl in
the following directories:
     /usr/share/tcltk/itcl3.2
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../lib/itcl3.2
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../library
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../../library
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../../itcl/librar
y
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../../../itcl/lib
rary
This probably means that Itcl/Tcl weren't installed properly.
If you know where the Itcl library directory was installed,
you can set the environment variable ITCL_LIBRARY to point
to the library directory.

Indeed, when I follow those directions and set

export ITCL_LIBRARY=/usr/lib/itcl3.2

the error disappears.  But this run-time workaround should not be necessary.

Indeed, Debian oldstable (version 3.2.1-3 for itcl3 and itcl3-dev) produces
no such run-time error for the (i)tcl interface to the _same_ version of 
PLplot built on my Debian oldstable system.

I did 

apt-get source itcl3 

on that system and compared the complete source tree with the one generated
by the same command on my debian testing system.  Here are the only
differences between the two source trees:

diff -Naur /tmp/itcl3-3.2.1/debian/changelog itcl3-3.2.1/debian/changelog
--- /tmp/itcl3-3.2.1/debian/changelog   2007-11-23 14:55:20.000000000 -0800
+++ itcl3-3.2.1/debian/changelog        2007-11-23 14:47:47.000000000 -0800
@@ -1,3 +1,12 @@
+itcl3 (3.2.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update build-deps for xlibs-dev removal; closes: #346711.
+  * Credit and Big Thanks to Justin Pryzby
+    <[EMAIL PROTECTED]> for the patch and testing.
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Thu, 19 Jan 2006 12:54:55 +0100
+
 itcl3 (3.2.1-3) unstable; urgency=low
 
   * Added conflicts with old version of the insight package, which
diff -Naur /tmp/itcl3-3.2.1/debian/control itcl3-3.2.1/debian/control
--- /tmp/itcl3-3.2.1/debian/control     2007-11-23 14:55:20.000000000 -0800
+++ itcl3-3.2.1/debian/control  2007-11-23 14:47:47.000000000 -0800
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Chris Waters <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4), xlibs-dev, tcl8.4-dev, tk8.4-dev
+Build-Depends: debhelper (>= 4), libxt-dev, tcl8.4-dev, tk8.4-dev
 Standards-Version: 3.6.0
 
 Package: itcl3

I don't think this removal of an erroneous build depends is the source of
this bug so perhaps it is an artifact of some inconsistency between itcl3
and tcl (a change in where tcl looks for *.tcl files?) introduced between
tcl8.4-dev/tcl8.4 version 8.4.9-1 on Debian oldstable and tcl8.4-dev/tcl8.4
version 8.4.16-4 on Debian testing.

Note, the run-time error for tcl3 also occurred for tcl8.4-dev/tcl8.4
version 8.4.16-3.

Alan W. Irwin

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages itcl3-dev depends on:
ii  itcl3                         3.2.1-3.1  [incr Tcl] OOP extension for Tcl -
ii  libc6-dev                     2.6.1-1    GNU C Library: Development Librari
ii  tcl8.4-dev                    8.4.16-4   Tcl (the Tool Command Language) v8

Versions of packages itcl3-dev recommends:
pn  itcl3-doc                     <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to