Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/purple-lurch.spec'], chrootPath='/var/lib/mock/centos-stream+epel-next-9-ppc64le-1687828950.766481/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5kpq1j3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5kpq1j3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'e121cf24fcbd42f29c1e02451ab3ca74', '-D', '/var/lib/mock/centos-stream+epel-next-9-ppc64le-1687828950.766481/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5kpq1j3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target ppc64le --nodeps /builddir/build/SPECS/purple-lurch.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1646956800 Wrote: /builddir/build/SRPMS/purple-lurch-0.7.0-0.vdb.1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/purple-lurch.spec'], chrootPath='/var/lib/mock/centos-stream+epel-next-9-ppc64le-1687828950.766481/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5kpq1j3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5kpq1j3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '46c97e74eb5e4439be1bd1209ac878a8', '-D', '/var/lib/mock/centos-stream+epel-next-9-ppc64le-1687828950.766481/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5kpq1j3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target ppc64le --nodeps /builddir/build/SPECS/purple-lurch.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1646956800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OhdPJA + umask 022 + cd /builddir/build/BUILD + : ---------- PREP ---------- : + set -e + '[' -z '5.1.8(1)-release' ']' + set -o pipefail + cd /builddir/build/BUILD + rm -rf lurch-0.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/lurch-0.7.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lurch-0.7.0 + /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.ByZT97 + umask 022 + cd /builddir/build/BUILD + cd lurch-0.7.0 + : ---------- BUILD ---------- : + set -e + '[' -z '5.1.8(1)-release' ']' + set -o pipefail + /usr/bin/make -O -j5 V=1 VERBOSE=1 mkdir -p build cc -fPIC -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_api.c -o build/lurch_api.o cc -fPIC -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch.c -o build/lurch.o cc -fPIC -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_cmd_ui.c -o build/lurch_cmd_ui.o cc -fPIC -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_util.c -o build/lurch_util.o cc -fPIC -shared -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS \ build/lurch.o build/lurch_api.o build/lurch_cmd_ui.o build/lurch_util.o \ -o build/lurch.so -ldl -lm -lsqlite3 -lmxml -lglib-2.0 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -L/usr/lib64/purple-2 -lxml2 -lz -llzma -lm -lgcrypt -lgpg-error -lomemo -lglib-2.0 -L/usr/lib/ -laxc -lsignal-protocol-c -I/usr/include/signal -lxmpp -Wl,-rpath,/usr/lib64/purple-2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UFJYAo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le + cd lurch-0.7.0 + : ---------- INSTALL ---------- : + set -e + '[' -z '5.1.8(1)-release' ']' + set -o pipefail + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le 'INSTALL=/usr/bin/install -p' [ -e "/builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le//usr/lib64/purple-2" ] || \ /usr/bin/install -p -d -m 755 "/builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le//usr/lib64/purple-2" /usr/bin/install -p -m 755 "./build/lurch.so" "/builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le//usr/lib64/purple-2/lurch.so" + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qNmxEk + umask 022 + cd /builddir/build/BUILD + cd lurch-0.7.0 + : ---------- CHECK ---------- : + set -e + '[' -z '5.1.8(1)-release' ']' + set -o pipefail + CFLAGS=' -fno-lto' + /usr/bin/make -O -j5 V=1 VERBOSE=1 test cc -O0 --coverage -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_api.c -o build/lurch_api_w_coverage.o cc -O0 --coverage -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch.c -o build/lurch_w_coverage.o cc -O0 --coverage -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_util.c -o build/lurch_util_w_coverage.o cc -O0 --coverage -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_cmd_ui.c -o build/lurch_cmd_ui_w_coverage.o cc -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -O0 -c ./test/test_lurch_util.c -o build/test_lurch_util.o ./test/test_lurch_util.c: In function 'test_lurch_util_axc_log_func_error': ./test/test_lurch_util.c:69:5: warning: implicit declaration of function 'lurch_util_axc_log_func' [-Wimplicit-function-declaration] 69 | lurch_util_axc_log_func(AXC_LOG_ERROR, "test", 4, axc_ctx_p); | ^~~~~~~~~~~~~~~~~~~~~~~ cc -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -O0 -c ./test/test_lurch_api.c -o build/test_lurch_api.o ./test/test_lurch_api.c: In function 'test_lurch_api_status_im_handler_disabled': ./test/test_lurch_api.c:831:92: warning: passing argument 4 of 'lurch_api_status_im_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 831 | lurch_api_status_im_handler(NULL, other_bare_jid, lurch_api_status_im_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:128:163: note: expected 'void *' but argument is of type 'const char *' 128 | void lurch_api_status_im_handler(PurpleAccount * acc_p, const char * contact_bare_jid, void (*cb)(int32_t err, lurch_status_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_im_handler_not_supported': ./test/test_lurch_api.c:866:92: warning: passing argument 4 of 'lurch_api_status_im_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 866 | lurch_api_status_im_handler(NULL, other_bare_jid, lurch_api_status_im_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:128:163: note: expected 'void *' but argument is of type 'const char *' 128 | void lurch_api_status_im_handler(PurpleAccount * acc_p, const char * contact_bare_jid, void (*cb)(int32_t err, lurch_status_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_im_handler_no_session': ./test/test_lurch_api.c:905:92: warning: passing argument 4 of 'lurch_api_status_im_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 905 | lurch_api_status_im_handler(NULL, other_bare_jid, lurch_api_status_im_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:128:163: note: expected 'void *' but argument is of type 'const char *' 128 | void lurch_api_status_im_handler(PurpleAccount * acc_p, const char * contact_bare_jid, void (*cb)(int32_t err, lurch_status_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_im_handler_ok': ./test/test_lurch_api.c:944:92: warning: passing argument 4 of 'lurch_api_status_im_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 944 | lurch_api_status_im_handler(NULL, other_bare_jid, lurch_api_status_im_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:128:163: note: expected 'void *' but argument is of type 'const char *' 128 | void lurch_api_status_im_handler(PurpleAccount * acc_p, const char * contact_bare_jid, void (*cb)(int32_t err, lurch_status_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_im_handler_err': ./test/test_lurch_api.c:967:92: warning: passing argument 4 of 'lurch_api_status_im_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 967 | lurch_api_status_im_handler(NULL, other_bare_jid, lurch_api_status_im_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:128:163: note: expected 'void *' but argument is of type 'const char *' 128 | void lurch_api_status_im_handler(PurpleAccount * acc_p, const char * contact_bare_jid, void (*cb)(int32_t err, lurch_status_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_chat_handler_disabled': ./test/test_lurch_api.c:994:104: warning: passing argument 4 of 'lurch_api_status_chat_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 994 | lurch_api_status_chat_handler(NULL, test_conversation_name, lurch_api_status_chat_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:137:176: note: expected 'void *' but argument is of type 'const char *' 137 | void lurch_api_status_chat_handler(PurpleAccount * acc_p, const char * full_conversation_name, void (*cb)(int32_t err, lurch_status_chat_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_chat_handler_enabled': ./test/test_lurch_api.c:1022:104: warning: passing argument 4 of 'lurch_api_status_chat_handler' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1022 | lurch_api_status_chat_handler(NULL, test_conversation_name, lurch_api_status_chat_handler_cb_mock, mock_user_data); | ^~~~~~~~~~~~~~ In file included from ./test/test_lurch_api.c:13: ./test/../src/lurch_api.h:137:176: note: expected 'void *' but argument is of type 'const char *' 137 | void lurch_api_status_chat_handler(PurpleAccount * acc_p, const char * full_conversation_name, void (*cb)(int32_t err, lurch_status_chat_t status, void * user_data_p), void * user_data_p); | ~~~~~~~^~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_chat_discover_cb_anonymous': ./test/test_lurch_api.c:1060:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1060 | cb_data->user_data_p = mock_user_data; | ^ ./test/test_lurch_api.c: In function 'test_lurch_api_status_chat_discover_cb_no_devicelist': ./test/test_lurch_api.c:1101:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1101 | cb_data->user_data_p = mock_user_data; | ^ ./test/test_lurch_api.c:1112:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1112 | .name = test_conversation_name | ^~~~~~~~~~~~~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_chat_discover_cb_ok': ./test/test_lurch_api.c:1185:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1185 | cb_data->user_data_p = mock_user_data; | ^ ./test/test_lurch_api.c:1196:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1196 | .name = test_conversation_name | ^~~~~~~~~~~~~~~~~~~~~~ ./test/test_lurch_api.c: In function 'test_lurch_api_status_chat_discover_cb_error': ./test/test_lurch_api.c:1247:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1247 | cb_data->user_data_p = mock_user_data; | ^ cc -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -O0 --coverage build/lurch_w_coverage.o build/lurch_api_w_coverage.o build/lurch_cmd_ui_w_coverage.o build/lurch_util_w_coverage.o build/test_lurch_util.o /usr/lib64/purple-2/libjabber.so.0 -o build/test_lurch_util -ldl -lm -lsqlite3 -lmxml -lglib-2.0 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -L/usr/lib64/purple-2 -lxml2 -lz -llzma -lm -lgcrypt -lgpg-error -lomemo -lglib-2.0 -L/usr/lib/ -laxc -lsignal-protocol-c -I/usr/include/signal -lxmpp -Wl,-rpath,/usr/lib64/purple-2 -lpurple -lcmocka \ -Wl,--wrap=purple_user_dir \ -Wl,--wrap=purple_prefs_get_bool \ -Wl,--wrap=purple_prefs_get_int \ -Wl,--wrap=purple_debug_error \ -Wl,--wrap=purple_debug_info \ -Wl,--wrap=purple_debug_misc \ -Wl,--wrap=purple_base16_encode_chunked bash -c "set -o pipefail; build/test_lurch_util 2>&1 | grep -Ev ".*CRITICAL.*" | tr -s '\n'" # filter annoying and irrelevant glib output [==========] Running 10 test(s). [ RUN ] test_lurch_util_axc_log_func_error [ OK ] test_lurch_util_axc_log_func_error [ RUN ] test_lurch_util_axc_log_func_info [ OK ] test_lurch_util_axc_log_func_info [ RUN ] test_lurch_util_axc_get_init_ctx_w_logging [ OK ] test_lurch_util_axc_get_init_ctx_w_logging [ RUN ] test_lurch_util_axc_get_init_ctx_wo_logging [ OK ] test_lurch_util_axc_get_init_ctx_wo_logging [ RUN ] test_lurch_util_uname_strip [ OK ] test_lurch_util_uname_strip [ RUN ] test_lurch_util_uname_strip_no_resource [ OK ] test_lurch_util_uname_strip_no_resource [ RUN ] test_lurch_util_uname_strip_empty [ OK ] test_lurch_util_uname_strip_empty [ RUN ] test_lurch_util_uname_get_db_fn [ OK ] test_lurch_util_uname_get_db_fn [ RUN ] test_lurch_util_fp_get_printable [ OK ] test_lurch_util_fp_get_printable [ RUN ] test_lurch_util_fp_get_printable_invalid [ OK ] test_lurch_util_fp_get_printable_invalid [==========] 10 test(s) run. [ PASSED ] 10 test(s). cc -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -O0 --coverage build/lurch_w_coverage.o build/lurch_api_w_coverage.o build/lurch_cmd_ui_w_coverage.o build/lurch_util_w_coverage.o build/test_lurch_api.o /usr/lib64/purple-2/libjabber.so.0 -o build/test_lurch_api -ldl -lm -lsqlite3 -lmxml -lglib-2.0 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -L/usr/lib64/purple-2 -lxml2 -lz -llzma -lm -lgcrypt -lgpg-error -lomemo -lglib-2.0 -L/usr/lib/ -laxc -lsignal-protocol-c -I/usr/include/signal -lxmpp -Wl,-rpath,/usr/lib64/purple-2 -lpurple -lcmocka \ -Wl,--wrap=purple_account_get_username \ -Wl,--wrap=purple_account_get_connection \ -Wl,--wrap=purple_connection_get_protocol_data \ -Wl,--wrap=purple_signal_register \ -Wl,--wrap=purple_signal_unregister \ -Wl,--wrap=purple_signal_connect \ -Wl,--wrap=purple_signal_disconnect \ -Wl,--wrap=purple_find_conversation_with_account \ -Wl,--wrap=jabber_pep_publish \ -Wl,--wrap=jabber_chat_find_by_conv \ -Wl,--wrap=jabber_iq_send \ -Wl,--wrap=axc_get_device_id \ -Wl,--wrap=axc_key_load_public_own \ -Wl,--wrap=axc_key_load_public_addr \ -Wl,--wrap=axc_session_exists_any \ -Wl,--wrap=omemo_storage_user_devicelist_retrieve \ -Wl,--wrap=omemo_storage_chatlist_delete \ -Wl,--wrap=omemo_storage_chatlist_save \ -Wl,--wrap=omemo_storage_chatlist_exists \ -Wl,--wrap=omemo_storage_user_devicelist_retrieve \ -Wl,--wrap=lurch_util_fp_get_printable bash -c "set -o pipefail; build/test_lurch_api 2>&1 | grep -Ev ".*CRITICAL.*" | tr -s '\n'" # filter annoying and irrelevant glib output [==========] Running 33 test(s). [ RUN ] test_lurch_api_id_list_handler [ OK ] test_lurch_api_id_list_handler [ RUN ] test_lurch_api_id_list_handler_error [ OK ] test_lurch_api_id_list_handler_error [ RUN ] test_lurch_api_id_remove_handler [ OK ] test_lurch_api_id_remove_handler [ RUN ] test_lurch_api_id_remove_handler_id_not_in_list [ OK ] test_lurch_api_id_remove_handler_id_not_in_list [ RUN ] test_lurch_api_enable_im_handler [ OK ] test_lurch_api_enable_im_handler [ RUN ] test_lurch_api_enable_im_handler_err [ OK ] test_lurch_api_enable_im_handler_err [ RUN ] test_lurch_api_enable_chat_handler [ OK ] test_lurch_api_enable_chat_handler [ RUN ] test_lurch_api_enable_chat_handler_err [ OK ] test_lurch_api_enable_chat_handler_err [ RUN ] test_lurch_api_disable_im_handler [ OK ] test_lurch_api_disable_im_handler [ RUN ] test_lurch_api_disable_im_handler_err [ OK ] test_lurch_api_disable_im_handler_err [ RUN ] test_lurch_api_disable_chat_handler [ OK ] test_lurch_api_disable_chat_handler [ RUN ] test_lurch_api_disable_chat_handler_err [ OK ] test_lurch_api_disable_chat_handler_err [ RUN ] test_lurch_api_fp_get_handler [ OK ] test_lurch_api_fp_get_handler [ RUN ] test_lurch_api_fp_get_handler_err [ OK ] test_lurch_api_fp_get_handler_err [ RUN ] test_lurch_api_fp_list_handler [ OK ] test_lurch_api_fp_list_handler [ RUN ] test_lurch_api_fp_list_handler_err [ OK ] test_lurch_api_fp_list_handler_err [ RUN ] test_lurch_api_fp_other_handler [ OK ] test_lurch_api_fp_other_handler [ RUN ] test_lurch_api_fp_other_handler_keyerr [ OK ] test_lurch_api_fp_other_handler_keyerr [ RUN ] test_lurch_api_fp_other_handler_empty [ OK ] test_lurch_api_fp_other_handler_empty [ RUN ] test_lurch_api_fp_other_handler_err [ OK ] test_lurch_api_fp_other_handler_err [ RUN ] test_lurch_api_status_im_handler_disabled [ OK ] test_lurch_api_status_im_handler_disabled [ RUN ] test_lurch_api_status_im_handler_not_supported [ OK ] test_lurch_api_status_im_handler_not_supported [ RUN ] test_lurch_api_status_im_handler_no_session [ OK ] test_lurch_api_status_im_handler_no_session [ RUN ] test_lurch_api_status_im_handler_ok [ OK ] test_lurch_api_status_im_handler_ok [ RUN ] test_lurch_api_status_im_handler_err [ OK ] test_lurch_api_status_im_handler_err [ RUN ] test_lurch_api_status_chat_handler_disabled [ OK ] test_lurch_api_status_chat_handler_disabled [ RUN ] test_lurch_api_status_chat_handler_enabled [ OK ] test_lurch_api_status_chat_handler_enabled [ RUN ] test_lurch_api_status_chat_discover_cb_anonymous [ OK ] test_lurch_api_status_chat_discover_cb_anonymous [ RUN ] test_lurch_api_status_chat_discover_cb_no_devicelist [ OK ] test_lurch_api_status_chat_discover_cb_no_devicelist [ RUN ] test_lurch_api_status_chat_discover_cb_ok [ OK ] test_lurch_api_status_chat_discover_cb_ok [ RUN ] test_lurch_api_status_chat_discover_cb_error [ OK ] test_lurch_api_status_chat_discover_cb_error [ RUN ] test_lurch_api_init [ OK ] test_lurch_api_init [ RUN ] test_lurch_api_unload [ OK ] test_lurch_api_unload [==========] 33 test(s) run. [ PASSED ] 33 test(s). Processing files: purple-lurch-0.7.0-0.vdb.1.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Provides: purple-lurch = 0.7.0-0.vdb.1.el9 purple-lurch(ppc-64) = 0.7.0-0.vdb.1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libaxc.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcrypt.so.20()(64bit) libglib-2.0.so.0()(64bit) libgpg-error.so.0()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libmxml.so.1()(64bit) libomemo.so.0()(64bit) libsignal-protocol-c.so.2()(64bit) libsqlite3.so.0()(64bit) libxml2.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le Wrote: /builddir/build/RPMS/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Cl1QBe + umask 022 + cd /builddir/build/BUILD + cd lurch-0.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/purple-lurch-0.7.0-0.vdb.1.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0