Bug#314224: expect: Tcl8.4 link problem
Package: expect Version: 5.42.1-1.2 Severity: important Hi, I'm the author of ciscocmd, a short and simple expect script for CISCO, hosted on COSI Website and I can't release my script because I use the fork command and expect is broken under Sarge. Under Woody, I was able to run my scripts with forking mechanism. After dist-upgrade, the spawn command in forked process doesn't work anymore. This problem is well known and depends from the compilation option of tcl. The linked tcl version is compiled with enable-threads. This is incompatible with expect forking mechanism. Debian maintainer of tcl has been contacted but he says that a version without thread is provided for this : tcl 8.3. To test it, I have modified the debian rules file to use tcl 8.3 instead 8.4 and all is working now. Could you provide a version of expect that use tcl 8.3 ? Thanks in advance, Alain Degreffe -- Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages expect depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii tcl8.4 8.4.9-1 Tcl (the Tool Command Language) v8 -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#312444: tcl8.4: tcl compiled with --enable-threads incompatible with forking
Package: tcl8.4 Version: 8.4.9-1 Severity: important The forking mechanism is broken in all tcl version compiled with threads. This is well known for a long time. Upstream Maintainer should fix that but in the meantime the most secure way is to use Tcl without threads. Package like expect depend of that and will be unable to use fork command. this is a serious limitation. After the dist-upgrade all my scripts are now broken. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.25-1-386 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages tcl8.4 depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#312444: RE : Bug#312444: tcl8.4: tcl compiled with --enable-threads incompatible with forking
Right, But expect package is linked with tcl8.4, so use 8.3 will not work. What's the best solution ? In my point of view, a fix from upstream or simply a tcl.8.4-nothread release for expect. Alain -Message d'origine- De : Chris Waters [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8 juin 2005 13:02 À : Alain Degreffe; [EMAIL PROTECTED] Objet : Re: Bug#312444: tcl8.4: tcl compiled with --enable-threads incompatible with forking Yes, I'm sorry, but if you need a non-threaded tcl core, you'll have to use the tcl8.3 packages, which are still provided for just this reason. As Francesco pointed out, some packages require a threaded tcl. This is not a bug, though I realize that the situation is far from perfect. I hope to have a better solution by the time etch is released, but for sarge, I'm afraid you'll just have to stick with 8.3. -- Chris Waters | Pneumonoultra-osis is too long [EMAIL PROTECTED] | microscopicsilico-to fit into a single or [EMAIL PROTECTED] | volcaniconi- standalone haiku