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/rdist-6.1.5-37.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TBKdHf sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WZIBwa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + rm -rf rdist-6.1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rdist-6.1.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd rdist-6.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + cd rdist-6.1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rdist-v1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/rdist-eu-license.txt . + cp /home/pterjan/rpmbuild/SOURCES/rdist-licensing-email.txt . + echo 'Patch #15 (rdist-6.1.5-license-fix.patch):' Patch #15 (rdist-6.1.5-license-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .license-fix --fuzz=0 patching file build/buildinfo patching file build/os-type patching file build/runmake patching file config/config-data.h patching file config/config-def.h patching file config/config.h patching file config/Makefile patching file config/Makefile.real patching file config/mf.aix3 patching file config/mf.aix4 patching file config/mf.bsdi2 patching file config/mf.bsdi patching file config/mf.concen patching file config/mf.cxux patching file config/mf.dcosx patching file config/mf.dgux patching file config/mf.dynix patching file config/mf.dynixptx patching file config/mf.fpx4 patching file config/mf.freebsd2 patching file config/mf.ftx patching file config/mf.hpux10 patching file config/mf.hpux9 patching file config/mf.irix4 patching file config/mf.irix5 patching file config/mf.irix6 patching file config/mf.isc patching file config/mf.mipsos4 patching file config/mf.mipsos5 patching file config/mf.ncr patching file config/mf.nextstep2 patching file config/mf.nextstep3 patching file config/mf.osf1 patching file config/mf.pyrosx patching file config/mf.sppux patching file config/mf.stellix patching file config/mf.sunos4 patching file config/mf.sunos5 patching file config/mf.svr4 patching file config/mf.TEMPLATE patching file config/mf.tracebsd patching file config/mf.ultrix4 patching file config/mf.unicos patching file config/mf.xinu43 patching file config/os-aix3.h patching file config/os-aix4.h patching file config/os-bsdi2.h patching file config/os-bsdi.h patching file config/os-concen.h patching file config/os-cxux.h patching file config/os-dcosx.h patching file config/os-dgux.h patching file config/os-dynix.h patching file config/os-dynixptx.h patching file config/os-fpx4.h patching file config/os-freebsd2.h patching file config/os-ftx.h patching file config/os-hpux10.h patching file config/os-hpux9.h patching file config/os-irix4.h patching file config/os-irix5.h patching file config/os-irix6.h patching file config/os-isc.h patching file config/os-linux.h patching file config/os-mipsos4.h patching file config/os-mipsos5.h patching file config/os-ncr.h patching file config/os-nextstep2.h patching file config/os-nextstep3.h patching file config/os-osf1.h patching file config/os-pyrosx.h patching file config/os-sppux.h patching file config/os-stellix.h patching file config/os-sunos4.h patching file config/os-sunos5.h patching file config/os-svr4.h patching file config/os-TEMPLATE.h patching file config/os-tracebsd.h patching file config/os-ultrix4.h patching file config/os-unicos.h patching file config/os-xinu43.h patching file Copyright patching file dist/Makefile patching file dist/Makefile.real patching file dist/Makefile.var patching file doc/Makefile patching file doc/Makefile.real patching file doc/rdistd.man patching file doc/rdist.man patching file include/defs.h patching file include/filesys.h patching file include/Makefile patching file include/Makefile.real patching file include/pathnames.h patching file include/rdistpaths.h patching file include/version.h patching file Makefile patching file Makefile.local patching file mf/Makefile.base patching file mf/Makefile patching file mf/Makefile.var patching file src/child.c patching file src/client.c patching file src/common.c patching file src/distopt.c patching file src/docmd.c patching file src/expand.c patching file src/filesys.c patching file src/filesys-os.c patching file src/gram.y patching file src/hasmntopt.c patching file src/isexec.c patching file src/lookup.c patching file src/Makefile patching file src/Makefile.real patching file src/message.c patching file src/rdist.c patching file src/rdistd.c patching file src/regex.c patching file src/rshrcmd.c patching file src/server.c patching file src/setargs.c patching file src/signal.c patching file src/strcasecmp.c patching file support/Makefile + echo 'Patch #0 (rdist-6.1.5-linux.patch):' Patch #0 (rdist-6.1.5-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linux --fuzz=0 patching file config/os-linux.h patching file mf/Makefile.var + echo 'Patch #1 (rdist-6.1.5-links.patch):' Patch #1 (rdist-6.1.5-links.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .links --fuzz=0 patching file src/client.c patching file src/docmd.c patching file include/defs.h + echo 'Patch #2 (rdist-6.1.5-oldpath.patch):' Patch #2 (rdist-6.1.5-oldpath.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .oldpath --fuzz=0 patching file config/config.h patching file doc/rdist.man patching file README + echo 'Patch #3 (rdist-6.1.5-hardlink.patch):' Patch #3 (rdist-6.1.5-hardlink.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hardlink --fuzz=0 patching file src/client.c + echo 'Patch #4 (rdist-6.1.5-bison.patch):' Patch #4 (rdist-6.1.5-bison.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bison --fuzz=0 patching file src/gram.y + echo 'Patch #5 (rdist-6.1.5-varargs.patch):' Patch #5 (rdist-6.1.5-varargs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .varargs --fuzz=0 patching file config/os-linux.h + echo 'Patch #6 (rdist-6.1.5-maxargs.patch):' Patch #6 (rdist-6.1.5-maxargs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .maxargs --fuzz=0 patching file src/setargs.c + echo 'Patch #7 (rdist-6.1.5-lfs.patch):' Patch #7 (rdist-6.1.5-lfs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lfs --fuzz=0 patching file src/client.c patching file src/server.c patching file include/defs.h patching file Makefile.local + echo 'Patch #8 (rdist-6.1.5-cleanup.patch):' Patch #8 (rdist-6.1.5-cleanup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cleanup --fuzz=0 patching file src/gram.y patching file src/rdist.c patching file src/client.c patching file src/child.c patching file src/docmd.c patching file src/distopt.c patching file src/expand.c patching file src/lookup.c patching file src/isexec.c patching file src/signal.c patching file src/rshrcmd.c patching file src/common.c patching file src/message.c patching file src/setargs.c patching file src/rdistd.c patching file src/server.c patching file src/filesys.c patching file src/filesys-os.c patching file src/strcasecmp.c patching file src/strtol.c patching file src/regex.c patching file include/defs.h + echo 'Patch #9 (rdist-6.1.5-svr4.patch):' Patch #9 (rdist-6.1.5-svr4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .svr4 --fuzz=0 patching file build/os-type + echo 'Patch #10 (rdist-6.1.5-ssh.patch):' Patch #10 (rdist-6.1.5-ssh.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ssh --fuzz=0 patching file src/rshrcmd.c + echo 'Patch #11 (rdist-6.1.5-mkstemp.patch):' Patch #11 (rdist-6.1.5-mkstemp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mkstemp --fuzz=0 patching file src/server.c + echo 'Patch #12 (rdist-6.1.5-stat64.patch):' Patch #12 (rdist-6.1.5-stat64.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stat64 --fuzz=0 patching file src/filesys.c patching file src/server.c + echo 'Patch #13 (rdist-6.1.5-re_args.patch):' Patch #13 (rdist-6.1.5-re_args.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .re_args --fuzz=0 patching file rdist/defs.h + echo 'Patch #14 (rdist-6.1.5-fix-msgsndnotify-loop.patch):' Patch #14 (rdist-6.1.5-fix-msgsndnotify-loop.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-msgsndnotify-loop --fuzz=0 patching file src/message.c + echo 'Patch #16 (rdist-6.1.5-fpic.patch):' Patch #16 (rdist-6.1.5-fpic.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pic --fuzz=0 patching file Makefile.local patching file rdist/Makefile + echo 'Patch #17 (rdist-c99.patch):' Patch #17 (rdist-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file rdist/defs.h + echo 'Patch #18 (rdist-wait-union.patch):' Patch #18 (rdist-wait-union.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .union --fuzz=0 patching file rdist/rcmd.c + 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.DOuIGG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-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 rdist-6.1.5 + '[' 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 Making "all" in "src" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' bison -y -d gram.y gram.y:66.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 66 | %term ARROW 1 | ^~~~~ gram.y:67.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 67 | %term COLON 2 | ^~~~~ gram.y:68.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 68 | %term DCOLON 3 | ^~~~~ gram.y:69.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 69 | %term NAME 4 | ^~~~~ gram.y:70.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 70 | %term STRING 5 | ^~~~~ gram.y:71.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 71 | %term INSTALL 6 | ^~~~~ gram.y:72.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 72 | %term NOTIFY 7 | ^~~~~ gram.y:73.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 73 | %term EXCEPT 8 | ^~~~~ gram.y:74.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 74 | %term PATTERN 9 | ^~~~~ gram.y:75.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 75 | %term SPECIAL 10 | ^~~~~ gram.y:76.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 76 | %term CMDSPECIAL 11 | ^~~~~ gram.y:77.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 77 | %term OPTION 12 | ^~~~~ gram.y:86.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 86 | %type OPTION options | ^~~~~~ gram.y:87.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 87 | %type NAME STRING | ^~~~ gram.y:87.21-26: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 87 | %type NAME STRING | ^~~~~~ gram.y:88.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.24-29: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:88.31-36: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:88.38-44: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.46-52: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.54-63: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~~~~ mv -f y.tab.c gram.c gcc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o gram.o gram.c gram.y: In function 'yyparse': gram.y:98:32: error: too many arguments to function 'lookup'; expected 0, have 3 98 | (void) lookup($1, INSERT, $3); | ^~~~~~ ~~~~~~~~~~~~~~~~ In file included from gram.y:55: ../include/defs.h:419:33: note: declared here 419 | struct namelist *lookup(); | ^~~~~~ gram.y:101:25: error: too many arguments to function 'insert'; expected 0, have 4 101 | insert((char *)NULL, $1, $3, $4); | ^~~~~~ ../include/defs.h:400:33: note: declared here 400 | extern void insert(); | ^~~~~~ gram.y:104:25: error: too many arguments to function 'insert'; expected 0, have 4 104 | insert($1, $3, $5, $6); | ^~~~~~ ~~~~~~~~~~~~~~~~ ../include/defs.h:400:33: note: declared here 400 | extern void insert(); | ^~~~~~ gram.y:107:25: error: too many arguments to function 'append'; expected 0, have 4 107 | append((char *)NULL, $1, $3, $4); | ^~~~~~ ../include/defs.h:390:33: note: declared here 390 | extern void append(); | ^~~~~~ gram.y:110:25: error: too many arguments to function 'append'; expected 0, have 4 110 | append($1, $3, $5, $6); | ^~~~~~ ~~~~~~~~~~~~~~~~ ../include/defs.h:390:33: note: declared here 390 | extern void append(); | ^~~~~~ gram.y:119:41: error: too many arguments to function 'subnl'; expected 0, have 2 119 | $$ = subnl($1, $3); | ^~~ gram.y:57:35: note: declared here 57 | static struct namelist *addnl(), *subnl(), *andnl(); | ^~~~~ gram.y:122:41: error: too many arguments to function 'addnl'; expected 0, have 2 122 | $$ = addnl($1, $3); | ^~~ gram.y:57:25: note: declared here 57 | static struct namelist *addnl(), *subnl(), *andnl(); | ^~~~~ gram.y:125:41: error: too many arguments to function 'andnl'; expected 0, have 2 125 | $$ = andnl($1, $3); | ^~~ gram.y:57:45: note: declared here 57 | static struct namelist *addnl(), *subnl(), *andnl(); | ^~~~~ gram.y:130:41: error: too many arguments to function 'makenl'; expected 0, have 1 130 | $$ = makenl($1); | ^ ../include/defs.h:420:33: note: declared here 420 | struct namelist *makenl(); | ^~~~~~ gram.y:142:58: error: too many arguments to function 'makenl'; expected 0, have 1 142 | $$ = last_n = makenl($2); | ^ ../include/defs.h:420:33: note: declared here 420 | struct namelist *makenl(); | ^~~~~~ gram.y:144:50: error: too many arguments to function 'makenl'; expected 0, have 1 144 | last_n->n_next = makenl($2); | ^~~~~~ ~~~~ ../include/defs.h:420:33: note: declared here 420 | struct namelist *makenl(); | ^~~~~~ gram.y:170:38: error: too many arguments to function 'expand'; expected 0, have 2 170 | nl = expand($3, E_VARS); | ^~~~~~ ~~~~~~~~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:173:45: error: too many arguments to function 'yyerror'; expected 0, have 1 173 | yyerror("only one name allowed\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:183:63: error: too many arguments to function 'expand'; expected 0, have 2 183 | $1->sc_args = expand($2, E_VARS); | ^~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:188:63: error: too many arguments to function 'expand'; expected 0, have 2 188 | $1->sc_args = expand($2, E_ALL); | ^~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:193:36: error: conflicting types for 're_comp'; have 'char *(void)' 193 | char *cp, *re_comp(); | ^~~~~~~ In file included from ../include/defs.h:73: /usr/include/regex.h:635:14: note: previous declaration of 're_comp' with type 'char *(const char *)' 635 | extern char *re_comp (const char *); | ^~~~~~~ gram.y:196:43: error: too many arguments to function 're_comp'; expected 0, have 1 196 | if ((cp = re_comp(nl->n_name)) != NULL) | ^~~~~~~ ~~~~~~~~~~ gram.y:193:36: note: declared here 193 | char *cp, *re_comp(); | ^~~~~~~ gram.y:197:41: error: too many arguments to function 'yyerror'; expected 0, have 1 197 | yyerror(cp); | ^~~~~~~ ~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:198:55: error: too many arguments to function 'expand'; expected 0, have 2 198 | $1->sc_args = expand($2, E_VARS); | ^~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:203:63: error: too many arguments to function 'expand'; expected 0, have 2 203 | $1->sc_args = expand($2, E_ALL); | ^~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:209:63: error: too many arguments to function 'expand'; expected 0, have 2 209 | $1->sc_args = expand($2, E_ALL); | ^~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ y.tab.c:1540:7: error: too many arguments to function 'yyerror'; expected 0, have 1 ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ y.tab.c:1651:3: error: too many arguments to function 'yyerror'; expected 0, have 1 ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y: In function 'yylex': gram.y:285:33: error: too many arguments to function 'yyerror'; expected 0, have 1 285 | yyerror("command string too long\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:304:25: error: too many arguments to function 'yyerror'; expected 0, have 1 304 | yyerror("missing closing '\"'\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:306:33: error: too many arguments to function 'makestr'; expected 0, have 1 306 | yylval.string = makestr(yytext); | ^~~~~~~ ~~~~~~ ../include/defs.h:348:33: note: declared here 348 | char *makestr(); | ^~~~~~~ gram.y:319:25: error: too many arguments to function 'yyerror'; expected 0, have 1 319 | yyerror("input line too long\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:324:37: error: too many arguments to function 'any'; expected 0, have 2 324 | if (any(c, quotechars)) | ^~~ ~ ../include/defs.h:364:33: note: declared here 364 | extern int any(); | ^~~ gram.y:333:33: error: too many arguments to function 'any'; expected 0, have 2 333 | if (c == EOF || any(c, " \"'\t()=;:\n")) { | ^~~ ~ ../include/defs.h:364:33: note: declared here 364 | extern int any(); | ^~~ gram.y:347:29: error: too many arguments to function 'parsedistopts'; expected 0, have 3 347 | if (parsedistopts(&yytext[2], &opt, TRUE)) { | ^~~~~~~~~~~~~ ~~~~~~~~~~ ../include/defs.h:379:33: note: declared here 379 | extern int parsedistopts(); | ^~~~~~~~~~~~~ gram.y:351:33: error: too many arguments to function 'yyerror'; expected 0, have 1 351 | yyerror(ebuf); | ^~~~~~~ ~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:374:25: error: too many arguments to function 'yyerror'; expected 0, have 1 374 | yyerror(ebuf); | ^~~~~~~ ~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:393:33: error: too many arguments to function 'makestr'; expected 0, have 1 393 | yylval.string = makestr(yytext); | ^~~~~~~ ~~~~~~ ../include/defs.h:348:33: note: declared here 348 | char *makestr(); | ^~~~~~~ gram.y:396:25: error: too many arguments to function 'makesubcmd'; expected 0, have 1 396 | yylval.subcmd = makesubcmd(c); | ^~~~~~~~~~ ~ ../include/defs.h:389:33: note: declared here 389 | extern struct subcmd *makesubcmd(); | ^~~~~~~~~~ gram.y: In function 'any': gram.y:404:12: warning: old-style function definition [-Wold-style-definition] 404 | extern int any(c, str) | ^~~ gram.y:407:1: error: number of arguments doesn't match prototype 407 | { | ^ ../include/defs.h:364:33: error: prototype declaration 364 | extern int any(); | ^~~ gram.y: In function 'insert': gram.y:418:1: warning: old-style function definition [-Wold-style-definition] 418 | insert(label, files, hosts, subcmds) | ^~~~~~ gram.y:422:1: error: number of arguments doesn't match prototype 422 | { | ^ ../include/defs.h:400:33: error: prototype declaration 400 | extern void insert(); | ^~~~~~ gram.y:428:41: error: too many arguments to function 'getnlstr'; expected 0, have 1 428 | files, hosts, subcmds, getnlstr(files)); | ^~~~~~~~ ~~~~~ ../include/defs.h:355:33: note: declared here 355 | extern char *getnlstr(); | ^~~~~~~~ gram.y:430:17: error: too many arguments to function 'expand'; expected 0, have 2 430 | files = expand(files, E_VARS|E_SHELL); | ^~~~~~ ~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:431:17: error: too many arguments to function 'expand'; expected 0, have 2 431 | hosts = expand(hosts, E_ALL); | ^~~~~~ ~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ ../include/defs.h:168:38: error: too many arguments to function 'xmalloc'; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:450:22: note: in expansion of macro 'ALLOC' 450 | nc = ALLOC(cmd); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ gram.y: In function 'append': gram.y:473:1: warning: old-style function definition [-Wold-style-definition] 473 | append(label, files, stamp, subcmds) | ^~~~~~ gram.y:478:1: error: number of arguments doesn't match prototype 478 | { | ^ ../include/defs.h:390:33: error: prototype declaration 390 | extern void append(); | ^~~~~~ ../include/defs.h:168:38: error: too many arguments to function 'xmalloc'; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:481:13: note: in expansion of macro 'ALLOC' 481 | c = ALLOC(cmd); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ gram.y:485:22: error: too many arguments to function 'expand'; expected 0, have 2 485 | c->c_files = expand(files, E_ALL); | ^~~~~~ ~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y: In function 'yyerror': gram.y:500:1: warning: old-style function definition [-Wold-style-definition] 500 | yyerror(s) | ^~~~~~~ gram.y:502:1: error: number of arguments doesn't match prototype 502 | { | ^ ../include/defs.h:416:33: error: prototype declaration 416 | extern void yyerror(); | ^~~~~~~ gram.y: In function 'makestr': gram.y:510:1: warning: old-style function definition [-Wold-style-definition] 510 | makestr(str) | ^~~~~~~ gram.y:512:1: error: number of arguments doesn't match prototype 512 | { | ^ ../include/defs.h:348:33: error: prototype declaration 348 | char *makestr(); | ^~~~~~~ gram.y: In function 'makenl': gram.y:526:1: warning: old-style function definition [-Wold-style-definition] 526 | makenl(name) | ^~~~~~ gram.y:528:1: error: number of arguments doesn't match prototype 528 | { | ^ ../include/defs.h:420:33: error: prototype declaration 420 | struct namelist *makenl(); | ^~~~~~ ../include/defs.h:168:38: error: too many arguments to function 'xmalloc'; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:533:14: note: in expansion of macro 'ALLOC' 533 | nl = ALLOC(namelist); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ gram.y: In function 'innl': gram.y:545:1: warning: old-style function definition [-Wold-style-definition] 545 | innl(nl, p) | ^~~~ gram.y: In function 'addnl': gram.y:559:1: warning: old-style function definition [-Wold-style-definition] 559 | addnl(n1, n2) | ^~~~~ gram.y:564:14: error: too many arguments to function 'expand'; expected 0, have 2 564 | n1 = expand(n1, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:565:14: error: too many arguments to function 'expand'; expected 0, have 2 565 | n2 = expand(n2, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:567:22: error: too many arguments to function 'makenl'; expected 0, have 1 567 | nl = makenl(n1->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y:572:30: error: too many arguments to function 'makenl'; expected 0, have 1 572 | nl = makenl(n2->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y: In function 'subnl': gram.y:583:1: warning: old-style function definition [-Wold-style-definition] 583 | subnl(n1, n2) | ^~~~~ gram.y:588:14: error: too many arguments to function 'expand'; expected 0, have 2 588 | n1 = expand(n1, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:589:14: error: too many arguments to function 'expand'; expected 0, have 2 589 | n2 = expand(n2, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:592:30: error: too many arguments to function 'makenl'; expected 0, have 1 592 | nl = makenl(n1->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y: In function 'andnl': gram.y:603:1: warning: old-style function definition [-Wold-style-definition] 603 | andnl(n1, n2) | ^~~~~ gram.y:608:14: error: too many arguments to function 'expand'; expected 0, have 2 608 | n1 = expand(n1, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:609:14: error: too many arguments to function 'expand'; expected 0, have 2 609 | n2 = expand(n2, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:612:30: error: too many arguments to function 'makenl'; expected 0, have 1 612 | nl = makenl(n1->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y: In function 'makesubcmd': gram.y:623:1: warning: old-style function definition [-Wold-style-definition] 623 | makesubcmd(type) | ^~~~~~~~~~ gram.y:625:1: error: number of arguments doesn't match prototype 625 | { | ^ ../include/defs.h:389:33: error: prototype declaration 389 | extern struct subcmd *makesubcmd(); | ^~~~~~~~~~ ../include/defs.h:168:38: error: too many arguments to function 'xmalloc'; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:628:14: note: in expansion of macro 'ALLOC' 628 | sc = ALLOC(subcmd); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ make[2]: *** [: gram.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[1]: *** [Makefile:35: all] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' Making "all" in "config" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' Making "all" in "doc" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' Making "all" in "support" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' Making "all" in "mf" make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/mf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/rdist-6.1.5/mf' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ntbK7m + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build + mkdir /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT + 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 rdist-6.1.5 + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/bin + install -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/sbin + install -d /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/man/man1 /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/share/man/man8 + install -m 0755 src/rdist /home/pterjan/rpmbuild/BUILD/rdist-6.1.5-build/BUILDROOT/usr/bin install: cannot stat 'src/rdist': No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ntbK7m (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ntbK7m (%install) I: [iurt_root_command] ERROR: chroot