BSD_SOURCE -D_DEFAULT_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses -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 -fPIC -I../../../include -DCORES=8 -D_GNU_SOURCE -ggdb -o serial serial.c ../../../src/ck_array.c In file included from serial.c:6: ../../common.h: In function 'aff_iterate': ../../common.h:281:27: warning: implicit declaration of function 'gettid'; did you mean 'getgid'? [-Wimplicit-function-declaration] return sched_setaffinity(gettid(), sizeof(s), &s); ^~~~~~ getgid ../../common.h:281:27: warning: nested extern declaration of 'gettid' [-Wnested-externs] make[2]: Leaving directory '/builddir/build/BUILD/ck-0.6.0/regressions/ck_array/validate' make -C ./ck_cohort/validate all make[2]: Entering directory '/builddir/build/BUILD/ck-0.6.0/regressions/ck_cohort/validate' /usr/bin/cc -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses -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 -fPIC -I../../../include -DCORES=8 -pthread -D_GNU_SOURCE -o validate validate.c In file included from validate.c:37: ../../common.h: In function 'aff_iterate': ../../common.h:281:27: warning: implicit declaration of function 'gettid'; did you mean 'getgid'? [-Wimplicit-function-declaration] return sched_setaffinity(gettid(), sizeof(s), &s); ^~~~~~ getgid ../../common.h:281:27: warning: nested extern declaration of 'gettid' [-Wnested-externs] /tmp/ccQMJteb.o: In function `aff_iterate_core': /builddir/build/BUILD/ck-0.6.0/regressions/ck_cohort/validate/../../common.h:293: undefined reference to `gettid' make[2]: Leaving directory '/builddir/build/BUILD/ck-0.6.0/regressions/ck_cohort/validate' make[1]: Leaving directory '/builddir/build/BUILD/ck-0.6.0/regressions' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:8: validate] Error 1 make[1]: *** [Makefile:30: all] Error 2 make: *** [Makefile:27: regressions] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.qZbgBP (%check) Bad exit status from /var/tmp/rpm-tmp.qZbgBP (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # /usr/bin/systemd-nspawn -q -M 5fb6ad30af36479cb64d70a7b2e2ca5a -D /var/lib/mock/cloud8-openstack-ussuri-el8-build-71650-374431/root --private-network --setenv=LANG=en_GB.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1= \s-\v\$ -u mockbuild /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ck.spec