Your message dated Mon, 3 Mar 2014 11:22:47 +0100
with message-id <[email protected]>
and subject line Re: Bug#740590: libnet-ssh2-perl: Fails to build from source
in wheezy
has caused the Debian Bug report #740590,
regarding libnet-ssh2-perl: Fails to build from source in wheezy
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
740590: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740590
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libnet-ssh2-perl
Version: 0.44-1
Severity: important
Hi,
libnet-ssh2-perl fails to build from source in wheezy. It's missing a build
dependency on
libssl-dev.
Cheers,
Moritz
make[1]: Entering directory `/home/jmm/scratch/wheezy/libnet-ssh2-perl-0.44'
cp lib/Net/SSH2/File.pm blib/lib/Net/SSH2/File.pm
cp lib/Net/SSH2/PublicKey.pm blib/lib/Net/SSH2/PublicKey.pm
cp lib/Net/SSH2/Dir.pm blib/lib/Net/SSH2/Dir.pm
cp lib/Net/SSH2/SFTP.pm blib/lib/Net/SSH2/SFTP.pm
cp lib/Net/SSH2/Listener.pm blib/lib/Net/SSH2/Listener.pm
cp lib/Net/SSH2/Channel.pm blib/lib/Net/SSH2/Channel.pm
cp lib/Net/SSH2.pm blib/lib/Net/SSH2.pm
AutoSplitting blib/lib/Net/SSH2.pm (blib/lib/auto/Net/SSH2)
/usr/bin/perl "-Iinc" /usr/share/perl/5.14/ExtUtils/xsubpp -typemap
/usr/share/perl/5.14/ExtUtils/typemap -typemap typemap SSH2.xs > SSH2.xsc &&
mv SSH2.xsc SSH2.c
cc -c -I/usr/local/include -I/usr/include -I. -D_REENTRANT -D_GNU_SOURCE
-DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2
-DVERSION=\"0.44\" -DXS_VERSION=\"0.44\" -fPIC "-I/usr/lib/perl/5.14/CORE"
SSH2.c
Running Mkbootstrap for Net::SSH2 ()
chmod 644 SSH2.bs
rm -f blib/arch/auto/Net/SSH2/SSH2.so
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wl,-z,relro -shared -L/usr/local/lib
-fstack-protector SSH2.o -o blib/arch/auto/Net/SSH2/SSH2.so \
-L/home/jmm -L/usr/local/lib -L/lib/x86_64-linux-gnu -L/lib/../lib
-L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/lib -L/usr/lib
-L/usr/local/lib -L/usr/local -L/usr/lib -L/usr -L/opt -L//lib -L//lib64 -L/
-lssh2 -lssl -lcrypto \
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[1]: *** [blib/arch/auto/Net/SSH2/SSH2.so] Error 1
make[1]: Leaving directory `/home/jmm/scratch/wheezy/libnet-ssh2-perl-0.44'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- System Information:
Debian Release: 7.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
The package is missing a build dependency on libssl-dev
diff -aur libnet-ssh2-perl-0.44.orig/debian/control libnet-ssh2-perl-0.44/debian/control
--- libnet-ssh2-perl-0.44.orig/debian/control 2012-04-25 22:32:31.000000000 +0200
+++ libnet-ssh2-perl-0.44/debian/control 2014-03-03 10:32:27.850446710 +0100
@@ -1,7 +1,7 @@
Source: libnet-ssh2-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 9), libssh2-1-dev, perl
+Build-Depends: debhelper (>= 9), libssh2-1-dev, perl, libssl-dev
Maintainer: Debian Perl Group <[email protected]>
Uploaders: Ryan Niebur <[email protected]>,
Salvatore Bonaccorso <[email protected]>,
--- End Message ---
--- Begin Message ---
> Control: tags -1 + moreinfo
>
> Hi Moritz,
>
> libnet-ssh2-perl builds fine for me both in a clean sbuild and
> pbuilder build environment. We explictly did not add the libssl-dev
> dependency, [1] gives some background.
Ok, closing the bug, then.
> Do you have the full build log around? I would be interested to see
> why it fails in your envionment. (-lssl and -lcrypto are adden in your
> build.)
I'll send you the log in a followup mail. This may be limited to our build
environment (using pbuilder on squeeze-based buildds).
Cheers,
Moritz
--
Moritz Mühlenhoff
Open Source Software Engineer
Univention GmbH
be open.
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-0 [.....]
Fax : +49 421 22232-99
[email protected]
http://www.univention.de
Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876
--- End Message ---