Paste #124723

   
pasted on 23.07.2019 18:52
  • Edit to this paste
  • Print
  • Raw
  • The following pastes replied to this paste:  # 274446
  • Show paste tree
  • Compare with paste
    #  
  • Toggle line numbers
  • Syntax highlighting  
Text paste
 * 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
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c: In function ‘bzrtp_exportKey’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:575:207: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 t->s0, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, derivedKey);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:586:221: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 annelContext->hashLength, (uint8_t *)"Exported key", 12, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpContext->exportedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpContext->exportedKey);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:594:209: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 edKey, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, derivedKey);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c: In function ‘bzrtp_exportKey’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:575:207: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 t->s0, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, derivedKey);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:586:221: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 annelContext->hashLength, (uint8_t *)"Exported key", 12, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpContext->exportedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpContext->exportedKey);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:594:209: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 edKey, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, derivedKey);
                                                                                                                                                                ^

[ 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
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c: In function ‘bzrtp_computeS0DHMMode’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:1948:3: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
   (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction,
   ^
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c: In function ‘bzrtp_computeS0MultiStreamMode’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2025:3: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
   (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction,
   ^
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c: In function ‘bzrtp_deriveKeysFromS0’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2057:234: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 ontext->hashLength, (uint8_t *)"Initiator HMAC key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->hashLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->mackeyi);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2059:235: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 ontext->hashLength, (uint8_t *)"Responder HMAC key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->hashLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->mackeyr);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2061:240: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 t->hashLength, (uint8_t *)"Initiator ZRTP key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->zrtpkeyi);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2063:240: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 t->hashLength, (uint8_t *)"Responder ZRTP key", 18, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpChannelContext->zrtpkeyr);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c: In function ‘bzrtp_deriveSrtpKeysFromS0’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2088:246: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 Length, (uint8_t *)"Initiator SRTP master key", 25, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, srtpkeyi);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2090:215: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 xt->s0, zrtpChannelContext->hashLength, (uint8_t *)"Initiator SRTP master salt", 26, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, 14, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, srtpsalti);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2093:247: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 Length, (uint8_t *)"Responder SRTP master key", 25, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, zrtpChannelContext->cipherKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, srtpkeyr);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2095:215: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 xt->s0, zrtpChannelContext->hashLength, (uint8_t *)"Responder SRTP master salt", 26, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, 14, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, srtpsaltr);
                                                                                                                                                                ^

/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2144:5: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
     (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction,
     ^
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c: In function ‘bzrtp_updateCachedSecrets’:
/var/calculate/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/stateMachine.c:2205:214: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
 rtpChannelContext->hashLength, (uint8_t *)"retained secret", 15, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, RETAINED_SECRET_LENGTH, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, zrtpContext->cachedSecret.rs1);
                                                                                                                                                                ^

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'
Add Comment
Author