Package: eggdrop Followup-For: Bug #487541 tag 487541 patch thanks
Postings on the egghelp.org forums indicate that eggdrop's hanging in background mode is caused by being compiled without Tcl thread support while still being linked against a thread-enabled libtcl: http://forum.egghelp.org/viewtopic.php?p=58877 (ignore the final two postings on the thread, they're unrelated) http://forum.egghelp.org/viewtopic.php?t=15805 To make things worse, eggdrop's auto-detection of the installed libtcl's thread support seems to be broken (in design). See above as well as the following 2002 posting on the eggdrop developer mailing list: http://www.eggheads.org/pipermail/eggdev/2002-May/023002.html And, indeed, when _forcing_ eggdrop to build with Tcl thread support using the attached patch, eggdrop 1.6.19 works correctly.
diff -ruN eggdrop-1.6.19/configure eggdrop-1.6.19-threads/configure --- eggdrop-1.6.19/configure 2008-04-19 04:21:20.000000000 +0000 +++ eggdrop-1.6.19-threads/configure 2008-08-03 19:25:20.000000000 +0000 @@ -10034,7 +10034,6 @@ fi - if test "$egg_cv_var_tcl_threaded" = "yes"; then if test "$enable_tcl_threads" = "no"; then cat << 'EOF' >&2 @@ -10056,7 +10055,6 @@ if test ! "${ac_cv_lib_pthread-x}" = "x"; then LIBS="$ac_cv_lib_pthread $LIBS" fi - fi if test "$EGG_CYGWIN" = "yes"; then diff -ruN eggdrop-1.6.19/debian/rules eggdrop-1.6.19-threads/debian/rules --- eggdrop-1.6.19/debian/rules 2008-08-03 18:19:59.000000000 +0000 +++ eggdrop-1.6.19-threads/debian/rules 2008-08-03 19:04:59.000000000 +0000 @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk +DEB_CONFIGURE_EXTRA_FLAGS := --enable-tcl-threads DEB_CONFIGURE_SCRIPT_ENV := DEB_INSTALL_MANPAGES_eggdrop-data := doc/man1/eggdrop.1 DEB_MAKE_INSTALL_TARGET := install prefix=$(DEB_DESTDIR)/usr