<86>Nov 22 01:03:59 userdel[79715]: delete user 'rooter' <86>Nov 22 01:03:59 userdel[79715]: removed group 'rooter' owned by 'rooter' <86>Nov 22 01:03:59 userdel[79715]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 22 01:04:00 groupadd[79879]: group added to /etc/group: name=rooter, GID=636 <86>Nov 22 01:04:00 groupadd[79879]: group added to /etc/gshadow: name=rooter <86>Nov 22 01:04:00 groupadd[79879]: new group: name=rooter, GID=636 <86>Nov 22 01:04:00 useradd[80070]: new user: name=rooter, UID=636, GID=636, home=/root, shell=/bin/bash <86>Nov 22 01:04:00 userdel[80562]: delete user 'builder' <86>Nov 22 01:04:00 userdel[80562]: removed group 'builder' owned by 'builder' <86>Nov 22 01:04:00 userdel[80562]: removed shadow group 'builder' owned by 'builder' <86>Nov 22 01:04:00 groupadd[81093]: group added to /etc/group: name=builder, GID=637 <86>Nov 22 01:04:00 groupadd[81093]: group added to /etc/gshadow: name=builder <86>Nov 22 01:04:00 groupadd[81093]: new group: name=builder, GID=637 <86>Nov 22 01:04:00 useradd[81296]: new user: name=builder, UID=637, GID=637, home=/usr/src, shell=/bin/bash <13>Nov 22 01:04:04 rpmi: libmbedcrypto1-2.8.0-alt5.S1 1532461676 installed <13>Nov 22 01:04:04 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700192 installed <13>Nov 22 01:04:04 rpmi: libmbedcrypto3-2.11.0-alt2.S1 1532460365 installed <13>Nov 22 01:04:04 rpmi: libmbedx509-0-2.11.0-alt2.S1 1532460365 installed <13>Nov 22 01:04:04 rpmi: libmbedtls10-2.8.0-alt5.S1 1532461676 installed <13>Nov 22 01:04:04 rpmi: bcunit-3.0.2-alt1 1500996619 installed <13>Nov 22 01:04:04 rpmi: libbctoolbox-0.6.0-alt2 1520830509 installed <13>Nov 22 01:04:04 rpmi: libbctoolbox-devel-0.6.0-alt2 1520830509 installed <13>Nov 22 01:04:04 rpmi: libsqlite3-devel-3.25.2-alt2 sisyphus.215082.100 1539700192 installed <13>Nov 22 01:04:04 rpmi: libxml2-devel-1:2.9.4.0.12.e905-alt1.1 1525115736 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libzrtp-1.0.6-alt1.nosrc.rpm Installing libzrtp-1.0.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.36429 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libzrtp-1.0.6 + echo 'Source #0 (libzrtp-1.0.6.tar):' Source #0 (libzrtp-1.0.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libzrtp-1.0.6.tar + cd libzrtp-1.0.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libzrtp-1.0.6-alt1.patch):' Patch #0 (libzrtp-1.0.6-alt1.patch): + /usr/bin/patch -p1 patching file .gear/rules patching file .gear/tags/395fcdaf92ee178b1873a18dddbda30b7ed05a89 patching file .gear/tags/list patching file libzrtp.spec + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.36429 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libzrtp-1.0.6 + ./autogen.sh Generating build scripts for BZRtp: ZRTP engine + libtoolize --copy --force libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize-default: copying file `build-aux/ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize-default: copying file `m4/libtool.m4' libtoolize-default: copying file `m4/ltoptions.m4' libtoolize-default: copying file `m4/ltsugar.m4' libtoolize-default: copying file `m4/ltversion.m4' libtoolize-default: copying file `m4/lt~obsolete.m4' + aclocal + automake --force-missing --add-missing --copy configure.ac:12: installing 'build-aux/compile' configure.ac:13: installing 'build-aux/config.guess' configure.ac:13: installing 'build-aux/config.sub' configure.ac:11: installing 'build-aux/install-sh' configure.ac:11: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' + autoconf + cd /usr/src/RPM/BUILD/libzrtp-1.0.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static --enable-shared configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '637' is supported by ustar format... yes checking whether GID '637' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for x86_64-alt-linux-xcrun... no checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether make supports nested variables... (cached) yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for bctoolbox-tester... yes checking for bctoolbox ... yes checking for sqlite3 >= 3.6.0... yes checking for libxml-2.0 ... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/bzrtp/Makefile config.status: creating test/Makefile config.status: creating libbzrtp.pc config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 Making all in src make[1]: Entering directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' CC pgpwords.lo make[1]: Leaving directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' CC cryptoUtils.lo make[1]: Leaving directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' CC bzrtp.lo bzrtp.c: In function 'bzrtp_exportKey': 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] bzrtp_keyDerivationFunction(zrtpChannelContext->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); ^ 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] bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->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); ^ 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] bzrtp_keyDerivationFunction(zrtpContext->exportedKey, 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); ^ cc1: all warnings being treated as errors make[1]: *** [Makefile:434: bzrtp.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' CC stateMachine.lo stateMachine.c: In function 'bzrtp_computeS0DHMMode': 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, ^ stateMachine.c: In function 'bzrtp_computeS0MultiStreamMode': 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, ^ stateMachine.c: In function 'bzrtp_deriveKeysFromS0': 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] retval = bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->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); ^ 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] retval += bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->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); ^ 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] retval += bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->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); ^ 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] retval += bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->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); ^ stateMachine.c: In function 'bzrtp_deriveSrtpKeysFromS0': 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] retval = bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->hashLength, (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); ^ 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] retval += bzrtp_keyDerivationFunction(zrtpChannelContext->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); ^ 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] retval += bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->hashLength, (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); ^ 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] retval += bzrtp_keyDerivationFunction(zrtpChannelContext->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); ^ 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, ^ stateMachine.c: In function 'bzrtp_updateCachedSecrets': 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] bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->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); ^ cc1: all warnings being treated as errors make[1]: *** [Makefile:434: stateMachine.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' CC packetParser.lo make[1]: Leaving directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' CC zidCache.lo make[1]: Leaving directory '/usr/src/RPM/BUILD/libzrtp-1.0.6/src' make: *** [Makefile:449: all-recursive] Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.36429 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.36429 (%build) Command exited with non-zero status 1 5.88user 0.79system 0:11.84elapsed 56%CPU (0avgtext+0avgdata 39052maxresident)k 0inputs+0outputs (0major+515717minor)pagefaults 0swaps hsh-rebuild: rebuild of `libzrtp-1.0.6-alt1.src.rpm' failed. Command exited with non-zero status 1 14.04user 2.56system 0:27.49elapsed 60%CPU (0avgtext+0avgdata 122928maxresident)k 1080inputs+0outputs (0major+850338minor)pagefaults 0swaps