Пост #124723 |
сохранен 23.07.2019 18:52
- Редактировать пост
- Печать
- Скачать
- Посты-ответы на этот пост: # 274446
- Посмотреть дерево постов
-
Сравнить с постом
#
Текст поста
* Package: media-libs/bzrtp-1.0.6 * Repository: rion * Maintainer: rion4ik@gmail.com * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox usersandbox >>> Unpacking source... >>> Unpacking bzrtp-1.0.6.tar.gz to /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work >>> Source unpacked in /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work >>> Preparing source in /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 ... >>> Source prepared. >>> Configuring source in /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 ... >>> Working in BUILD_DIR: "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build" cmake -C /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/gentoo_toolchain.cmake /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 loading initial cache file /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/gentoo_common_config.cmake -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting install rpath to -- Looking for sqrt in m -- Looking for sqrt in m - found -- Found Sqlite3: /usr/include -- Found XML2: /usr/include/libxml2 -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -march=x86-64 -pipe C++ -O2 -march=x86-64 -pipe Linker flags: Executable -Wl,--as-needed Module -Wl,--as-needed Shared -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build >>> Source configured. >>> Compiling source in /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 ... >>> Working in BUILD_DIR: "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build" make -j5 VERBOSE=1 /usr/bin/cmake -S/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 -B/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/CMakeFiles /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make -f src/CMakeFiles/bzrtp.dir/build.make src/CMakeFiles/bzrtp.dir/depend make -f src/CMakeFiles/bzrtp-static.dir/build.make src/CMakeFiles/bzrtp-static.dir/depend make[2]: Entering directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp.dir/DependInfo.cmake make[2]: Entering directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6 /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp-static.dir/DependInfo.cmake Dependee "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp-static.dir/DependInfo.cmake" is newer than depender "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp-static.dir/depend.internal". Dependee "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp-static.dir/depend.internal". Scanning dependencies of target bzrtp-static Dependee "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp.dir/DependInfo.cmake" is newer than depender "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp.dir/depend.internal". Dependee "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src/CMakeFiles/bzrtp.dir/depend.internal". Scanning dependencies of target bzrtp make[2]: Leaving directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make[2]: Leaving directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make -f src/CMakeFiles/bzrtp-static.dir/build.make src/CMakeFiles/bzrtp-static.dir/build make -f src/CMakeFiles/bzrtp.dir/build.make src/CMakeFiles/bzrtp.dir/build make[2]: Entering directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make[2]: Entering directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' [ 14%] Building C object src/CMakeFiles/bzrtp-static.dir/bzrtp.c.o [ 14%] Building C object src/CMakeFiles/bzrtp-static.dir/cryptoUtils.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp-static.dir/bzrtp.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c [ 21%] Building C object src/CMakeFiles/bzrtp.dir/bzrtp.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp-static.dir/cryptoUtils.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/cryptoUtils.c cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_EXPORTS -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -Dbzrtp_EXPORTS -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -fPIC -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp.dir/bzrtp.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c [ 28%] Building C object src/CMakeFiles/bzrtp.dir/cryptoUtils.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_EXPORTS -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -Dbzrtp_EXPORTS -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -fPIC -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp.dir/cryptoUtils.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/cryptoUtils.c [ 35%] Building C object src/CMakeFiles/bzrtp-static.dir/packetParser.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp-static.dir/packetParser.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/packetParser.c [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:[m[K In function ‘[Kbzrtp_exportKey[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:575:207:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] t->s0, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, derivedKey); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:586:221:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] annelContext->hashLength, (uint8_t *)"Exported key", 12, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpContext->exportedKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpContext->exportedKey); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:594:209:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] edKey, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, derivedKey); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:[m[K In function ‘[Kbzrtp_exportKey[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:575:207:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] t->s0, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, derivedKey); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:586:221:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] annelContext->hashLength, (uint8_t *)"Exported key", 12, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpContext->exportedKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpContext->exportedKey); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:594:209:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] edKey, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, derivedKey); [K^[m[K [ 42%] Building C object src/CMakeFiles/bzrtp-static.dir/pgpwords.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp-static.dir/pgpwords.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/pgpwords.c [ 50%] Building C object src/CMakeFiles/bzrtp.dir/packetParser.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_EXPORTS -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -Dbzrtp_EXPORTS -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -fPIC -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp.dir/packetParser.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/packetParser.c [ 57%] Building C object src/CMakeFiles/bzrtp-static.dir/stateMachine.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp-static.dir/stateMachine.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c cc1: all warnings being treated as errors [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:[m[K In function ‘[Kbzrtp_computeS0DHMMode[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:1948:3:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:[m[K In function ‘[Kbzrtp_computeS0MultiStreamMode[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2025:3:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:[m[K In function ‘[Kbzrtp_deriveKeysFromS0[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2057:234:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] ontext->hashLength, (uint8_t *)"Initiator HMAC key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->hashLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->mackeyi); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2059:235:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] ontext->hashLength, (uint8_t *)"Responder HMAC key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->hashLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->mackeyr); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2061:240:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] t->hashLength, (uint8_t *)"Initiator ZRTP key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->zrtpkeyi); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2063:240:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] t->hashLength, (uint8_t *)"Responder ZRTP key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->zrtpkeyr); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:[m[K In function ‘[Kbzrtp_deriveSrtpKeysFromS0[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2088:246:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] Length, (uint8_t *)"Initiator SRTP master key", 25, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, srtpkeyi); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2090:215:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] xt->s0, zrtpChannelContext->hashLength, (uint8_t *)"Initiator SRTP master salt", 26, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, 14, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, srtpsalti); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2093:247:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] Length, (uint8_t *)"Responder SRTP master key", 25, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, srtpkeyr); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2095:215:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] xt->s0, zrtpChannelContext->hashLength, (uint8_t *)"Responder SRTP master salt", 26, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, 14, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, srtpsaltr); [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2144:5:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, [K^[m[K [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:[m[K In function ‘[Kbzrtp_updateCachedSecrets[m[K’: [K/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2205:214:[m[K [Kerror: [m[Kcast between incompatible function types from ‘[Kvoid (*)(const uint8_t *, size_t, const uint8_t *, size_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(const unsigned char *, long unsigned int, const unsigned char *, long unsigned int, unsigned char, unsigned char *)[m[K’} to ‘[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *)[m[K’ {aka ‘[Kvoid (*)(unsigned char *, unsigned char, unsigned char *, unsigned int, unsigned char, unsigned char *)[m[K’} [[K-Werror=cast-function-type[m[K] rtpChannelContext->hashLength, (uint8_t *)"retained secret", 15, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, RETAINED_SECRET_LENGTH, [K([m[Kvoid (*)(uint8_t *, uint8_t, uint8_t *, uint32_t, uint8_t, uint8_t *))zrtpChannelContext->hmacFunction, zrtpContext->cachedSecret.rs1); [K^[m[K make[2]: *** [src/CMakeFiles/bzrtp.dir/build.make:63: src/CMakeFiles/bzrtp.dir/bzrtp.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 64%] Building C object src/CMakeFiles/bzrtp-static.dir/zidCache.c.o cd /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DHAVE_LIBXML2 -DZIDCACHE_ENABLED -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/include -I/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build -I/usr/include/libxml2 -DNDEBUG -O2 -march=x86-64 -pipe -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/bzrtp-static.dir/zidCache.c.o -c /var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/zidCache.c cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/bzrtp-static.dir/build.make:63: src/CMakeFiles/bzrtp-static.dir/bzrtp.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[2]: *** [src/CMakeFiles/bzrtp-static.dir/build.make:115: src/CMakeFiles/bzrtp-static.dir/stateMachine.c.o] Error 1 make[2]: Leaving directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make[1]: *** [CMakeFiles/Makefile2:148: src/CMakeFiles/bzrtp-static.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make[1]: *** [CMakeFiles/Makefile2:111: src/CMakeFiles/bzrtp.dir/all] Error 2 make[1]: Leaving directory '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' make: *** [Makefile:152: all] Error 2 * ERROR: media-libs/bzrtp-1.0.6::rion failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/bzrtp-1.0.6::rion'`, * the complete build log and the output of `emerge -pqv '=media-libs/bzrtp-1.0.6::rion'`. * The complete build log is located at '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/temp/build.log'. * The ebuild environment file is located at '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/temp/environment'. * Working directory: '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6_build' * S: '/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6'