Bug#639559: Doesn't listen at all

2012-02-19 Thread Ludovico Gardenghi
On Wed, Oct 12, 2011 at 20:37:30 +0100, Regis Boudin wrote:

 thanks for the report, I'm looking into the issue, hopefully will get it
 fixed soon.

The .la files that have been removed in 1.2-24 for compliance with S-V
3.9.2 were in fact used by sbnc via lt_dlopen. I restored them cleaning the
dependency_libs line.

I attach the debdiff for my QA release for whoever wants to adopt sbnc.

Ludovico
-- 
l...@dovi.coIRC: garden@freenode
OpenPGP: 1024D/63D2D5D907F89BB8 Jabber/gtalk: garde...@gmail.com
diff -Nru sbnc-1.2/debian/changelog sbnc-1.2/debian/changelog
--- sbnc-1.2/debian/changelog	2011-08-16 21:29:18.0 +0200
+++ sbnc-1.2/debian/changelog	2012-02-19 16:56:45.0 +0100
@@ -1,3 +1,12 @@
+sbnc (1.2-25) unstable; urgency=low
+
+  * QA upload.
+  * Put back .la files (they are used by lt_dlopen), emptying the
+dependency_libs setting. Closes: #639559.
+  * Add build-indep and build-arch targets to debian/rules.
+
+ -- Ludovico Gardenghi gar...@debian.org  Sun, 19 Feb 2012 16:56:06 +0100
+
 sbnc (1.2-24) unstable; urgency=low
 
   * QA upload.
diff -Nru sbnc-1.2/debian/rules sbnc-1.2/debian/rules
--- sbnc-1.2/debian/rules	2011-04-16 12:35:54.0 +0200
+++ sbnc-1.2/debian/rules	2012-02-19 16:56:45.0 +0100
@@ -21,7 +21,9 @@
 	--prefix=/ --exec-prefix=/ --with-tcl=/usr/lib/tcl8.5
 	touch configure-stamp
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp: config.status
 	dh_testdir
 	$(MAKE)
@@ -56,6 +58,8 @@
 	chrpath -d -k debian/temp/usr/lib/sbnc/libbnctcl.so
 	# Replace leading '//' with '/' in the path.
 	sed 's;//;/;g' -i debian/temp/usr/lib/sbnc/lib*.la
+	# Empty the 'dependency_libs' setting in .la files.
+	sed -i /dependency_libs/ s/'.*'/''/ debian/temp/usr/lib/sbnc/lib*.la
 	dh_install
 
 binary-indep: build install
diff -Nru sbnc-1.2/debian/sbnc.install sbnc-1.2/debian/sbnc.install
--- sbnc-1.2/debian/sbnc.install	2011-08-16 21:29:41.0 +0200
+++ sbnc-1.2/debian/sbnc.install	2012-02-19 16:56:45.0 +0100
@@ -1,3 +1,4 @@
 debian/temp/sbnc usr/sbin/
 debian/temp/usr/lib/sbnc/libsbnc.so* usr/lib/sbnc/
+debian/temp/usr/lib/sbnc/libsbnc.la usr/lib/sbnc/
 debian/temp/sbnc.ipc usr/share/sbnc/templates/
diff -Nru sbnc-1.2/debian/sbnc-tcl.install sbnc-1.2/debian/sbnc-tcl.install
--- sbnc-1.2/debian/sbnc-tcl.install	2011-08-16 21:29:52.0 +0200
+++ sbnc-1.2/debian/sbnc-tcl.install	2012-02-19 16:56:45.0 +0100
@@ -1,3 +1,4 @@
 debian/temp/usr/lib/sbnc/libbnctcl.so* usr/lib/sbnc/
+debian/temp/usr/lib/sbnc/libbnctcl.la usr/lib/sbnc/
 debian/temp/scripts usr/lib/sbnc/
 debian/temp/sbnc.tcl usr/share/sbnc-tcl/templates/


Bug#639559: Doesn't listen at all

2011-08-28 Thread Andrey Rahmatullin
Package: sbnc
Version: 1.2-24
Severity: grave

After upgrading to 1.2-24 sbnc ceased to listen to the configured port. Neither
system.port nor system.sslport are honored. ps shows that sbnc doesn't fork:

16797 ?Ss 0:01 /usr/sbin/sbnc

Here is the usual state:

24642 ?Ss 0:00 /usr/sbin/sbnc
24643 ?Sl 0:00  \_ /usr/sbin/sbnc --rpc-child

Downgrading to 1.2-23 without any other changes helps.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-linode33 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbnc depends on:
ii  adduser   3.113  add and remove users and groups
ii  debconf [debconf-2.0] 1.5.40 Debian configuration management sy
ii  libc-ares21.7.4-1library for asyncronous name resol
ii  libc6 2.13-16Embedded GNU C Library: Shared lib
ii  libgcc1   1:4.6.1-4  GCC support library
ii  libltdl7  2.4-3  A system independent dlopen wrappe
ii  libssl1.0.0   1.0.0d-3   SSL shared libraries
ii  libstdc++64.6.1-4GNU Standard C++ Library v3
ii  pwgen 2.06-1+b1  Automatic Password generation

Versions of packages sbnc recommends:
pn  oidentd   none (no description available)
ii  sbnc-tcl  1.2-24 IRC proxy for multiple users (Tcl 

Versions of packages sbnc suggests:
pn  sbnc-mysqlnone (no description available)

-- Configuration Files:
/etc/default/sbnc changed:
AUTOSTART_SBNC=1



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org