Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rtmpdump.spec'], chrootPath='/var/lib/mock/inferit-10_0-extras-build-86728-158465/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd7eb3a03972149949370ba05687d23e4', '-D', '/var/lib/mock/inferit-10_0-extras-build-86728-158465/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rtmpdump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1734912000 Wrote: /builddir/build/SRPMS/rtmpdump-2.6-1.20240301.git6f6bb13.el10_0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rtmpdump.spec'], chrootPath='/var/lib/mock/inferit-10_0-extras-build-86728-158465/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '05fa60f10b9141e5911c7fe9bc867a65', '-D', '/var/lib/mock/inferit-10_0-extras-build-86728-158465/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rtmpdump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1734912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I9sasM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rtmpdump-6f6bb13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rtmpdump-6f6bb13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rtmpdump-6f6bb13 + rm -rf /builddir/build/BUILD/rtmpdump-6f6bb13-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rtmpdump-6f6bb13-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IY10bN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rtmpdump-6f6bb13 + make SYS=posix CRYPTO=GNUTLS SHARED=yes 'OPT=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' 'LIB_GNUTLS=-lgnutls -lgcrypt -ldl -lz' make[1]: Entering directory '/builddir/build/BUILD/rtmpdump-6f6bb13/librtmp' gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fPIC -c -o rtmp.o rtmp.c In file included from rtmp.c:153: handshake.h: In function ‘InitRC4Encryption’: handshake.h:126:16: warning: variable ‘digestLen’ set but not used [-Wunused-but-set-variable] 126 | unsigned int digestLen = 0; | ^~~~~~~~~ rtmp.c: In function ‘RTMP_TLS_AllocServerContext’: rtmp.c:281:3: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 281 | gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c: In function ‘b64enc’: rtmp.c:2456:23: warning: pointer targets in passing argument 1 of ‘nettle_base64_encode_raw’ differ in signedness [-Wpointer-sign] 2456 | base64_encode_raw((uint8_t*) output, length, input); | ^~~~~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from rtmp.c:58: /usr/include/nettle/base64.h:117:25: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 117 | base64_encode_raw(char *dst, size_t length, const uint8_t *src); | ~~~~~~^~~ rtmp.c: In function ‘PublisherAuth’: rtmp.c:2603:35: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2603 | MD5_Update(&md5ctx, user.av_val, user.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2604:35: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2604 | MD5_Update(&md5ctx, salt.av_val, salt.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2605:48: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2605 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); | ~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2620:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2620 | MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); | ^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2623:39: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2623 | MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); | ~~~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2625:42: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2625 | MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); | ~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2626:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2626 | MD5_Update(&md5ctx, challenge2, B64INT_LEN); | ^~~~~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2769:35: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2769 | MD5_Update(&md5ctx, user.av_val, user.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2770:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2770 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2771:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2771 | MD5_Update(&md5ctx, realm, sizeof(realm)-1); | ^~~~~ | | | const char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2772:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2772 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2773:48: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2773 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); | ~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2788:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2788 | MD5_Update(&md5ctx, method, sizeof(method)-1); | ^~~~~~ | | | const char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2789:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2789 | MD5_Update(&md5ctx, ":/", 2); | ^~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2790:37: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2790 | MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len); | ~~~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2792:33: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2792 | MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1); | ^~~~~~~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2801:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2801 | MD5_Update(&md5ctx, hash1, HEXHASH_LEN); | ^~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2802:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2802 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2803:36: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2803 | MD5_Update(&md5ctx, nonce.av_val, nonce.av_len); | ~~~~~^~~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2804:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2804 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2805:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2805 | MD5_Update(&md5ctx, nchex, sizeof(nchex)-1); | ^~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2806:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2806 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2807:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2807 | MD5_Update(&md5ctx, cnonce, sizeof(cnonce)-1); | ^~~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2808:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2808 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2809:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2809 | MD5_Update(&md5ctx, qop, sizeof(qop)-1); | ^~~ | | | const char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2810:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2810 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2811:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2811 | MD5_Update(&md5ctx, hash2, HEXHASH_LEN); | ^~~~~ | | | char * rtmp.c:2494:60: note: in definition of macro ‘MD5_Update’ 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /usr/include/nettle/md5.h:71:27: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c: At top level: rtmp.c:2908:19: warning: ‘av_NetConnection_Connect_Rejected’ defined but not used [-Wunused-const-variable=] 2908 | static const AVal av_NetConnection_Connect_Rejected = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1560:35: warning: ‘av_record’ defined but not used [-Wunused-const-variable=] 1560 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmp.c:1906:1: note: in expansion of macro ‘SAVC’ 1906 | SAVC(record); | ^~~~ In function ‘DecodeTEA’, inlined from ‘HandleInvoke’ at rtmp.c:2966:5: rtmp.c:4390:5: warning: ‘MEM[(uint32_t *)out_338]’ may be used uninitialized [-Wmaybe-uninitialized] 4390 | y = v[0]; | ~~^~~~~~ gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fPIC -c -o log.o log.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fPIC -c -o amf.o amf.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fPIC -c -o hashswf.o hashswf.c hashswf.c: In function ‘RTMP_HashSWF’: hashswf.c:604:22: warning: pointer targets in passing argument 3 of ‘nettle_hmac_sha256_set_key’ differ in signedness [-Wpointer-sign] 604 | HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * hashswf.c:52:72: note: in definition of macro ‘HMAC_setup’ 52 | #define HMAC_setup(ctx, key, len) hmac_sha256_set_key(&ctx, len, key) | ^~~ In file included from hashswf.c:46: /usr/include/nettle/hmac.h:172:55: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 172 | size_t key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fPIC -c -o parseurl.o parseurl.c ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o ar: creating librtmp.a gcc -shared -Wl,-soname,librtmp.so.1 -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lgnutls -lgcrypt -ldl -lz ln -sf librtmp.so.1 librtmp.so make[1]: Leaving directory '/builddir/build/BUILD/rtmpdump-6f6bb13/librtmp' gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o rtmpdump.o rtmpdump.c gcc -Wall -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lgnutls -lgcrypt -ldl -lz /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_cmp' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_init2' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_set_ui' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_md5_digest' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_hmac_sha256_set_key' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_set' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_sizeinbase' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_arcfour_set_key' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_urandomb' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_md5_init' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_md5_update' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_base64_encode_raw' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmp_randinit_mt' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_sub_ui' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_arcfour_crypt' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_hmac_sha256_digest' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_set_str' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmp_randclear' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_powm' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_cmp_ui' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_mpz_set_str_256_u' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmp_randseed_ui' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `__gmpz_clear' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_mpz_get_str_256' /usr/bin/ld: librtmp/librtmp.so: undefined reference to `nettle_hmac_sha256_update' collect2: error: ld returned 1 exit status make: *** [Makefile:79: rtmpdump] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.IY10bN (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IY10bN (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 05fa60f10b9141e5911c7fe9bc867a65 -D /var/lib/mock/inferit-10_0-extras-build-86728-158465/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rtmpdump.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 05fa60f10b9141e5911c7fe9bc867a65 -D /var/lib/mock/inferit-10_0-extras-build-86728-158465/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hq3jx830:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rtmpdump.spec