Package: libnet-handlersocket-perl
Version: 1.0.6-80-g88bf1e0-1.1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

an attempt to do:

        perl -MNet::HandlerSocket

produces:

        Can't load '/usr/lib/perl5/auto/Net/HandlerSocket/HandlerSocket.so' for 
module Net::HandlerSocket:
        /usr/lib/perl5/auto/Net/HandlerSocket/HandlerSocket.so: undefined 
symbol: _ZN4dena13verbose_levelE at
        /usr/share/perl/5.14/XSLoader.pm line 71.
        at /usr/lib/perl5/Net/HandlerSocket.pm line 31
        Compilation failed in require.
        BEGIN failed--compilation aborted.


perl-Net-HandlerSocket may not be configured before libhsclient is built. 
Without `libhsclient' Makefile.PL renders no EXTRALIBS and
LDLOADLIBS variables in Makefile with mostly no diagnostics:

        host@src/handlersocket-1.0.6-80-g88bf1e0/perl-Net-HandlerSocket$ perl 
Makefile.PL 
        Checking if your kit is complete...
        Warning: the following files are missing in your kit:
        lib/HandlerSocket.pm
        Please inform the author.
        Warning: -L../libhsclient changed to 
-L/home/assa/src/handlersocket-1.0.6-80-g88bf1e0/perl-Net-HandlerSocket/../libhsclient
        Note (probably harmless): No library found for -lhsclient
        Writing Makefile for Net::HandlerSocket



Here is the patch fixing the issue:

--- rules.old   2011-05-03 17:18:23.000000000 +0000
+++ rules       2012-05-26 06:11:39.000000000 +0000
@@ -18,12 +18,11 @@
        mkdir -p debian/mysql-source-5.1
        tar -zxf /usr/src/mysql/mysql-source-5.1.tar.gz -C 
debian/mysql-source-5.1
        dh_auto_configure -- 
--with-mysql-source=$(CURDIR)/debian/mysql-source-5.1/mysql-5.1
-       cd perl-Net-HandlerSocket && dh_auto_configure
 
 override_dh_auto_build: perl-Net-HandlerSocket/debian
        make
        make libhsclient
-       cd perl-Net-HandlerSocket && dh_auto_build
+       cd perl-Net-HandlerSocket && dh_auto_configure && dh_auto_build
 
 override_dh_auto_install: perl-Net-HandlerSocket/debian
        dh_auto_install



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

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnet-handlersocket-perl depends on:
ii  libc6                       2.13-32
ii  libgcc1                     1:4.7.0-8
ii  libstdc++6                  4.7.0-8
ii  perl                        5.14.2-9
ii  perl-base [perlapi-5.14.2]  5.14.2-9

libnet-handlersocket-perl recommends no packages.

libnet-handlersocket-perl suggests no packages.

-- no debconf information



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

Reply via email to