[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#662951: kdenetwork: FTBFS(kfreebsd): /usr/bin/ld: cannot find -lsrtp



reassign 662951 libortp-dev linphone/3.5.2-7
retitle 662951 libortp-dev depends on libsrtp0-dev on less archs than required
tag 662951 + patch
affects 662951 src:kdenetwork
thanks

Alle mercoledì 7 marzo 2012, Christoph Egger ha scritto:
> Your package failed to build on the kfreebsd-* buildds:
> 
> [...]
> Linking CXX executable googletalk-call
> cd kopete/protocols/jabber/googletalk/libjingle/talk/examples/call &&
> /usr/bin/cmake -E cmake_link_script CMakeFiles/call.dir/link.txt
> --verbose=1 /usr/bin/c++   -g -O2 -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -Werror=format-security  -Woverloaded-virtual
> -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type
> -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG   -Wl,-z,relro
> -Wl,--as-needed -Wl,--no-undefined CMakeFiles/call.dir/call_main.o
> CMakeFiles/call.dir/callclient.o CMakeFiles/call.dir/console.o  -o
> googletalk-call  -L../../../../../../../../lib
> ../../../../../../../../lib/libcricketexampleslogin.a
> ../../../../../../../../lib/libcricketsessionphone.a
> ../../../../../../../../lib/libcricketp2pclient.a
> ../../../../../../../../lib/libcricketp2pbase.a
> ../../../../../../../../lib/libcricketxmpp.a
> ../../../../../../../../lib/libcricketxmllite.a
> ../../../../../../../../lib/libcricketbase.a -lexpat -lortp
> -lpthread -lssl -lcrypto -lmediastreamer -lortp -lpthread -lsrtp
> -lssl -lcrypto -lmediastreamer -lortp -lsrtp /usr/bin/ld: cannot
> find -lsrtp
> /usr/bin/ld: cannot find -lsrtp

This happens because in ortp.pc among the required Libs there's also
-lsrtp (as linphone is compiled with srtp), but libortp-dev does not
depend on libsrtp0-dev on kfreebsd-amd64 and kfreebsd-i386.
Actually, it seems that the list of architectures used for the
libsrtp-dev dependency in libortp-dev does not match the architectures
where srtp is used. Therefore, the fix for debian/control should be:

 Depends: ${misc:Depends}, libortp8 (= ${binary:Version}),
- libsrtp0-dev [alpha amd64 armel armhf hppa i386 mips mipsel powerpc s390]
+ libsrtp0-dev [!hurd-any !sparc]
to match the libsrtp-dev build dependency.

Thanks,
-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: