Bug#902105: sip-tester FTBFS on alpha; sipp_socklen_t set to wrong type

Michael Cree mcree at orcon.net.nz
Fri Jun 22 10:51:54 BST 2018


Source: sip-tester
Version: 1:3.5.1-2
Severity: important
Justification: Fails to build from source (but built in the past)
User: debian-alpha at lists.debian.org
Usertags: ftbfs
Tags: patch

sip-tester FTBFS on Alpha due to the sipp_socklen_t being set to int
instead of socklen_t in the include/socket.hpp header file which
ultimately results in the following build failure [1]:

src/call.cpp: In member function 'char* call::createSendingMessage(SendingMessage*, int, char*, int, int*)':
src/call.cpp:2153:63: error: invalid conversion from 'int*' to 'socklen_t* {aka unsigned int*}' [-fpermissive]
                         (sockaddr *)(void *)&server_sockaddr, &len));

I attach a patch to fix this.

Cheers
Michael.

[1]
https://buildd.debian.org/status/fetch.php?pkg=sip-tester&arch=alpha&ver=1%3A3.5.1-2&stamp=1497567454&raw=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-socklen_t-defn-on-alpha.patch
Type: text/x-diff
Size: 618 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20180622/dc46cada/attachment.patch>


More information about the Pkg-voip-maintainers mailing list