turn value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (0, "'\n", 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: av7110_loadkeys.c: In function 'print_error': BUILDSTDERR: av7110_loadkeys.c:24:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (0, msg, strlen(msg)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: av7110_loadkeys.c:25:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (0, action, strlen(action)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: av7110_loadkeys.c:26:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (0, " '", 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: av7110_loadkeys.c:27:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (0, file, strlen(file)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: av7110_loadkeys.c:28:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (0, "'\n\n", 3); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ /usr/bin/make -C dib3000-watch all make[2]: Entering directory '/builddir/build/BUILD/dvb-apps-3d43b280298c/util/dib3000-watch' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -Wpointer-arith -Wstrict-prototypes -MMD -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dib3000-watch dib3000-watch.c -lm make[2]: Leaving directory '/builddir/build/BUILD/dvb-apps-3d43b280298c/util/dib3000-watch' /usr/bin/make -C dst-utils all make[2]: Entering directory '/builddir/build/BUILD/dvb-apps-3d43b280298c/util/dst-utils' cc -I../../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wshadow -Wpointer-arith -Wstrict-prototypes -MMD -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dst_test dst_test.c make[2]: Leaving directory '/builddir/build/BUILD/dvb-apps-3d43b280298c/util/dst-utils' BUILDSTDERR: dst_test.c: In function 'dst_set_pid': BUILDSTDERR: dst_test.c:116:19: error: 'CA_SET_PID' undeclared (first use in this function); did you mean 'CA_GET_CAP'? BUILDSTDERR: if ((ioctl(cafd, CA_SET_PID)) < 0) { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: CA_GET_CAP BUILDSTDERR: dst_test.c:116:19: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make[2]: *** [../../Make.rules:47: dst_test] Error 1 BUILDSTDERR: make[1]: *** [Makefile:9: all] Error 2 BUILDSTDERR: make: *** [Makefile:13: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xvMT1M (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xvMT1M (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dvb-apps.spec