D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/xcpustate-2.9-16.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eJsOdm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XiXf5F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xcpustate-2.9-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xcpustate-2.9-build + rm -rf xcpustate-2.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xcpustate-2.9.tar.lzma + STATUS=0 + '[' 0 -ne 0 ']' + cd xcpustate-2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (xcpustate-2.5-6.0.patch):' Patch #2 (xcpustate-2.5-6.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .glibc --fuzz=0 patching file rstat.c + echo 'Patch #3 (xcpustate-2.9-missingheaders.patch):' Patch #3 (xcpustate-2.9-missingheaders.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .headers --fuzz=0 patching file s-linux.c + echo 'Patch #4 (xcpustate-fix-building-with-gcc14.patch):' Patch #4 (xcpustate-fix-building-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file s-linux.c patching file rstat.c patching file xcpustate.c patching file rstat_xdr.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UCR5Ml + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xcpustate-2.9-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 xcpustate-2.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + xmkmf imake -DUseInstalled -I/usr/share/X11/config + sed -i 's! -s -m!-m!' Makefile + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CDEBUGFLAGS=-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 -I/usr/include/tirpc' MANPATH=/usr/share/man SYS_LIBRARIES=-ltirpc gcc -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 -I/usr/include/tirpc -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c -o rstat_clnt.o rstat_clnt.c In file included from /usr/include/sys/types.h:25, from /usr/include/tirpc/rpc/types.h:41, from /usr/include/tirpc/rpc/rpc.h:38, from rstat.h:9, from rstat_clnt.c:6: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ rstat_clnt.c: In function 'rstatproc_stats_4': rstat_clnt.c:21:1: warning: old-style function definition [-Wold-style-definition] 21 | rstatproc_stats_4(argp, clnt) | ^~~~~~~~~~~~~~~~~ rstat_clnt.c:24:1: error: number of arguments doesn't match prototype 24 | { | ^ rstat.h:127:20: error: prototype declaration 127 | extern statsvar * rstatproc_stats_4(); | ^~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_havedisk_4': rstat_clnt.c:38:1: warning: old-style function definition [-Wold-style-definition] 38 | rstatproc_havedisk_4(argp, clnt) | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c:41:1: error: number of arguments doesn't match prototype 41 | { | ^ rstat.h:129:17: error: prototype declaration 129 | extern u_int * rstatproc_havedisk_4(); | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_stats_3': rstat_clnt.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | rstatproc_stats_3(argp, clnt) | ^~~~~~~~~~~~~~~~~ rstat_clnt.c:58:1: error: number of arguments doesn't match prototype 58 | { | ^ rstat.h:132:21: error: prototype declaration 132 | extern statstime * rstatproc_stats_3(); | ^~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_havedisk_3': rstat_clnt.c:72:1: warning: old-style function definition [-Wold-style-definition] 72 | rstatproc_havedisk_3(argp, clnt) | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c:75:1: error: number of arguments doesn't match prototype 75 | { | ^ rstat.h:133:17: error: prototype declaration 133 | extern u_int * rstatproc_havedisk_3(); | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_stats_2': rstat_clnt.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | rstatproc_stats_2(argp, clnt) | ^~~~~~~~~~~~~~~~~ rstat_clnt.c:92:1: error: number of arguments doesn't match prototype 92 | { | ^ rstat.h:136:22: error: prototype declaration 136 | extern statsswtch * rstatproc_stats_2(); | ^~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_havedisk_2': rstat_clnt.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | rstatproc_havedisk_2(argp, clnt) | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c:109:1: error: number of arguments doesn't match prototype 109 | { | ^ rstat.h:137:17: error: prototype declaration 137 | extern u_int * rstatproc_havedisk_2(); | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_stats_1': rstat_clnt.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | rstatproc_stats_1(argp, clnt) | ^~~~~~~~~~~~~~~~~ rstat_clnt.c:126:1: error: number of arguments doesn't match prototype 126 | { | ^ rstat.h:140:17: error: prototype declaration 140 | extern stats * rstatproc_stats_1(); | ^~~~~~~~~~~~~~~~~ rstat_clnt.c: In function 'rstatproc_havedisk_1': rstat_clnt.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | rstatproc_havedisk_1(argp, clnt) | ^~~~~~~~~~~~~~~~~~~~ rstat_clnt.c:143:1: error: number of arguments doesn't match prototype 143 | { | ^ rstat.h:141:17: error: prototype declaration 141 | extern u_int * rstatproc_havedisk_1(); | ^~~~~~~~~~~~~~~~~~~~ make: *** [: rstat_clnt.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -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 -I/usr/include/tirpc -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c -o rstat.o rstat.c In file included from /usr/include/sys/types.h:25, from rstat.c:11: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ rstat.c: In function 'rstat_bar_items': rstat.c:88:1: warning: old-style function definition [-Wold-style-definition] 88 | rstat_bar_items(nbars, items) | ^~~~~~~~~~~~~~~ rstat.c: In function 'rstat_label_bars': rstat.c:108:1: warning: old-style function definition [-Wold-style-definition] 108 | rstat_label_bars(nbars) | ^~~~~~~~~~~~~~~~ rstat.c:118:9: error: too many arguments to function 'shorten'; expected 0, have 1 118 | shorten(hname); | ^~~~~~~ ~~~~~ rstat.c:51:13: note: declared here 51 | extern void shorten(/* char *hname */); | ^~~~~~~ rstat.c:119:27: error: too many arguments to function 'xmalloc'; expected 0, have 1 119 | names = (char **) xmalloc(nbars * sizeof(char *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ rstat.c:50:14: note: declared here 50 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ rstat.c:128:41: error: too many arguments to function 'xmalloc'; expected 0, have 1 128 | names[base+i] = xmalloc(strlen(buf) + 1); | ^~~~~~~ ~~~~~~~~~~~~~~~ rstat.c:50:14: note: declared here 50 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ rstat.c:138:41: error: too many arguments to function 'xmalloc'; expected 0, have 1 138 | names[base+i] = xmalloc(strlen(buf) + 1); | ^~~~~~~ ~~~~~~~~~~~~~~~ rstat.c:50:14: note: declared here 50 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ rstat.c: In function 'rstat_init_bars': rstat.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | rstat_init_bars(nbars) | ^~~~~~~~~~~~~~~ rstat.c: In function 'display_cpu': rstat.c:158:1: warning: old-style function definition [-Wold-style-definition] 158 | display_cpu(base) | ^~~~~~~~~~~ rstat.c:169:9: error: too many arguments to function 'draw_bar'; expected 0, have 3 169 | draw_bar(base, states, RSTAT_CPUSTATES); | ^~~~~~~~ ~~~~ rstat.c:45:13: note: declared here 45 | extern void draw_bar(/*int bar_num, int *states, int num_states*/); | ^~~~~~~~ rstat.c: In function 'display_disk': rstat.c:173:1: warning: old-style function definition [-Wold-style-definition] 173 | display_disk(base) | ^~~~~~~~~~~~ rstat.c:186:17: error: too many arguments to function 'draw_bar'; expected 0, have 3 186 | draw_bar(base+i, states, 2); | ^~~~~~~~ ~~~~~~ rstat.c:45:13: note: declared here 45 | extern void draw_bar(/*int bar_num, int *states, int num_states*/); | ^~~~~~~~ rstat.c: In function 'rstat_display_bars': rstat.c:200:1: warning: old-style function definition [-Wold-style-definition] 200 | rstat_display_bars(nbars) | ^~~~~~~~~~~~~~~~~~ rstat.c:204:23: error: too many arguments to function 'rstatproc_stats_3'; expected 0, have 2 204 | if(NULL==(sts=rstatproc_stats_3((void *)NULL, cl))){ | ^~~~~~~~~~~~~~~~~ In file included from rstat.c:16: rstat.h:132:21: note: declared here 132 | extern statstime * rstatproc_stats_3(); | ^~~~~~~~~~~~~~~~~ make: *** [: rstat.o] Error 1 gcc -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 -I/usr/include/tirpc -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c -o Bar.o Bar.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/Intrinsic.h:53, from /usr/include/X11/IntrinsicP.h:51, from Bar.c:6: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ Bar.c:64:41: error: initialization of 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 64 | /* initialize */ Initialize, | ^~~~~~~~~~ Bar.c:64:41: note: (near initialization for 'barClassRec.core_class.initialize') Bar.c:52:13: note: 'Initialize' declared here 52 | static void Initialize(); | ^~~~~~~~~~ Bar.c:77:41: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 77 | /* resize */ Resize, | ^~~~~~ Bar.c:77:41: note: (near initialization for 'barClassRec.core_class.resize') Bar.c:53:13: note: 'Resize' declared here 53 | static void Resize(); | ^~~~~~ Bar.c:78:41: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, struct _XRegion *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 78 | /* expose */ Redisplay, | ^~~~~~~~~ Bar.c:78:41: note: (near initialization for 'barClassRec.core_class.expose') Bar.c:54:13: note: 'Redisplay' declared here 54 | static void Redisplay(); | ^~~~~~~~~ Bar.c: In function 'SetDimensions': Bar.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | SetDimensions(w) | ^~~~~~~~~~~~~ Bar.c: In function 'Initialize': Bar.c:132:1: warning: old-style function definition [-Wold-style-definition] 132 | Initialize(request, new) | ^~~~~~~~~~ Bar.c: In function 'Resize': Bar.c:177:1: warning: old-style function definition [-Wold-style-definition] 177 | Resize(gw) | ^~~~~~ Bar.c:181:5: error: too many arguments to function 'Redisplay'; expected 0, have 3 181 | Redisplay(gw, (XEvent*)NULL, (Region)NULL); | ^~~~~~~~~ ~~ Bar.c:54:13: note: declared here 54 | static void Redisplay(); | ^~~~~~~~~ Bar.c: In function 'Redisplay': Bar.c:186:1: warning: old-style function definition [-Wold-style-definition] 186 | Redisplay(gw, event, region) | ^~~~~~~~~ Bar.c: In function 'SetBarValues': Bar.c:253:1: warning: old-style function definition [-Wold-style-definition] 253 | SetBarValues(gw, values, nvalues) | ^~~~~~~~~~~~ Bar.c:257:1: error: number of arguments doesn't match prototype 257 | { | ^ In file included from BarP.h:8, from Bar.c:9: Bar.h:55:13: error: prototype declaration 55 | extern void SetBarValues(/* BarWidget w, int *values, int nvalues */); | ^~~~~~~~~~~~ Bar.c:284:5: error: too many arguments to function 'Redisplay'; expected 0, have 3 284 | Redisplay( gw, (XEvent*)NULL, (Region)NULL ); | ^~~~~~~~~ ~~ Bar.c:186:1: note: declared here 186 | Redisplay(gw, event, region) | ^~~~~~~~~ make: *** [: Bar.o] Error 1 gcc -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 -I/usr/include/tirpc -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c -o s.o s.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from s-linux.c:14, from s.c:87: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ s-linux.c: In function 'bar_items': s-linux.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | bar_items(nbars, items) | ^~~~~~~~~ s-linux.c: In function 'label_bars': s-linux.c:220:1: warning: old-style function definition [-Wold-style-definition] 220 | label_bars(nbars) | ^~~~~~~~~~ s-linux.c:234:5: error: too many arguments to function 'shorten'; expected 0, have 1 234 | shorten(hname); | ^~~~~~~ ~~~~~ s-linux.c:78:13: note: declared here 78 | extern void shorten(/* char *hname */); | ^~~~~~~ s-linux.c:235:21: error: too many arguments to function 'xmalloc'; expected 0, have 1 235 | names=(char **) xmalloc(nbars * sizeof(char *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ s-linux.c:88:14: note: declared here 88 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ s-linux.c:247:27: error: too many arguments to function 'xmalloc'; expected 0, have 1 247 | names[i] = strcpy(xmalloc(strlen(buf) + 1), buf); | ^~~~~~~ ~~~~~~~~~~~~~~~ s-linux.c:88:14: note: declared here 88 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ s-linux.c:263:33: error: too many arguments to function 'xmalloc'; expected 0, have 1 263 | names[i++] = strcpy(xmalloc(strlen(buf) + 1), buf); | ^~~~~~~ ~~~~~~~~~~~~~~~ s-linux.c:88:14: note: declared here 88 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ s-linux.c:286:29: error: too many arguments to function 'xmalloc'; expected 0, have 1 286 | names[i] = strcpy(xmalloc(strlen(buf) + 1), buf); | ^~~~~~~ ~~~~~~~~~~~~~~~ s-linux.c:88:14: note: declared here 88 | extern char *xmalloc(/* int nbytes */); | ^~~~~~~ s-linux.c: In function 'init_bars': s-linux.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | init_bars(nbars) | ^~~~~~~~~ s-linux.c: In function 'display_cpus': s-linux.c:381:17: error: too many arguments to function 'draw_bar'; expected 0, have 3 381 | draw_bar(i, states, nstates); | ^~~~~~~~ ~ s-linux.c:337:21: note: declared here 337 | extern void draw_bar(/*int bar_num, int *states, int num_states*/); | ^~~~~~~~ s-linux.c: In function 'display_disk': s-linux.c:431:9: error: too many arguments to function 'draw_bar'; expected 0, have 3 431 | draw_bar(numcpus+idisk, states, 3); | ^~~~~~~~ ~~~~~~~~~~~~~ s-linux.c:337:21: note: declared here 337 | extern void draw_bar(/*int bar_num, int *states, int num_states*/); | ^~~~~~~~ s-linux.c:463:7: error: too many arguments to function 'draw_bar'; expected 0, have 3 463 | draw_bar(i, states, 3); | ^~~~~~~~ ~ s-linux.c:337:21: note: declared here 337 | extern void draw_bar(/*int bar_num, int *states, int num_states*/); | ^~~~~~~~ s-linux.c: In function 'init_bars': s-linux.c:313:20: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 313 | fscanf(proc_stat, "%s %ld %ld %ld %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | dummy, &cp_time[0][0], &cp_time[0][1], &cp_time[0][2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 315 | &cp_time[0][3]); | ~~~~~~~~~~~~~~~ s-linux.c:320:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | fscanf(proc_stat, "%s %ld %ld %ld %ld \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | dummy, &cp_old[i][0], &cp_old[i][1], &cp_old[i][2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 322 | &cp_old[i][3]); | ~~~~~~~~~~~~~~ s-linux.c: In function 'display_cpus': s-linux.c:345:20: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 345 | fscanf(proc_stat, "%s %ld %ld %ld %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | dummy, &cp_time[0][0], &cp_time[0][1], &cp_time[0][2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 347 | &cp_time[0][3]); | ~~~~~~~~~~~~~~~ s-linux.c:355:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 355 | fscanf(proc_stat, "%s %ld %ld %ld %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 356 | dummy, &cp_time[i][0], &cp_time[i][1], &cp_time[i][2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 357 | &cp_time[i][3]); | ~~~~~~~~~~~~~~~ make: *** [: s.o] Error 1 gcc -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 -I/usr/include/tirpc -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c -o rstat_xdr.o rstat_xdr.c In file included from /usr/include/sys/types.h:25, from /usr/include/tirpc/rpc/types.h:41, from /usr/include/tirpc/rpc/rpc.h:38, from rstat.h:9, from rstat_xdr.c:12: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ rstat_xdr.c: In function 'xdr_timeval': rstat_xdr.c:34:17: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 34 | return (xdr_rstat_timeval(xdrs, tvp)); | ^~~~~~~~~~~~~~~~~ ~~~~ rstat.h:145:15: note: declared here 145 | extern bool_t xdr_rstat_timeval(); | ^~~~~~~~~~~~~~~~~ rstat_xdr.c: In function 'xdr_rstat_timeval': rstat_xdr.c:39:1: warning: old-style function definition [-Wold-style-definition] 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:42:1: error: number of arguments doesn't match prototype 42 | { | ^ rstat.h:145:15: error: prototype declaration 145 | extern bool_t xdr_rstat_timeval(); | ^~~~~~~~~~~~~~~~~ rstat_xdr.c: In function 'xdr_statsvar': rstat_xdr.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | xdr_statsvar(xdrs, objp) | ^~~~~~~~~~~~ rstat_xdr.c:57:1: error: number of arguments doesn't match prototype 57 | { | ^ rstat.h:146:15: error: prototype declaration 146 | extern bool_t xdr_statsvar(); | ^~~~~~~~~~~~ rstat_xdr.c:121:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 121 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:123:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 123 | if (!xdr_rstat_timeval(xdrs, &objp->curtime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:184:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 184 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:186:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 186 | if (!xdr_rstat_timeval(xdrs, &objp->curtime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:222:14: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 222 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:224:14: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 224 | if (!xdr_rstat_timeval(xdrs, &objp->curtime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c: In function 'xdr_statstime': rstat_xdr.c:230:1: warning: old-style function definition [-Wold-style-definition] 230 | xdr_statstime(xdrs, objp) | ^~~~~~~~~~~~~ rstat_xdr.c:233:1: error: number of arguments doesn't match prototype 233 | { | ^ rstat.h:147:15: error: prototype declaration 147 | extern bool_t xdr_statstime(); | ^~~~~~~~~~~~~ rstat_xdr.c:308:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 308 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:310:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 310 | if (!xdr_rstat_timeval(xdrs, &objp->curtime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:384:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 384 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:386:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 386 | if (!xdr_rstat_timeval(xdrs, &objp->curtime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:422:14: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 422 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:424:14: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 424 | if (!xdr_rstat_timeval(xdrs, &objp->curtime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c: In function 'xdr_statsswtch': rstat_xdr.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | xdr_statsswtch(xdrs, objp) | ^~~~~~~~~~~~~~ rstat_xdr.c:435:1: error: number of arguments doesn't match prototype 435 | { | ^ rstat.h:148:15: error: prototype declaration 148 | extern bool_t xdr_statsswtch(); | ^~~~~~~~~~~~~~ rstat_xdr.c:510:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 510 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:584:22: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 584 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c:620:14: error: too many arguments to function 'xdr_rstat_timeval'; expected 0, have 2 620 | if (!xdr_rstat_timeval(xdrs, &objp->boottime)) | ^~~~~~~~~~~~~~~~~ ~~~~ rstat_xdr.c:39:1: note: declared here 39 | xdr_rstat_timeval(xdrs, objp) | ^~~~~~~~~~~~~~~~~ rstat_xdr.c: In function 'xdr_stats': rstat_xdr.c:628:1: warning: old-style function definition [-Wold-style-definition] 628 | xdr_stats(xdrs, objp) | ^~~~~~~~~ rstat_xdr.c:631:1: error: number of arguments doesn't match prototype 631 | { | ^ rstat.h:149:15: error: prototype declaration 149 | extern bool_t xdr_stats(); | ^~~~~~~~~ make: *** [: rstat_xdr.o] Error 1 gcc -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 -I/usr/include/tirpc -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DRSTAT -c -o xcpustate.o xcpustate.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from xcpustate.c:8: /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ xcpustate.c:90:14: error: conflicting types for 'strtok'; have 'char *(void)' 90 | extern char *strtok(); | ^~~~~~ In file included from /usr/include/X11/Xos.h:62, from xcpustate.c:11: /usr/include/string.h:356:14: note: previous declaration of 'strtok' with type 'char *(char * restrict, const char * restrict)' 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ^~~~~~ xcpustate.c: In function 'xmalloc': xcpustate.c:272:1: warning: old-style function definition [-Wold-style-definition] 272 | xmalloc(n) | ^~~~~~~ xcpustate.c: In function 'update_display': xcpustate.c:284:1: warning: old-style function definition [-Wold-style-definition] 284 | update_display(closure, id) | ^~~~~~~~~~~~~~ xcpustate.c:105:43: error: too many arguments to function 'display_bars'; expected 0, have 1 105 | #define displayBars(n) if(NULL==rstathost)display_bars(n);else rstat_display_bars(n) | ^~~~~~~~~~~~ xcpustate.c:289:5: note: in expansion of macro 'displayBars' 289 | displayBars(nbars); | ^~~~~~~~~~~ In file included from xcpustate.c:19: s.h:41:13: note: declared here 41 | extern void display_bars(/* int nbars */); | ^~~~~~~~~~~~ xcpustate.c:105:64: error: too many arguments to function 'rstat_display_bars'; expected 0, have 1 105 | #define displayBars(n) if(NULL==rstathost)display_bars(n);else rstat_display_bars(n) | ^~~~~~~~~~~~~~~~~~ xcpustate.c:289:5: note: in expansion of macro 'displayBars' 289 | displayBars(nbars); | ^~~~~~~~~~~ xcpustate.c:100:13: note: declared here 100 | extern void rstat_display_bars(); | ^~~~~~~~~~~~~~~~~~ xcpustate.c: In function 'main': xcpustate.c:303:1: warning: old-style function definition [-Wold-style-definition] 303 | main(argc, argv) | ^~~~ xcpustate.c:400:19: error: too many arguments to function 'parsecolors'; expected 0, have 5 400 | (void)parsecolors(topLevel,colormap,colornames,resource.colorspec,colors); | ^~~~~~~~~~~ ~~~~~~~~ xcpustate.c:92:27: note: declared here 92 | static int allocstyles(), parsecolors(); | ^~~~~~~~~~~ xcpustate.c:402:19: error: too many arguments to function 'parsecolors'; expected 0, have 5 402 | (void)parsecolors(topLevel,colormap,graycolornames,NULL,colors); | ^~~~~~~~~~~ ~~~~~~~~ xcpustate.c:92:27: note: declared here 92 | static int allocstyles(), parsecolors(); | ^~~~~~~~~~~ xcpustate.c:103:41: error: too many arguments to function 'label_bars'; expected 0, have 1 103 | #define labelBars(n) ((NULL==rstathost)?label_bars(n):rstat_label_bars(n)) | ^~~~~~~~~~ xcpustate.c:440:16: note: in expansion of macro 'labelBars' 440 | barnames = labelBars(nbars); | ^~~~~~~~~ s.h:27:15: note: declared here 27 | extern char **label_bars(/* int nbars */); | ^~~~~~~~~~ xcpustate.c:103:55: error: too many arguments to function 'rstat_label_bars'; expected 0, have 1 103 | #define labelBars(n) ((NULL==rstathost)?label_bars(n):rstat_label_bars(n)) | ^~~~~~~~~~~~~~~~ xcpustate.c:440:16: note: in expansion of macro 'labelBars' 440 | barnames = labelBars(nbars); | ^~~~~~~~~ xcpustate.c:98:15: note: declared here 98 | extern char **rstat_label_bars(); | ^~~~~~~~~~~~~~~~ xcpustate.c:106:43: error: too many arguments to function 'bar_items'; expected 0, have 2 106 | #define barItems(n,ni) if(NULL==rstathost)bar_items(n,ni);else rstat_bar_items(n,ni) | ^~~~~~~~~ xcpustate.c:442:5: note: in expansion of macro 'barItems' 442 | barItems(nbars, nbaritems); | ^~~~~~~~ s.h:22:13: note: declared here 22 | extern void bar_items(/* int nbars, int items[] */); | ^~~~~~~~~ xcpustate.c:444:14: error: too many arguments to function 'allocstyles'; expected 0, have 4 444 | fstyle = allocstyles(topLevel, nbars, nbaritems, arrp); | ^~~~~~~~~~~ ~~~~~~~~ xcpustate.c:92:12: note: declared here 92 | static int allocstyles(), parsecolors(); | ^~~~~~~~~~~ xcpustate.c:484:5: error: too many arguments to function 'setup_WMPROTOCOL'; expected 0, have 2 484 | setup_WMPROTOCOL(topLevel, ""); | ^~~~~~~~~~~~~~~~ ~~~~~~~~ xcpustate.c:94:13: note: declared here 94 | static void setup_WMPROTOCOL(), close_window(); | ^~~~~~~~~~~~~~~~ xcpustate.c:104:40: error: too many arguments to function 'init_bars'; expected 0, have 1 104 | #define initBars(n) if(NULL==rstathost)init_bars(n);else rstat_init_bars(n) | ^~~~~~~~~ xcpustate.c:486:5: note: in expansion of macro 'initBars' 486 | initBars(nbars); | ^~~~~~~~ s.h:33:13: note: declared here 33 | extern void init_bars(/* int nbars */); | ^~~~~~~~~ xcpustate.c:104:58: error: too many arguments to function 'rstat_init_bars'; expected 0, have 1 104 | #define initBars(n) if(NULL==rstathost)init_bars(n);else rstat_init_bars(n) | ^~~~~~~~~~~~~~~ xcpustate.c:486:5: note: in expansion of macro 'initBars' 486 | initBars(nbars); | ^~~~~~~~ xcpustate.c:99:13: note: declared here 99 | extern void rstat_init_bars(); | ^~~~~~~~~~~~~~~ xcpustate.c:105:43: error: too many arguments to function 'display_bars'; expected 0, have 1 105 | #define displayBars(n) if(NULL==rstathost)display_bars(n);else rstat_display_bars(n) | ^~~~~~~~~~~~ xcpustate.c:489:5: note: in expansion of macro 'displayBars' 489 | displayBars(nbars); /* First display is always rubbish */ | ^~~~~~~~~~~ s.h:41:13: note: declared here 41 | extern void display_bars(/* int nbars */); | ^~~~~~~~~~~~ xcpustate.c:105:64: error: too many arguments to function 'rstat_display_bars'; expected 0, have 1 105 | #define displayBars(n) if(NULL==rstathost)display_bars(n);else rstat_display_bars(n) | ^~~~~~~~~~~~~~~~~~ xcpustate.c:489:5: note: in expansion of macro 'displayBars' 489 | displayBars(nbars); /* First display is always rubbish */ | ^~~~~~~~~~~ xcpustate.c:100:13: note: declared here 100 | extern void rstat_display_bars(); | ^~~~~~~~~~~~~~~~~~ xcpustate.c: In function 'draw_bar': xcpustate.c:499:1: warning: old-style function definition [-Wold-style-definition] 499 | draw_bar(i, states, nstates) | ^~~~~~~~ xcpustate.c:527:9: error: too many arguments to function 'SetBarValues'; expected 0, have 3 527 | SetBarValues((Widget) bar[i], avged, nstates); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~ In file included from xcpustate.c:18: Bar.h:55:13: note: declared here 55 | extern void SetBarValues(/* BarWidget w, int *values, int nvalues */); | ^~~~~~~~~~~~ xcpustate.c: In function 'shorten': xcpustate.c:532:1: warning: old-style function definition [-Wold-style-definition] 532 | shorten(hname) | ^~~~~~~ xcpustate.c: In function 'allocbarstyle': xcpustate.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | allocbarstyle(w, arrp, n) | ^~~~~~~~~~~~~ xcpustate.c: In function 'allocbarcolor': xcpustate.c:587:1: warning: old-style function definition [-Wold-style-definition] 587 | allocbarcolor(w, arrp, n) | ^~~~~~~~~~~~~ xcpustate.c: In function 'allocstyles': xcpustate.c:611:1: warning: old-style function definition [-Wold-style-definition] 611 | allocstyles(w, nbars, nbaritems, arrp) | ^~~~~~~~~~~ xcpustate.c: In function 'parsecolors': xcpustate.c:633:1: warning: old-style function definition [-Wold-style-definition] 633 | parsecolors(w, cmap, names, newnames, parr) | ^~~~~~~~~~~ xcpustate.c:647:16: error: too many arguments to function 'strtok'; expected 0, have 2 647 | for(cp=strtok(nm,","),i=0; NULL!=cp; cp=strtok(NULL,","),i++){ | ^~~~~~ ~~ xcpustate.c:90:14: note: declared here 90 | extern char *strtok(); | ^~~~~~ xcpustate.c:647:49: error: too many arguments to function 'strtok'; expected 0, have 2 647 | for(cp=strtok(nm,","),i=0; NULL!=cp; cp=strtok(NULL,","),i++){ | ^~~~~~ ~~~~ xcpustate.c:90:14: note: declared here 90 | extern char *strtok(); | ^~~~~~ xcpustate.c:654:24: error: too many arguments to function 'strtok'; expected 0, have 2 654 | for(cp=strtok(nnm,","),i=0; NULL!=cp; cp=strtok(NULL,","),i++){ | ^~~~~~ ~~~ xcpustate.c:90:14: note: declared here 90 | extern char *strtok(); | ^~~~~~ xcpustate.c:654:58: error: too many arguments to function 'strtok'; expected 0, have 2 654 | for(cp=strtok(nnm,","),i=0; NULL!=cp; cp=strtok(NULL,","),i++){ | ^~~~~~ ~~~~ xcpustate.c:90:14: note: declared here 90 | extern char *strtok(); | ^~~~~~ xcpustate.c: At top level: xcpustate.c:682:33: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 682 | { "WMclose_window", close_window }, | ^~~~~~~~~~~~ xcpustate.c:682:33: note: (near initialization for 'actionTable[0].proc') xcpustate.c:94:33: note: 'close_window' declared here 94 | static void setup_WMPROTOCOL(), close_window(); | ^~~~~~~~~~~~ xcpustate.c: In function 'close_window': xcpustate.c:688:1: warning: old-style function definition [-Wold-style-definition] 688 | close_window(w, ev, params, nparams) | ^~~~~~~~~~~~ xcpustate.c: In function 'setup_WMPROTOCOL': xcpustate.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | setup_WMPROTOCOL(w, acttype) | ^~~~~~~~~~~~~~~~ make: *** [: xcpustate.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UCR5Ml (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UCR5Ml (%build) I: [iurt_root_command] ERROR: chroot