D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rt-tests-1.0-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6fcIDO Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PqkLpu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rt-tests-1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rt-tests-1.0-build + rm -rf rt-tests-1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rt-tests-1.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rt-tests-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/rt-tests-1.0-git-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|/usr/bin/python|/usr/bin/python3|' src/hwlatdetect/hwlatdetect.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qrgr2X + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rt-tests-1.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rt-tests-1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 CC=gcc gcc -D VERSION=1.0 -c src/lib/rt-sched.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/rt-sched.o chmod +x src/hwlatdetect/hwlatdetect.py ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect gcc -D VERSION=1.0 -c src/lib/rt-get_cpu.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/rt-get_cpu.o gcc -D VERSION=1.0 -c src/lib/rt-utils.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/rt-utils.o In file included from src/lib/rt-utils.c:22: src/include/rt-sched.h:74:1: error: redefinition of struct or union 'struct sched_attr' 74 | }; | ^ In file included from /usr/include/bits/sched.h:63, from /usr/include/sched.h:43, from src/lib/rt-utils.c:13: /usr/include/linux/sched/types.h:98:8: note: originally defined here 98 | struct sched_attr { | ^~~~~~~~~~ src/include/rt-sched.h:76:5: error: conflicting types for 'sched_setattr'; have 'int(pid_t, const struct sched_attr *, unsigned int)' {aka 'int(int, const struct sched_attr *, unsigned int)'} 76 | int sched_setattr(pid_t pid, | ^~~~~~~~~~~~~ /usr/include/bits/sched.h:148:5: note: previous declaration of 'sched_setattr' with type 'int(pid_t, struct sched_attr *, unsigned int)' {aka 'int(int, struct sched_attr *, unsigned int)'} 148 | int sched_setattr (pid_t tid, struct sched_attr *attr, unsigned int flags) | ^~~~~~~~~~~~~ src/include/rt-sched.h:80:5: error: conflicting types for 'sched_getattr'; have 'int(pid_t, struct sched_attr *, unsigned int, unsigned int)' {aka 'int(int, struct sched_attr *, unsigned int, unsigned int)'} 80 | int sched_getattr(pid_t pid, | ^~~~~~~~~~~~~ /usr/include/bits/sched.h:153:5: note: previous declaration of 'sched_getattr' with type 'int(pid_t, struct sched_attr *, unsigned int, unsigned int)' {aka 'int(int, struct sched_attr *, unsigned int, unsigned int)'} 153 | int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size, | ^~~~~~~~~~~~~ make: *** [Makefile:88: bld/rt-utils.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -D VERSION=1.0 -c src/pi_tests/pi_stress.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/pi_stress.o In file included from src/pi_tests/pi_stress.c:62: src/include/rt-sched.h:74:1: error: redefinition of struct or union 'struct sched_attr' 74 | }; | ^ In file included from /usr/include/bits/sched.h:63, from /usr/include/sched.h:43, from /usr/include/pthread.h:22, from src/pi_tests/pi_stress.c:47: /usr/include/linux/sched/types.h:98:8: note: originally defined here 98 | struct sched_attr { | ^~~~~~~~~~ src/include/rt-sched.h:76:5: error: conflicting types for 'sched_setattr'; have 'int(pid_t, const struct sched_attr *, unsigned int)' {aka 'int(int, const struct sched_attr *, unsigned int)'} 76 | int sched_setattr(pid_t pid, | ^~~~~~~~~~~~~ /usr/include/bits/sched.h:148:5: note: previous declaration of 'sched_setattr' with type 'int(pid_t, struct sched_attr *, unsigned int)' {aka 'int(int, struct sched_attr *, unsigned int)'} 148 | int sched_setattr (pid_t tid, struct sched_attr *attr, unsigned int flags) | ^~~~~~~~~~~~~ src/include/rt-sched.h:80:5: error: conflicting types for 'sched_getattr'; have 'int(pid_t, struct sched_attr *, unsigned int, unsigned int)' {aka 'int(int, struct sched_attr *, unsigned int, unsigned int)'} 80 | int sched_getattr(pid_t pid, | ^~~~~~~~~~~~~ /usr/include/bits/sched.h:153:5: note: previous declaration of 'sched_getattr' with type 'int(pid_t, struct sched_attr *, unsigned int, unsigned int)' {aka 'int(int, struct sched_attr *, unsigned int, unsigned int)'} 153 | int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int size, | ^~~~~~~~~~~~~ make: *** [Makefile:88: bld/pi_stress.o] Error 1 gcc -D VERSION=1.0 -c src/lib/error.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/error.o gcc -D VERSION=1.0 -c src/pi_tests/pip_stress.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/pip_stress.o gcc -D VERSION=1.0 -c src/backfire/sendme.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/sendme.o src/backfire/sendme.c: In function 'main': src/backfire/sendme.c:259:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | write(path, sigtest, strlen(sigtest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backfire/sendme.c:261:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 261 | read(path, timestamp, sizeof(timestamp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/signaltest/signaltest.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/signaltest.o src/signaltest/signaltest.c: In function 'signalthread': src/signaltest/signaltest.c:131:25: warning: argument 1 null where non-null expected [-Wnonnull] 131 | gettimeofday(0,(struct timezone *)1); | ^~~~~~~~~~~~ In file included from src/signaltest/signaltest.c:27: /usr/include/sys/time.h:67:12: note: in a call to function 'gettimeofday' declared 'nonnull' 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ^~~~~~~~~~~~ src/signaltest/signaltest.c:177:33: warning: argument 1 null where non-null expected [-Wnonnull] 177 | gettimeofday(0,0); | ^~~~~~~~~~~~ /usr/include/sys/time.h:67:12: note: in a call to function 'gettimeofday' declared 'nonnull' 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ^~~~~~~~~~~~ src/signaltest/signaltest.c:105:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | system("echo 1 > /proc/sys/kernel/trace_all_cpus"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:106:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | system("echo 1 > /proc/sys/kernel/trace_enabled"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:107:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | system("echo 1 > /proc/sys/kernel/trace_freerunning"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:108:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | system("echo 0 > /proc/sys/kernel/trace_print_at_crash"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:109:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | system("echo 1 > /proc/sys/kernel/trace_user_triggered"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:110:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | system("echo -1 > /proc/sys/kernel/trace_user_trigger_irq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:111:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | system("echo 0 > /proc/sys/kernel/trace_verbose"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:112:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | system("echo 0 > /proc/sys/kernel/preempt_thresh"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:113:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | system("echo 0 > /proc/sys/kernel/wakeup_timing"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:114:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | system("echo 0 > /proc/sys/kernel/preempt_max_latency"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/hackbench/hackbench.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/hackbench.o gcc -D VERSION=1.0 -c src/ptsematest/ptsematest.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/ptsematest.o src/ptsematest/ptsematest.c: In function 'semathread': src/ptsematest/ptsematest.c:140:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/sigwaittest/sigwaittest.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/sigwaittest.o src/sigwaittest/sigwaittest.c: In function 'semathread': src/sigwaittest/sigwaittest.c:188:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sigwaittest/sigwaittest.c: In function 'main': src/sigwaittest/sigwaittest.c:381:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 381 | ftruncate(shmem, totalsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sigwaittest/sigwaittest.c:484:52: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 484 | sprintf(f_opt, "-fr%d", i); | ^~ src/sigwaittest/sigwaittest.c:484:48: note: directive argument in the range [0, 2147483646] 484 | sprintf(f_opt, "-fr%d", i); | ^~~~~~~ In file included from /usr/include/stdio.h:970, from src/sigwaittest/sigwaittest.c:22: In function 'sprintf', inlined from 'main' at src/sigwaittest/sigwaittest.c:484:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/sigwaittest/sigwaittest.c: In function 'main': src/sigwaittest/sigwaittest.c:512:52: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 512 | sprintf(f_opt, "-fs%d", i); | ^~ src/sigwaittest/sigwaittest.c:512:48: note: directive argument in the range [0, 2147483646] 512 | sprintf(f_opt, "-fs%d", i); | ^~~~~~~ In function 'sprintf', inlined from 'main' at src/sigwaittest/sigwaittest.c:512:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/pmqtest/pmqtest.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/pmqtest.o src/pmqtest/pmqtest.c: In function 'pmqthread': src/pmqtest/pmqtest.c:213:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 213 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pmqtest/pmqtest.c: In function 'main': src/pmqtest/pmqtest.c:48:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 48 | #define SYNCMQ_NAME "/syncmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:434:33: note: in expansion of macro 'SYNCMQ_NAME' 434 | sprintf(mqname, SYNCMQ_NAME, i); | ^~~~~~~~~~~ src/pmqtest/pmqtest.c:48:30: note: format string is defined here 48 | #define SYNCMQ_NAME "/syncmsg%d" | ^~ src/pmqtest/pmqtest.c:48:21: note: directive argument in the range [0, 2147483646] 48 | #define SYNCMQ_NAME "/syncmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:434:33: note: in expansion of macro 'SYNCMQ_NAME' 434 | sprintf(mqname, SYNCMQ_NAME, i); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from src/pmqtest/pmqtest.c:22: In function 'sprintf', inlined from 'main' at src/pmqtest/pmqtest.c:434:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 19 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/pmqtest/pmqtest.c: In function 'main': src/pmqtest/pmqtest.c:49:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 49 | #define TESTMQ_NAME "/testmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:440:33: note: in expansion of macro 'TESTMQ_NAME' 440 | sprintf(mqname, TESTMQ_NAME, i); | ^~~~~~~~~~~ src/pmqtest/pmqtest.c:49:30: note: format string is defined here 49 | #define TESTMQ_NAME "/testmsg%d" | ^~ src/pmqtest/pmqtest.c:49:21: note: directive argument in the range [0, 2147483646] 49 | #define TESTMQ_NAME "/testmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:440:33: note: in expansion of macro 'TESTMQ_NAME' 440 | sprintf(mqname, TESTMQ_NAME, i); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'main' at src/pmqtest/pmqtest.c:440:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 19 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/pmqtest/pmqtest.c: In function 'main': src/pmqtest/pmqtest.c:48:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 48 | #define SYNCMQ_NAME "/syncmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:562:33: note: in expansion of macro 'SYNCMQ_NAME' 562 | sprintf(mqname, SYNCMQ_NAME, i); | ^~~~~~~~~~~ src/pmqtest/pmqtest.c:48:30: note: format string is defined here 48 | #define SYNCMQ_NAME "/syncmsg%d" | ^~ src/pmqtest/pmqtest.c:48:21: note: directive argument in the range [0, 2147483646] 48 | #define SYNCMQ_NAME "/syncmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:562:33: note: in expansion of macro 'SYNCMQ_NAME' 562 | sprintf(mqname, SYNCMQ_NAME, i); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'main' at src/pmqtest/pmqtest.c:562:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 19 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/pmqtest/pmqtest.c: In function 'main': src/pmqtest/pmqtest.c:49:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 49 | #define TESTMQ_NAME "/testmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:566:33: note: in expansion of macro 'TESTMQ_NAME' 566 | sprintf(mqname, TESTMQ_NAME, i); | ^~~~~~~~~~~ src/pmqtest/pmqtest.c:49:30: note: format string is defined here 49 | #define TESTMQ_NAME "/testmsg%d" | ^~ src/pmqtest/pmqtest.c:49:21: note: directive argument in the range [0, 2147483646] 49 | #define TESTMQ_NAME "/testmsg%d" | ^~~~~~~~~~~~ src/pmqtest/pmqtest.c:566:33: note: in expansion of macro 'TESTMQ_NAME' 566 | sprintf(mqname, TESTMQ_NAME, i); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'main' at src/pmqtest/pmqtest.c:566:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 19 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/rt-migrate-test/rt-migrate-test.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/rt-migrate-test.o src/rt-migrate-test/rt-migrate-test.c: In function 'ftrace_write': src/rt-migrate-test/rt-migrate-test.c:87:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | write(mark_fd, buff, n); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/svsematest/svsematest.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/svsematest.o src/svsematest/svsematest.c: In function 'semathread': src/svsematest/svsematest.c:194:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/svsematest/svsematest.c: In function 'main': src/svsematest/svsematest.c:434:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 434 | ftruncate(shmem, totalsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/svsematest/svsematest.c:568:52: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 568 | sprintf(f_opt, "-fr%d", i); | ^~ src/svsematest/svsematest.c:568:48: note: directive argument in the range [0, 2147483646] 568 | sprintf(f_opt, "-fr%d", i); | ^~~~~~~ In file included from /usr/include/stdio.h:970, from src/svsematest/svsematest.c:22: In function 'sprintf', inlined from 'main' at src/svsematest/svsematest.c:568:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/svsematest/svsematest.c: In function 'main': src/svsematest/svsematest.c:596:52: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 596 | sprintf(f_opt, "-fs%d", i); | ^~ src/svsematest/svsematest.c:596:48: note: directive argument in the range [0, 2147483646] 596 | sprintf(f_opt, "-fs%d", i); | ^~~~~~~ In function 'sprintf', inlined from 'main' at src/svsematest/svsematest.c:596:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.0 -c src/cyclictest/cyclictest.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -DNUMA -DHAVE_PARSE_CPUSTRING_ALL -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o src/cyclictest/cyclictest.c: In function 'tracing': src/cyclictest/cyclictest.c:509:34: warning: argument 1 null where non-null expected [-Wnonnull] 509 | case KV_26_LT18: gettimeofday(0,(struct timezone *)1); break; | ^~~~~~~~~~~~ In file included from src/cyclictest/cyclictest.c:34: /usr/include/sys/time.h:67:12: note: in a call to function 'gettimeofday' declared 'nonnull' 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ^~~~~~~~~~~~ src/cyclictest/cyclictest.c:519:34: warning: argument 1 null where non-null expected [-Wnonnull] 519 | case KV_26_LT18: gettimeofday(0,0); break; | ^~~~~~~~~~~~ /usr/include/sys/time.h:67:12: note: in a call to function 'gettimeofday' declared 'nonnull' 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ^~~~~~~~~~~~ src/cyclictest/cyclictest.c: In function 'tracemark': src/cyclictest/cyclictest.c:494:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | write(tracemark_fd, tracebuf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cyclictest/cyclictest.c:497:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 497 | write(trace_fd, "0\n", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cyclictest/cyclictest.c: In function 'tracing': src/cyclictest/cyclictest.c:513:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 513 | write(trace_fd, "1", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ src/cyclictest/cyclictest.c:523:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | write(trace_fd, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qrgr2X (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qrgr2X (%build) I: [iurt_root_command] ERROR: chroot