Package: tsung
Version: 1.4.2-1.1
Severity: normal
Dear Maintainer,
Trying to test HTTPS sites with tsung does not work. The problem is the
same one described for couchdb when used with erlang R16[1]: asn1 needs
to be loaded before public_key module. The problem is visible during the
build process:
$ ./configure
...
checking for Erlang/OTP 'ssl' library subdirectory...
/usr/lib/erlang/lib/ssl-5.3
checking for Erlang/OTP 'ssl' library version... 5.3
checking for Erlang/OTP 'crypto' library subdirectory...
/usr/lib/erlang/lib/crypto-3.0
checking for Erlang/OTP 'crypto' library version... 3.0
checking for Erlang/OTP 'public_key' library subdirectory...
/usr/lib/erlang/lib/public_key-0.19
checking for Erlang/OTP 'public_key' library version... 0.19
checking if Erlang/OTP SSL application is running fine... WARNING: ssl
application is not working properly !!!
no
checking if Erlang/OTP crypto application is running fine... yes
If configure is modified with the provided patch to load asn1, tsung starts
working
again. Please forward the patch upstream because the problem still exists in
tsung 1.5.0.
[1] https://issues.apache.org/jira/browse/COUCHDB-1833
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tsung depends on:
ii erlang-asn1 1:16.b.1-dfsg-4
ii erlang-base [erlang-abi-15.b] 1:16.b.1-dfsg-4
ii erlang-crypto 1:16.b.1-dfsg-4
ii erlang-inets 1:16.b.1-dfsg-4
ii erlang-os-mon 1:16.b.1-dfsg-4
ii erlang-snmp 1:16.b.1-dfsg-4
ii erlang-ssl 1:16.b.1-dfsg-4
ii erlang-xmerl 1:16.b.1-dfsg-4
ii gnuplot 4.6.3-2
ii libtemplate-perl 2.24-1
ii python 2.7.5-3
ii python-matplotlib 1.1.1~rc2-1
ii python-support 1.0.15
Versions of packages tsung recommends:
ii openssh-client 1:6.2p2-6
tsung suggests no packages.
-- no debconf information
--- configure.in.orig 2013-08-09 15:30:03.458673065 +0200
+++ configure.in 2013-08-09 15:27:54.728800218 +0200
@@ -52,6 +52,7 @@
AC_RUN_IFELSE(
[AC_LANG_PROGRAM([], [dnl
application:start(crypto),
+ application:start(asn1),
application:start(public_key),
case application:start(ssl) of
ok -> ok;
@@ -59,7 +60,7 @@
end,
halt(0)])],
[erlang_cv_ssl_runnable=yes
- ERLANG_APPLICATIONS="kernel,stdlib,crypto,public_key,ssl"],
+ ERLANG_APPLICATIONS="kernel,stdlib,crypto,asn1,public_key,ssl"],
[ERLANG_APPLICATIONS="kernel,stdlib"
AC_MSG_RESULT(WARNING: ssl application is not working properly !!!)])
])