Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rtmpdump.spec'], chrootPath='/var/lib/mock/inferit-10_0-extras-build-86614-158247/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mfe116vs:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.mfe116vs:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '80fce5c7c93348a2abd28dcad0371ac7', '-D', '/var/lib/mock/inferit-10_0-extras-build-86614-158247/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mfe116vs:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1734912000 Wrote: /builddir/build/SRPMS/rtmpdump-2.4-24.20210219.gitf1b83c1.el10_0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rtmpdump.spec'], chrootPath='/var/lib/mock/inferit-10_0-extras-build-86614-158247/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mfe116vs:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.mfe116vs:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'bfa0545c408b4452a5a2452070dac36e', '-D', '/var/lib/mock/inferit-10_0-extras-build-86614-158247/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mfe116vs:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1734912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dHyJLf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rtmpdump-f1b83c1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rtmpdump-f1b83c1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rtmpdump-f1b83c1 + rm -rf /builddir/build/BUILD/rtmpdump-f1b83c1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rtmpdump-f1b83c1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gcc14_buildfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3KoqX7 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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-f1b83c1 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' 'LIB_GNUTLS=-lgnutls -lgcrypt -ldl -lz' make[1]: Entering directory '/builddir/build/BUILD/rtmpdump-f1b83c1/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -o rtmp.o rtmp.c In file included from rtmp.c:152: handshake.h: In function ‘InitRC4Encryption’: handshake.h:119:16: warning: variable ‘digestLen’ set but not used [-Wunused-but-set-variable] 119 | unsigned int digestLen = 0; | ^~~~~~~~~ rtmp.c: In function ‘RTMP_TLS_AllocServerContext’: rtmp.c:280:3: warning: ‘gnutls_certificate_credentials’ is deprecated [-Wdeprecated-declarations] 280 | gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c: In function ‘b64enc’: rtmp.c:2455:23: warning: pointer targets in passing argument 1 of ‘nettle_base64_encode_raw’ differ in signedness [-Wpointer-sign] 2455 | base64_encode_raw((uint8_t*) output, length, input); | ^~~~~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from rtmp.c:57: /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:2602:35: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2602 | MD5_Update(&md5ctx, user.av_val, user.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:58: /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:2603:35: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2603 | MD5_Update(&md5ctx, salt.av_val, salt.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2604:48: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2604 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); | ~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2619:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2619 | MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); | ^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2622:39: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2622 | MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); | ~~~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2624:42: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2624 | MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); | ~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2625 | MD5_Update(&md5ctx, challenge2, B64INT_LEN); | ^~~~~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2768:35: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2768 | MD5_Update(&md5ctx, user.av_val, user.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2769 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, realm, sizeof(realm)-1); | ^~~~~ | | | const char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2771:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2771 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2772:48: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2772 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); | ~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2787:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2787 | MD5_Update(&md5ctx, method, sizeof(method)-1); | ^~~~~~ | | | const char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2788:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2788 | MD5_Update(&md5ctx, ":/", 2); | ^~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2789:37: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2789 | MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len); | ~~~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2791:33: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2791 | MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1); | ^~~~~~~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2800:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2800 | MD5_Update(&md5ctx, hash1, HEXHASH_LEN); | ^~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:36: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2802 | MD5_Update(&md5ctx, nonce.av_val, nonce.av_len); | ~~~~~^~~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2803 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, nchex, sizeof(nchex)-1); | ^~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, cnonce, sizeof(cnonce)-1); | ^~~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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, qop, sizeof(qop)-1); | ^~~ | | | const char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2809:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2809 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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:2810:31: warning: pointer targets in passing argument 3 of ‘nettle_md5_update’ differ in signedness [-Wpointer-sign] 2810 | MD5_Update(&md5ctx, hash2, HEXHASH_LEN); | ^~~~~ | | | char * rtmp.c:2493:60: note: in definition of macro ‘MD5_Update’ 2493 | #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: In function ‘RTMP_ReadPacket’: rtmp.c:3555:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable] 3555 | int didAlloc = FALSE; | ^~~~~~~~ rtmp.c: At top level: rtmp.c:2907:19: warning: ‘av_NetConnection_Connect_Rejected’ defined but not used [-Wunused-const-variable=] 2907 | static const AVal av_NetConnection_Connect_Rejected = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1559:35: warning: ‘av_record’ defined but not used [-Wunused-const-variable=] 1559 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmp.c:1905:1: note: in expansion of macro ‘SAVC’ 1905 | SAVC(record); | ^~~~ In function ‘DecodeTEA’, inlined from ‘HandleInvoke’ at rtmp.c:2965:5: rtmp.c:4388:5: warning: ‘MEM[(uint32_t *)out_338]’ may be used uninitialized [-Wmaybe-uninitialized] 4388 | 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -o hashswf.o hashswf.c hashswf.c: In function ‘RTMP_HashSWF’: hashswf.c:596:22: warning: pointer targets in passing argument 3 of ‘nettle_hmac_sha256_set_key’ differ in signedness [-Wpointer-sign] 596 | 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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-f1b83c1/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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.3KoqX7 (%build) Bad exit status from /var/tmp/rpm-tmp.3KoqX7 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M bfa0545c408b4452a5a2452070dac36e -D /var/lib/mock/inferit-10_0-extras-build-86614-158247/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.mfe116vs:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 aarch64 --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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M bfa0545c408b4452a5a2452070dac36e -D /var/lib/mock/inferit-10_0-extras-build-86614-158247/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.mfe116vs:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 aarch64 --nodeps /builddir/build/SPECS/rtmpdump.spec'