R: /builddir/build/BUILD/ElectricFence-2.2.2/page.c:46: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead 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 -DUSE_SEMAPHORE -fpic -c tstheap.c -o tstheap.o rm -f tstheap 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 -DUSE_SEMAPHORE -fpic tstheap.o libefence.a -o tstheap BUILDSTDERR: libefence.a(page.o): In function `mprotectFailed': BUILDSTDERR: /builddir/build/BUILD/ElectricFence-2.2.2/page.c:47: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead BUILDSTDERR: /builddir/build/BUILD/ElectricFence-2.2.2/page.c:46: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead 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 -DUSE_SEMAPHORE -fpic -c eftest.c -o eftest.o BUILDSTDERR: eftest.c: In function 'main': BUILDSTDERR: eftest.c:211:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, failedTest, sizeof(failedTest) - 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eftest.c:212:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, diag->explanation, strlen(diag->explanation)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eftest.c:213:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, &newline, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ rm -f eftest 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 -DUSE_SEMAPHORE -fpic eftest.o libefence.a -o eftest BUILDSTDERR: libefence.a(page.o): In function `mprotectFailed': BUILDSTDERR: /builddir/build/BUILD/ElectricFence-2.2.2/page.c:47: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead BUILDSTDERR: /builddir/build/BUILD/ElectricFence-2.2.2/page.c:46: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead Testing Electric Fence. After the last test, it should print that the test has PASSED. ./eftest BUILDSTDERR: Electric Fence 2.2.2 Copyright (C) 1987-1999 Bruce Perens BUILDSTDERR: make: *** [Makefile:26: all] Segmentation fault error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.egKMNn (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.egKMNn (%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/ElectricFence.spec