+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/jam.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3TshAl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jam-2.5 + /usr/bin/mkdir -p jam-2.5 + cd jam-2.5 + /usr/bin/unzip -qq /builddir/build/SOURCES/jam-2.5.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (jam-2.5-overflow.patch):' Patch #0 (jam-2.5-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflows --fuzz=0 patching file expand.c patching file jam.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1jvwny + umask 022 + cd /builddir/build/BUILD + cd jam-2.5 + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' 'CCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -j4 cc -o ./jam0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 builtins.c command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c execunix.c: In function 'execcmd': execunix.c:232:13: warning: implicit declaration of function 'vfork' [-Wimplicit-function-declaration] if ((pid = vfork()) == 0) ^~~~~ execunix.c:234:6: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp( argv[0], argv ); ^~~~~~ execunix.c:235:6: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(127); ^~~~~ execunix.c:235:6: warning: incompatible implicit declaration of built-in function '_exit' execunix.c: In function 'execwait': execunix.c:277:15: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] while( ( w = wait( &status ) ) == -1 && errno == EINTR ) ^~~~ exit expand.c: In function 'var_expand': expand.c:85:25: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf( "expand '%.*s'\n", end - in, in ); ~~^~ ~~~~~~~~ expand.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( colon = strchr( varname, MAGIC_COLON ) ) ^~~~~ expand.c:222:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( bracket = strchr( varname, MAGIC_LEFT ) ) ^~~~~~~ expand.c:226:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( dash = strchr( bracket + 1, '-' ) ) ^~~~ expand.c:289:54: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", ~^ %li expand.c:309:54: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", ~^ %li expand.c:336:54: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", ~^ %li expand.c: In function 'var_edit_parse': expand.c:468:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if( p = strchr( mods, MAGIC_COLON ) ) ^ fileunix.c: In function 'file_dirscan': fileunix.c:139:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( dirent = readdir( d ) ) ^~~~~~ fileunix.c: In function 'file_archscan': fileunix.c:200:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if( read( fd, buf, SARMAG ) != SARMAG || ^~~~ fread fileunix.c:203:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close( fd ); ^~~~~ pclose fileunix.c:255:3: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] lseek(fd, offset + SARHDR, 0); ^~~~~ fseek hash.c: In function 'hashstat': hash.c:242:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( here = ( *tab++ != (ITEM *)0 ) ) ^~~~ hash.c:249:36: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", ~^ %ld hash.c:255:3: hp->tab.nel * sizeof( ITEM ** ) / 1024, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ headers.c: In function 'headers': headers.c:55:8: warning: unused variable 'hdrcache' [-Wunused-variable] LIST *hdrcache; ^~~~~~~~ jam.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] main( int argc, char **argv, char **arg_environ ) ^~~~ jam.c: In function 'main': jam.c:235:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ^ jam.c:318:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 's', n ); n++ ) ^ jam.c:332:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ^ jam.c:342:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 't', n ); n++ ) ^ jam.c:347:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = getoptval( optv, 'o', 0 ) ) ^ jamgram.c:3:1: warning: 'yyrcsid' defined but not used [-Wunused-const-variable=] yyrcsid[] = "$FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.28.2.1 2001/07/19 05:46:39 peter Exp $"; ^~~~~~~ lists.c: In function 'list_printq': lists.c:193:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( p = (char *)memchr( op, '"', ep - op ) ) ^ make.c: In function 'make0': make.c:247:41: warning: array subscript has type 'char' [-Wchar-subscripts] spaces( depth ), t->name, target_bind[ t->binding ] ); ^ make.c:475:20: warning: array subscript has type 'char' [-Wchar-subscripts] flag, target_fate[ t->fate ], ^ make.c:481:33: warning: array subscript has type 'char' [-Wchar-subscripts] printf( "%s %s\n", target_fate[ t->fate ], t->name ); ^ make.c:170:15: warning: unused variable 'd' [-Wunused-variable] TARGETS *c, *d, *incs; ^ make1.c: In function 'make1d': make1.c:389:8: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if( !unlink( targets->string ) ) ^~~~~~ unix make1.c: In function 'make1cmds': make1.c:429:15: warning: unused variable 'cmd' [-Wunused-variable] CMD *cmd; ^~~ pathunix.c: In function 'path_parse': pathunix.c:113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( q = (char *)memchr( q, '.', end - q ) ) ^ regexp.c: In function 'reg': regexp.c:349:10: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] ender = regnode((paren) ? CLOSE+parno : END); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rules.c: In function 'targetchain': rules.c:188:11: warning: unused variable 'c' [-Wunused-variable] TARGETS *c; ^ rules.c: In function 'copysettings': rules.c:300:23: warning: unused variable 'v' [-Wunused-variable] SETTINGS *head = 0, *v; ^ search.c: In function 'search': search.c:37:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( varlist = var_get( "LOCATE" ) ) ^~~~~~~ search.c:51:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if( varlist = var_get( "SEARCH" ) ) ^~~~~~~ variable.c: In function 'var_defines': variable.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = strchr( *e, '=' ) ) ^~~ variable.c:109:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ^ variable.c: In function 'var_string': variable.c:195:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( l = list_next( l ) ) ^ ./jam0 ...found 244 target(s)... ...updating 33 target(s)... MkDir1 bin.linux Cc bin.linux/builtins.o Cc bin.linux/command.o Cc bin.linux/compile.o Cc bin.linux/execunix.o execunix.c: In function 'execcmd': execunix.c:232:13: warning: implicit declaration of function 'vfork' [-Wimplicit-function-declaration] if ((pid = vfork()) == 0) ^~~~~ execunix.c:234:6: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp( argv[0], argv ); ^~~~~~ execunix.c:235:6: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(127); ^~~~~ execunix.c:235:6: warning: incompatible implicit declaration of built-in function '_exit' execunix.c: In function 'execwait': execunix.c:277:15: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] while( ( w = wait( &status ) ) == -1 && errno == EINTR ) ^~~~ exit Cc bin.linux/fileunix.o fileunix.c: In function 'file_dirscan': fileunix.c:139:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( dirent = readdir( d ) ) ^~~~~~ fileunix.c: In function 'file_archscan': fileunix.c:200:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if( read( fd, buf, SARMAG ) != SARMAG || ^~~~ fread fileunix.c:203:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close( fd ); ^~~~~ pclose fileunix.c:255:3: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] lseek(fd, offset + SARHDR, 0); ^~~~~ fseek Cc bin.linux/pathunix.o pathunix.c: In function 'path_parse': pathunix.c:113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( q = (char *)memchr( q, '.', end - q ) ) ^ Yacc1 jamgram.c jamgram.h YaccMv jamgram.c jamgram.h Cc bin.linux/jamgram.o Cc bin.linux/expand.o expand.c: In function 'var_expand': expand.c:85:25: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf( "expand '%.*s'\n", end - in, in ); ~~^~ ~~~~~~~~ expand.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( colon = strchr( varname, MAGIC_COLON ) ) ^~~~~ expand.c:222:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( bracket = strchr( varname, MAGIC_LEFT ) ) ^~~~~~~ expand.c:226:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( dash = strchr( bracket + 1, '-' ) ) ^~~~ expand.c:289:54: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", ~^ %li expand.c:309:54: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", ~^ %li expand.c:336:54: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", ~^ %li expand.c: In function 'var_edit_parse': expand.c:468:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if( p = strchr( mods, MAGIC_COLON ) ) ^ Cc bin.linux/glob.o Cc bin.linux/hash.o hash.c: In function 'hashstat': hash.c:242:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( here = ( *tab++ != (ITEM *)0 ) ) ^~~~ hash.c:249:36: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", ~^ %ld hash.c:255:3: hp->tab.nel * sizeof( ITEM ** ) / 1024, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cc bin.linux/headers.o headers.c: In function 'headers': headers.c:55:8: warning: unused variable 'hdrcache' [-Wunused-variable] LIST *hdrcache; ^~~~~~~~ Cc bin.linux/lists.o lists.c: In function 'list_printq': lists.c:193:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( p = (char *)memchr( op, '"', ep - op ) ) ^ Cc bin.linux/make.o make.c: In function 'make0': make.c:247:41: warning: array subscript has type 'char' [-Wchar-subscripts] spaces( depth ), t->name, target_bind[ t->binding ] ); ^ make.c:475:20: warning: array subscript has type 'char' [-Wchar-subscripts] flag, target_fate[ t->fate ], ^ make.c:481:33: warning: array subscript has type 'char' [-Wchar-subscripts] printf( "%s %s\n", target_fate[ t->fate ], t->name ); ^ make.c:170:15: warning: unused variable 'd' [-Wunused-variable] TARGETS *c, *d, *incs; ^ Cc bin.linux/make1.o make1.c: In function 'make1d': make1.c:389:8: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if( !unlink( targets->string ) ) ^~~~~~ unix make1.c: In function 'make1cmds': make1.c:429:15: warning: unused variable 'cmd' [-Wunused-variable] CMD *cmd; ^~~ Cc bin.linux/newstr.o Cc bin.linux/option.o Cc bin.linux/parse.o Cc bin.linux/regexp.o regexp.c: In function 'reg': regexp.c:349:10: warning: 'parno' may be used uninitialized in this function [-Wmaybe-uninitialized] ender = regnode((paren) ? CLOSE+parno : END); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cc bin.linux/rules.o rules.c: In function 'targetchain': rules.c:188:11: warning: unused variable 'c' [-Wunused-variable] TARGETS *c; ^ rules.c: In function 'copysettings': rules.c:300:23: warning: unused variable 'v' [-Wunused-variable] SETTINGS *head = 0, *v; ^ Cc bin.linux/scan.o Cc bin.linux/search.o search.c: In function 'search': search.c:37:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( varlist = var_get( "LOCATE" ) ) ^~~~~~~ search.c:51:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if( varlist = var_get( "SEARCH" ) ) ^~~~~~~ Cc bin.linux/timestamp.o Cc bin.linux/variable.o variable.c: In function 'var_defines': variable.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( val = strchr( *e, '=' ) ) ^~~ variable.c:109:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ^ variable.c: In function 'var_string': variable.c:195:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( l = list_next( l ) ) ^ Archive bin.linux/libjam.a ar: creating bin.linux/libjam.a Ranlib bin.linux/libjam.a Cc bin.linux/mkjambase.o mkjambase.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] main( int argc, char **argv, char **envp ) ^~~~ Link bin.linux/mkjambase Chmod1 bin.linux/mkjambase Cc bin.linux/jam.o jam.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] main( int argc, char **argv, char **arg_environ ) ^~~~ jam.c: In function 'main': jam.c:235:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ^ jam.c:318:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 's', n ); n++ ) ^ jam.c:332:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ^ jam.c:342:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for( n = 0; s = getoptval( optv, 't', n ); n++ ) ^ jam.c:347:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = getoptval( optv, 'o', 0 ) ) ^ GenFile1 jambase.c Cc bin.linux/jambase.o Link bin.linux/jam Chmod1 bin.linux/jam ...updated 33 target(s)... + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vCf2Ou + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 + cd jam-2.5 + rm -rf /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64//usr/bin + install -m0755 bin.linux/jam /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64//usr/bin + install -m0755 bin.linux/mkjambase /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64//usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jam-2.5-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1qCqCV + umask 022 + cd /builddir/build/BUILD + cd jam-2.5 + DOCDIR=/builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64/usr/share/doc/jam + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64/usr/share/doc/jam + cp -pr README /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64/usr/share/doc/jam + cp -pr RELNOTES /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64/usr/share/doc/jam + cp -pr Jam.html Jambase.html Jamfile.html /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64/usr/share/doc/jam + exit 0 Provides: jam = 2.5-22.fc28 jam(riscv-64) = 2.5-22.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/jam-2.5-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/jam-2.5-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gUnb5D + umask 022 + cd /builddir/build/BUILD + cd jam-2.5 + rm -rf /builddir/build/BUILDROOT/jam-2.5-22.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff