Package: sip-tester
Version: 2.0.1-1
Severity: serious
Justification: no longer builds from source

sip-tester fails to build on Alpha:

[...]
gcc   -D__LINUX -pthread  -D__3PCC__ -D_USE_OPENSSL -DOPENSSL_NO_KRB5 
-DPCAPPLAY -I/usr/include     -I. -I/opt/openssl/include  -c -o call.o call.cpp
call.cpp: In member function 'void call::connect_socket_if_needed()':
call.cpp:827: error: invalid conversion from 'int*' to 'socklen_t*'
call.cpp:827: error:   initializing argument 3 of 'int getsockname(int, 
sockaddr*, socklen_t*)'
call.cpp: In member function 'char* call::createSendingMessage(char*, int)':
call.cpp:2044: error: invalid conversion from 'int*' to 'socklen_t*'
call.cpp:2044: error:   initializing argument 3 of 'int getsockname(int, 
sockaddr*, socklen_t*)'
make[2]: *** [call.o] Error 1
make[2]: Leaving directory `/home/falk/sip-tester-2.0.1'

Full log at 
http://buildd.debian.org/fetch.cgi?&pkg=sip-tester&ver=2.0.1-1&arch=alpha&stamp=1179311676&file=log

This is from bogus code in sipp.hpp:

#if defined (__hpux) || defined (__alpha) && !defined (__FreeBSD__)
#define sipp_socklen_t  int
#else
#define sipp_socklen_t  socklen_t
#endif

Apparently, "__alpha" is supposed to detect Tru64 Unix. The correct
way to do that is:

#if defined (__digital__) && defined (__unix__)

        Falk

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: alpha

Kernel: Linux 2.6.20
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages sip-tester depends on:
ii  libc6.1                 2.5-11           GNU C Library: Shared libraries
ii  libgcc1                 1:4.2-20070609-1 GCC support library
ii  libncurses5             5.6-3            Shared libraries for terminal hand
pn  libnet1                 <none>           (no description available)
pn  libpcap0.7              <none>           (no description available)
ii  libssl0.9.8             0.9.8e-5         SSL shared libraries
ii  libstdc++6              4.2-20070609-1   The GNU Standard C++ Library v3

sip-tester recommends no packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to