Package Details: libzrtpcpp 4.6.3-1

Git Clone URL: https://aur.archlinux.org/libzrtpcpp.git (read-only)
Package Base: libzrtpcpp
Description: A C++ implementation of Phil Zimmermann's ZRTP specification
Upstream URL: https://github.com/wernerd/ZRTPCPP
Licenses: GPL3
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 1
Popularity: 0.109416
First Submitted: 2017-02-10 05:45
Last Updated: 2017-02-10 05:45

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

jose1711 commented on 2017-09-15 19:58

try to rebuild ccrtp and retry

dvzrv commented on 2017-09-15 13:19

@jose1711: hmm, this wants to link against libcommoncpp.so.7, but the latest ucommon version (7.0.0) only provides libcommoncpp.so.8.
I'm confused.

Sarithis commented on 2017-06-29 11:19

CMake Warning at CMakeLists.txt:68 (MESSAGE):
No client defined, building for GNU ccRTP.


fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Configuring GNU libzrtpcpp 4.6.3 for libzrtpcpp, commit: ...
-- Using internal (standalone) crypto functions
-- Using file based ZRTP cache
-- Checking for module 'libccrtp>=2.0.0'
-- Found libccrtp, version 2.1.2
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/packerbuild-1000/libzrtpcpp/libzrtpcpp/src/build
[ 1%] Building CXX object clients/ccrtp/CMakeFiles/zrtpcpp.dir/ZrtpQueue.cpp.o
In file included from /usr/include/ucommon/ucommon.h:91:0,
from /usr/include/commoncpp/config.h:42,
from /usr/include/commoncpp/pointer.h:51,
from /usr/include/ccrtp/queuebase.h:46,
from /usr/include/ccrtp/iqueue.h:46,
from /usr/include/ccrtp/ioqueue.h:46,
from /usr/include/ccrtp/cqueue.h:46,
from /tmp/packerbuild-1000/libzrtpcpp/libzrtpcpp/src/ZRTPCPP-4.6.3/clients/ccrtp/ZrtpQueue.h:21,
from /tmp/packerbuild-1000/libzrtpcpp/libzrtpcpp/src/ZRTPCPP-4.6.3/clients/ccrtp/ZrtpQueue.cpp:25:
/usr/include/ucommon/object.h: In member function ‘const T* ucommon::sarray<T>::at(unsigned int) const’:
/usr/include/ucommon/object.h:305:60: error: no matching function for call to ‘ucommon::sarray<T>::get(unsigned int&) const’
return immutable_cast<T*>(SparseObjects::get(offset));
^
/usr/include/ucommon/object.h:243:21: note: candidate: ucommon::ObjectProtocol* ucommon::SparseObjects::get(unsigned int) <near match>
ObjectProtocol *get(unsigned offset);
^~~
/usr/include/ucommon/object.h:243:21: note: passing ‘const ucommon::sarray<T>*’ as ‘this’ argument discards qualifiers
In file included from /usr/include/ucommon/thread.h:70:0,
from /usr/include/ucommon/vector.h:32,
from /usr/include/ucommon/ucommon.h:96,
from /usr/include/commoncpp/config.h:42,
from /usr/include/commoncpp/pointer.h:51,
from /usr/include/ccrtp/queuebase.h:46,
from /usr/include/ccrtp/iqueue.h:46,
from /usr/include/ccrtp/ioqueue.h:46,
from /usr/include/ccrtp/cqueue.h:46,
from /tmp/packerbuild-1000/libzrtpcpp/libzrtpcpp/src/ZRTPCPP-4.6.3/clients/ccrtp/ZrtpQueue.h:21,
from /tmp/packerbuild-1000/libzrtpcpp/libzrtpcpp/src/ZRTPCPP-4.6.3/clients/ccrtp/ZrtpQueue.cpp:25:
/usr/include/ucommon/memory.h: In member function ‘unsigned int ucommon::mapof<T, I, M, P>::utilization() const’:
/usr/include/ucommon/memory.h:1232:39: error: no matching function for call to ‘ucommon::mapof<T, I, M, P>::utilization() const’
{return mempager::utilization();}
^
/usr/include/ucommon/memory.h:235:14: note: candidate: unsigned int ucommon::mempager::utilization() <near match>
unsigned utilization(void);
^~~~~~~~~~~
/usr/include/ucommon/memory.h:235:14: note: passing ‘const ucommon::mapof<T, I, M, P>*’ as ‘this’ argument discards qualifiers
/usr/include/ucommon/memory.h: In member function ‘unsigned int ucommon::assoc_pointer<T, I, M, P>::utilization() const’:
/usr/include/ucommon/memory.h:1326:39: error: no matching function for call to ‘ucommon::assoc_pointer<T, I, M, P>::utilization() const’
{return mempager::utilization();}
^
/usr/include/ucommon/memory.h:235:14: note: candidate: unsigned int ucommon::mempager::utilization() <near match>
unsigned utilization(void);
^~~~~~~~~~~
/usr/include/ucommon/memory.h:235:14: note: passing ‘const ucommon::assoc_pointer<T, I, M, P>*’ as ‘this’ argument discards qualifiers
/usr/include/ucommon/memory.h: In member function ‘T* ucommon::keypager<T, M>::get(const char*) const’:
/usr/include/ucommon/memory.h:1402:70: error: no matching function for call to ‘ucommon::keypager<T, M>::_alloc(long unsigned int) const’
node = init<T>(static_cast<T*>(mempager::_alloc(sizeof(T))));
^
/usr/include/ucommon/memory.h:260:19: note: candidate: virtual void* ucommon::mempager::_alloc(size_t) <near match>
virtual void *_alloc(size_t size);
^~~~~~
/usr/include/ucommon/memory.h:260:19: note: passing ‘const ucommon::keypager<T, M>*’ as ‘this’ argument discards qualifiers
make[2]: *** [clients/ccrtp/CMakeFiles/zrtpcpp.dir/build.make:759: clients/ccrtp/CMakeFiles/zrtpcpp.dir/ZrtpQueue.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:154: clients/ccrtp/CMakeFiles/zrtpcpp.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

hakayova commented on 2017-02-20 06:30

Thank you kantras, that solved the problem.

kantras commented on 2017-02-17 04:18

I just had a similar issue trying to build until I recompiled and reinstalled ccrtp

hakayova commented on 2017-02-17 01:21

Yes, it happens when building 4.6.3. Configuration is completed, then building starts and reaches to 97%, it reads Linking CXX executable zrtptest, then a bunch of jibberish appears, followed by the error messages I posted in my first post.

I hope this was useful enough. I can post the whole output if it would be helpful and appropriate.

jose1711 commented on 2017-02-16 07:18

this happens when building 4.6.3? on my pc it builts without error. in which phase does it fail?

hakayova commented on 2017-02-16 00:18

Package installation fails with the following error:
collect2: error: ld returned 1 exit status
make[2]: *** [demo/CMakeFiles/zrtptest.dir/build.make:96: demo/zrtptest] Error 1
make[1]: *** [CMakeFiles/Makefile2:275: demo/CMakeFiles/zrtptest.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build libzrtpcpp.

Any pointer will be appreciated.