D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/rdist-6.1.5-33.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uQz29i + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf rdist-6.1.5 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/rdist-6.1.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdist-6.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rdist-6.1.5-linux.patch):' Patch #0 (rdist-6.1.5-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -p0 -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 -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-environ.patch):' Patch #3 (rdist-6.1.5-environ.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .environ --fuzz=0 patching file src/setargs.c + echo 'Patch #4 (rdist-6.1.5-build-os-type-linux-is-not-svr4.patch):' Patch #4 (rdist-6.1.5-build-os-type-linux-is-not-svr4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ostype --fuzz=0 patching file build/os-type + echo 'Patch #5 (rdist-6.1.5-tmpfile.patch):' Patch #5 (rdist-6.1.5-tmpfile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tmpfile --fuzz=0 patching file src/message.c + echo 'Patch #6 (rdist-6.1.5-optflags.patch):' Patch #6 (rdist-6.1.5-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .optflags --fuzz=0 patching file Makefile.local + echo 'Patch #7 (rdist-6.1.5-bison.patch):' Patch #7 (rdist-6.1.5-bison.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bison --fuzz=0 patching file src/gram.y + echo 'Patch #8 (rdist-6.1.5-varargs.patch):' Patch #8 (rdist-6.1.5-varargs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .varargs --fuzz=0 patching file config/os-linux.h + echo 'Patch #9 (rdist-6.1.5-lfs.patch):' Patch #9 (rdist-6.1.5-lfs.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ttdcui + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd rdist-6.1.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making "all" in "src" make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 -I. -I../include -I../config -c -o setargs.o setargs.c In file included from setargs.c:53: ../include/defs.h:47:10: fatal error: y.tab.h: No such file or directory 47 | #include "y.tab.h" | ^~~~~~~~~ compilation terminated. make[2]: *** [: setargs.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' bison -y -d gram.y gram.y:73.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 73 | %term ARROW 1 | ^~~~~ gram.y:74.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 74 | %term COLON 2 | ^~~~~ gram.y:75.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 75 | %term DCOLON 3 | ^~~~~ gram.y:76.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 76 | %term NAME 4 | ^~~~~ gram.y:77.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 77 | %term STRING 5 | ^~~~~ gram.y:78.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 78 | %term INSTALL 6 | ^~~~~ gram.y:79.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 79 | %term NOTIFY 7 | ^~~~~ gram.y:80.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 80 | %term EXCEPT 8 | ^~~~~ gram.y:81.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 81 | %term PATTERN 9 | ^~~~~ gram.y:82.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 82 | %term SPECIAL 10 | ^~~~~ gram.y:83.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 83 | %term CMDSPECIAL 11 | ^~~~~ gram.y:84.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 84 | %term OPTION 12 | ^~~~~ gram.y:93.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 93 | %type OPTION options | ^~~~~~ gram.y:94.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 94 | %type NAME STRING | ^~~~ gram.y:94.21-26: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 94 | %type NAME STRING | ^~~~~~ gram.y:95.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:95.24-29: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:95.31-36: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:95.38-44: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:95.46-52: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:95.54-63: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~~~~ mv -f y.tab.c gram.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 -I. -I../include -I../config -c -o message.o message.c In file included from message.c:57: ../include/defs.h:353:15: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 353 | extern void log(); | ^~~ ../include/defs.h:82:1: note: 'log' is declared in header '' 81 | #include +++ |+#include 82 | #endif message.c: In function 'msgprconfig': message.c:128:23: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 128 | (void) sprintf(buf, " %.*s=", | ^~~~~~~~~~~ 129 | sizeof(buf) - 7, msgfacility[i].mf_name); | ~~~~~~~~~~~~~~~ | | | long unsigned int message.c: In function 'setmsgtypes': message.c:243:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 243 | if (cp = strchr(strptr, ',')) | ^~ message.c:247:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 247 | if (mtp = getmsgtype(word)) { | ^~~ message.c: In function 'msgparseopts': message.c:311:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 311 | if (mcp = setmsgtypes(msgfac, cp)) | ^~~ message.c: In function 'msgsendstdout': message.c:351:11: warning: implicit declaration of function 'sendcmd' [-Wimplicit-function-declaration] 351 | (void) sendcmd(cmd, "%s", msgbuf); | ^~~~~~~ message.c: In function '_message': message.c:530:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 530 | if (cp = strchr(msgbuf, '\n')) | ^~ At top level: message.c:47:13: warning: 'copyright' defined but not used [-Wunused-variable] 47 | static char copyright[] = | ^~~~~~~~~ message.c:45:13: warning: 'sccsid' defined but not used [-Wunused-variable] 45 | static char sccsid[] = "@(#)common.c"; | ^~~~~~ message.c:42:13: warning: 'RCSid' defined but not used [-Wunused-variable] 42 | static char RCSid[] = | ^~~~~ message.c: In function 'fatalerr': message.c:802:23: warning: '%s' directive writing up to 32767 bytes into a region of size 32755 [-Wformat-overflow=] 802 | (void) sprintf(buf, "LOCAL ERROR: %s", msg); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:24, from message.c:57: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 32781 bytes into a destination of size 32768 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ message.c:800:23: warning: '%s' directive writing up to 32767 bytes into a region of size 32754 [-Wformat-overflow=] 800 | (void) sprintf(buf, "REMOTE ERROR: %s", msg); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:24, from message.c:57: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 32782 bytes into a destination of size 32768 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 -I. -I../include -I../config -c -o common.o common.c In file included from common.c:57: ../include/defs.h:353:15: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 353 | extern void log(); | ^~~ ../include/defs.h:82:1: note: 'log' is declared in header '' 81 | #include +++ |+#include 82 | #endif common.c: In function 'setprogname': common.c:120:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 120 | if (cp = strrchr(progname, '/')) | ^~ common.c: In function 'init': common.c:151:2: warning: implicit declaration of function 'setargs_settup' [-Wimplicit-function-declaration] 151 | setargs_settup(argc, argv, envp); | ^~~~~~~~~~~~~~ common.c: At top level: common.c:497:1: warning: return type defaults to 'int' [-Wimplicit-int] 497 | readrem(p, space) | ^~~~~~~ common.c: In function 'exptilde': common.c:697:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 697 | for (s1 = ebuf; *s1++ = *s2++; ) | ^ common.c:702:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 702 | while (*s1++ = *s3++) | ^ common.c: In function 'runcommand': common.c:834:3: warning: missing sentinel in function call [-Wformat=] 834 | (void) execl(_PATH_BSHELL, "sh", "-c", cmd, 0); | ^ common.c:874:14: warning: implicit declaration of function 'wait'; did you mean 'waitup'? [-Wimplicit-function-declaration] 874 | while ((i = wait(&status)) != pid && i != -1) | ^~~~ | waitup common.c: In function 'xbasename': common.c:941:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 941 | if (cp = strrchr(path, '/')) | ^~ common.c: In function 'getsocketpair': common.c:1006:9: warning: implicit declaration of function 'socketpair'; did you mean 'getsocketpair'? [-Wimplicit-function-declaration] 1006 | return(socketpair(domain, type, protocol, sv)); | ^~~~~~~~~~ | getsocketpair common.c: In function 'response': common.c:650:1: warning: control reaches end of non-void function [-Wreturn-type] 650 | } | ^ common.c: In function 'runcommand': common.c:830:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 830 | (void) dup(fd[PIPE_WRITE]); | ^~~~~~~~~~~~~~~~~~~ common.c:831:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 831 | (void) dup(fd[PIPE_WRITE]); | ^~~~~~~~~~~~~~~~~~~ At top level: common.c:47:13: warning: 'copyright' defined but not used [-Wunused-variable] 47 | static char copyright[] = | ^~~~~~~~~ common.c:45:13: warning: 'sccsid' defined but not used [-Wunused-variable] 45 | static char sccsid[] = "@(#)common.c"; | ^~~~~~ common.c:42:13: warning: 'RCSid' defined but not used [-Wunused-variable] 42 | static char RCSid[] = | ^~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' make[1]: *** [Makefile:16: all] Error 2 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/src' Making "all" in "config" make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/config' make[2]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/config' Making "all" in "doc" make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/doc' make[2]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/doc' Making "all" in "support" make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/support' make[2]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/rdist-6.1.5/support' Making "all" in "mf" make[1]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GqS5Wj + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64 + cd rdist-6.1.5 + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64/usr/bin + install -d /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64/usr/sbin + install -d /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64/usr/share/man/man1 /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64/usr/share/man/man8 + install -m0755 src/rdist /home/iurt/rpmbuild/BUILDROOT/rdist-6.1.5-33.mga8.x86_64/usr/bin install: cannot stat 'src/rdist': No such file or directory error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.GqS5Wj (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.GqS5Wj (%install) I: [iurt_root_command] ERROR: chroot