D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/byaccj-1.15-0.1.14.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kim6MP sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9B7Ybd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/byaccj-1.15-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/byaccj-1.15-build + rm -rf byaccj1.15 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/byaccj1.15_src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd byaccj1.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/byaccj-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pNYGtP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/byaccj-1.15-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 byaccj1.15 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd src ~/rpmbuild/BUILD/byaccj-1.15-build/byaccj1.15/src ~/rpmbuild/BUILD/byaccj-1.15-build/byaccj1.15 + perl -i.bak -lp -e 's{(\$\(CC\) -o yacc).*?(\$\(OBJ\))}{$1 \$(LDFLAGS) $2}' Makefile + /usr/bin/make -O -j48 V=1 VERBOSE=1 CC=gcc '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' 'LDFLAGS=-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' linux gcc -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 -I. mkpar.c -o mkpar.o mkpar.c:18:16: error: conflicting types for 'parse_actions'; have 'action *(void)' 18 | extern action *parse_actions(); | ^~~~~~~~~~~~~ In file included from mkpar.c:3: defs.h:449:9: note: previous declaration of 'parse_actions' with type 'action *(int)' 449 | action *parse_actions(int stateno); | ^~~~~~~~~~~~~ mkpar.c:19:16: error: conflicting types for 'get_shifts'; have 'action *(void)' 19 | extern action *get_shifts(); | ^~~~~~~~~~ defs.h:450:9: note: previous declaration of 'get_shifts' with type 'action *(int)' 450 | action *get_shifts(int stateno); | ^~~~~~~~~~ mkpar.c:20:16: error: conflicting types for 'add_reductions'; have 'action *(void)' 20 | extern action *add_reductions(); | ^~~~~~~~~~~~~~ defs.h:451:9: note: previous declaration of 'add_reductions' with type 'action *(int, action *)' 451 | action *add_reductions(int stateno,action *actions); | ^~~~~~~~~~~~~~ mkpar.c:21:16: error: conflicting types for 'add_reduce'; have 'action *(void)' 21 | extern action *add_reduce(); | ^~~~~~~~~~ defs.h:452:9: note: previous declaration of 'add_reduce' with type 'action *(action *, int, int)' 452 | action *add_reduce(action *actions,int ruleno,int symbol); | ^~~~~~~~~~ mkpar.c: In function 'make_parser': mkpar.c:29:21: error: too many arguments to function 'parse_actions'; expected 0, have 1 29 | parser[i] = parse_actions(i); | ^~~~~~~~~~~~~ ~ mkpar.c:18:16: note: declared here 18 | extern action *parse_actions(); | ^~~~~~~~~~~~~ mkpar.c: In function 'parse_actions': mkpar.c:43:13: error: too many arguments to function 'get_shifts'; expected 0, have 1 43 | actions = get_shifts(stateno); | ^~~~~~~~~~ ~~~~~~~ mkpar.c:19:16: note: declared here 19 | extern action *get_shifts(); | ^~~~~~~~~~ mkpar.c:44:13: error: too many arguments to function 'add_reductions'; expected 0, have 2 44 | actions = add_reductions(stateno, actions); | ^~~~~~~~~~~~~~ ~~~~~~~ mkpar.c:20:16: note: declared here 20 | extern action *add_reductions(); | ^~~~~~~~~~~~~~ mkpar.c: In function 'add_reductions': mkpar.c:96:29: error: too many arguments to function 'add_reduce'; expected 0, have 3 96 | actions = add_reduce(actions, ruleno, j); | ^~~~~~~~~~ ~~~~~~~ mkpar.c:21:16: note: declared here 21 | extern action *add_reduce(); | ^~~~~~~~~~ make: *** [Makefile:75: mkpar.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -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 -I. lr0.c -o lr0.o lr0.c:14:5: error: conflicting types for 'get_state'; have 'int(void)' 14 | int get_state(); | ^~~~~~~~~ In file included from lr0.c:3: defs.h:467:5: note: previous declaration of 'get_state' with type 'int(int)' 467 | int get_state(int symbol); | ^~~~~~~~~ lr0.c:15:7: error: conflicting types for 'new_state'; have 'core *(void)' 15 | core *new_state(); | ^~~~~~~~~ defs.h:470:7: note: previous declaration of 'new_state' with type 'core *(int)' 470 | core *new_state(int symbol); | ^~~~~~~~~ lr0.c: In function 'append_states': lr0.c:109:23: error: too many arguments to function 'get_state'; expected 0, have 1 109 | shiftset[i] = get_state(symbol); | ^~~~~~~~~ ~~~~~~ lr0.c:14:5: note: declared here 14 | int get_state(); | ^~~~~~~~~ lr0.c: In function 'get_state': lr0.c:196:39: error: too many arguments to function 'new_state'; expected 0, have 1 196 | sp = sp->link = new_state(symbol); | ^~~~~~~~~ ~~~~~~ lr0.c:15:7: note: declared here 15 | core *new_state(); | ^~~~~~~~~ lr0.c:204:34: error: too many arguments to function 'new_state'; expected 0, have 1 204 | state_set[key] = sp = new_state(symbol); | ^~~~~~~~~ ~~~~~~ lr0.c:15:7: note: declared here 15 | core *new_state(); | ^~~~~~~~~ make: *** [Makefile:75: lr0.o] Error 1 gcc -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 -I. warshall.c -o warshall.o gcc -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 -I. skeleton.c -o skeleton.o gcc -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 -I. symtab.c -o symtab.o gcc -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 -I. closure.c -o closure.o gcc -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 -I. error.c -o error.o gcc -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 -I. verbose.c -o verbose.o gcc -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 -I. main.c -o main.o gcc -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 -I. lalr.c -o lalr.o gcc -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 -I. output.c -o output.o output.c: In function 'output_defines': output.c:846:31: warning: too many arguments for format [-Wformat-extra-args] 846 | fprintf(defines_file, "}\n",jclass_name,JAVA_INTERFACE_SUFFIX); | ^~~~~ gcc -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 -I. reader.c -o reader.o error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pNYGtP (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pNYGtP (%build) I: [iurt_root_command] ERROR: chroot