New upstream version of linphone

Bernhard Schmidt berni at debian.org
Fri Feb 16 15:15:53 UTC 2018


Hi,

>> Since other packages are involved that need at least a binary rebuild we
>> probably have to schedule a transition with the release team.
>>
>> I'll try a kopete and osmo rebuild asap.
> 
> Great!

Bad news, both are bad :-(

libosmo-abis:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I..
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/ -I/usr/include/
-I/usr/include/ -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/libosmo-abis-0.3.2+20151106git86fc3c8=.
-fstack-protector-strong -Wformat -Werror=format-security -c
trau/osmo_ortp.c  -fPIC -DPIC -o trau/.libs/libosmotrau_la-osmo_ortp.o
trau/osmo_ortp.c: In function 'osmo_rtcp_fd_cb':
trau/osmo_ortp.c:208:9: warning: implicit declaration of function
'rtp_session_rtcp_recv'; did you mean 'rtp_session_recvfrom'?
[-Wimplicit-function-declaration]
  return rtp_session_rtcp_recv(rs->sess);
         ^~~~~~~~~~~~~~~~~~~~~
         rtp_session_recvfrom
trau/osmo_ortp.c: In function 'osmo_rtp_init':
trau/osmo_ortp.c:270:26: warning: passing argument 1 of
'ortp_set_log_level_mask' makes pointer from integer without a cast
[-Wint-conversion]
  ortp_set_log_level_mask(0xffff);
                          ^~~~~~
In file included from /usr/include/ortp/ortp.h:66:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/logging.h:74:18: note: expected 'const char *' but
argument is of type 'int'
 ORTP_PUBLIC void ortp_set_log_level_mask(const char *domain, int
levelmask);
                  ^~~~~~~~~~~~~~~~~~~~~~~
trau/osmo_ortp.c:270:2: error: too few arguments to function
'ortp_set_log_level_mask'
  ortp_set_log_level_mask(0xffff);
  ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ortp/ortp.h:66:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/logging.h:74:18: note: declared here
 ORTP_PUBLIC void ortp_set_log_level_mask(const char *domain, int
levelmask);
                  ^~~~~~~~~~~~~~~~~~~~~~~
trau/osmo_ortp.c:271:23: warning: passing argument 1 of
'ortp_set_log_handler' from incompatible pointer type
[-Wincompatible-pointer-types]
  ortp_set_log_handler(my_ortp_logfn);
                       ^~~~~~~~~~~~~
In file included from /usr/include/ortp/ortp.h:66:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/logging.h:54:18: note: expected 'OrtpLogFunc {aka void
(*)(const char *, enum <anonymous>,  const char *, __va_list_tag *)}'
but argument is of type 'void (*)(OrtpLogLevel,  const char *,
__va_list_tag *) {aka void (*)(enum <anonymous>,  const char *,
__va_list_tag *)}'
 ORTP_PUBLIC void ortp_set_log_handler(OrtpLogFunc func);
                  ^~~~~~~~~~~~~~~~~~~~
trau/osmo_ortp.c: In function 'osmo_rtp_socket_create':
trau/osmo_ortp.c:329:8: warning: passing argument 4 of
'rtp_session_signal_connect' makes pointer from integer without a cast
[-Wint-conversion]
        (unsigned long) rs);
        ^
In file included from /usr/include/ortp/ortp.h:67:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/rtpsession.h:484:17: note: expected 'void *' but
argument is of type 'long unsigned int'
 ORTP_PUBLIC int rtp_session_signal_connect(RtpSession *session,const
char *signal_name, RtpCallback cb, void *user_data);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
trau/osmo_ortp.c:332:8: warning: passing argument 4 of
'rtp_session_signal_connect' makes pointer from integer without a cast
[-Wint-conversion]
        (unsigned long) rs);
        ^
In file included from /usr/include/ortp/ortp.h:67:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/rtpsession.h:484:17: note: expected 'void *' but
argument is of type 'long unsigned int'
 ORTP_PUBLIC int rtp_session_signal_connect(RtpSession *session,const
char *signal_name, RtpCallback cb, void *user_data);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
trau/osmo_ortp.c:335:8: warning: passing argument 4 of
'rtp_session_signal_connect' makes pointer from integer without a cast
[-Wint-conversion]
        (unsigned long) rs);
        ^
In file included from /usr/include/ortp/ortp.h:67:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/rtpsession.h:484:17: note: expected 'void *' but
argument is of type 'long unsigned int'
 ORTP_PUBLIC int rtp_session_signal_connect(RtpSession *session,const
char *signal_name, RtpCallback cb, void *user_data);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
trau/osmo_ortp.c:338:8: warning: passing argument 4 of
'rtp_session_signal_connect' makes pointer from integer without a cast
[-Wint-conversion]
        (unsigned long) rs);
        ^
In file included from /usr/include/ortp/ortp.h:67:0,
                 from trau/osmo_ortp.c:35:
/usr/include/ortp/rtpsession.h:484:17: note: expected 'void *' but
argument is of type 'long unsigned int'
 ORTP_PUBLIC int rtp_session_signal_connect(RtpSession *session,const
char *signal_name, RtpCallback cb, void *user_data);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:533: trau/libosmotrau_la-osmo_ortp.lo] Error 1

At a first glance this should be fixed with
http://git.osmocom.org/libosmo-abis/commit/?id=c42bf19cc5ebb7b675fc14b57a8e3946cbeb5e60




Kopete is worse. There is an upstream bug that it fails to compile
against mediastreamer >= 2.14

https://bugs.kde.org/show_bug.cgi?id=368340

There is a patch linked to the bug, but it has been rejected by upstream.

/<<PKGBUILDDIR>>/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc:347:77:
error: cannot convert 'const char*' to 'MSFactory* {aka _MSFactory*}'
for argument '1' to 'RingStream* ring_start(MSFactory*, const char*,
int, MSSndCard*)'
         ring_stream_ = ring_start (engine_->GetRingWav().c_str(), 1,
sndcard);

    ^
/<<PKGBUILDDIR>>/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc:355:77:
error: cannot convert 'const char*' to 'MSFactory* {aka _MSFactory*}'
for argument '1' to 'RingStream* ring_start(MSFactory*, const char*,
int, MSSndCard*)'
         ring_stream_ = ring_start (engine_->GetCallWav().c_str(), 1,
sndcard);

    ^
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  4%] Built target chatwindowaccessiblewidgetfactory
make -f protocols/jabber/libiris/CMakeFiles/iris_kopete.dir/build.make
protocols/jabber/libiris/CMakeFiles/iris_kopete.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>>
/<<PKGBUILDDIR>>/protocols/jabber/libiris
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/protocols/jabber/libiris
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/protocols/jabber/libiris/CMakeFiles/iris_kopete.dir/DependInfo.cmake
--color=
make[4]: ***
[protocols/jabber/libjingle/CMakeFiles/call.dir/build.make:546:
protocols/jabber/libjingle/CMakeFiles/call.dir/talk/session/phone/linphonemediaengine.cc.o]
Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:3920:
protocols/jabber/libjingle/CMakeFiles/call.dir/all] Error 2

Bernhard




More information about the Pkg-voip-maintainers mailing list