Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jam.spec'], chrootPath='/var/lib/mock/f37-build-668930-74823/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jam.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/jam-2.5-32.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jam.spec'], chrootPath='/var/lib/mock/f37-build-668930-74823/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jam.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zBEN70 + 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/lib/rpm/rpmuncompress -x /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 -f -p1 -b --suffix .overflows --fuzz=0 patching file expand.c patching file jam.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9EWFzI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jam-2.5 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'CCFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 cc -o ./jam0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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:20: warning: implicit declaration of function 'vfork' [-Wimplicit-function-declaration] 232 | if ((pid = vfork()) == 0) | ^~~~~ execunix.c:234:13: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 234 | execvp( argv[0], argv ); | ^~~~~~ execunix.c:234:30: warning: passing argument 2 of 'execvp' from incompatible pointer type [-Wincompatible-pointer-types] 234 | execvp( argv[0], argv ); | ^~~~ | | | const char ** execunix.c:234:30: note: expected 'char * const*' but argument is of type 'const char **' execunix.c:235:13: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 235 | _exit(127); | ^~~~~ execunix.c:235:13: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] execunix.c: In function 'execwait': execunix.c:277:22: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 277 | while( ( w = wait( &status ) ) == -1 && errno == EINTR ) | ^~~~ expand.c: In function 'var_expand': expand.c:85:32: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 85 | printf( "expand '%.*s'\n", end - in, in ); | ~~^~ ~~~~~~~~ | | | | int long int expand.c:212:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 212 | if( colon = strchr( varname, MAGIC_COLON ) ) | ^~~~~ expand.c:222:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 222 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ^~~~~~~ expand.c:226:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 226 | if( dash = strchr( bracket + 1, '-' ) ) | ^~~~ expand.c:289:75: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 289 | fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", | ~^ | | | int | %li 290 | sizeof( out_buf ), out, value->string ); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int expand.c:309:75: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 309 | fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", | ~^ | | | int | %li 310 | sizeof( out_buf ), out, edits.join.ptr ); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int expand.c:336:75: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 336 | fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", | ~^ | | | int | %li 337 | sizeof( out_buf ), out, rem->string ); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int expand.c: In function 'var_edit_parse': expand.c:468:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 468 | else if( p = strchr( mods, MAGIC_COLON ) ) | ^ fileunix.c: In function 'file_dirscan': fileunix.c:139:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 139 | while( dirent = readdir( d ) ) | ^~~~~~ fileunix.c: In function 'file_archscan': fileunix.c:200:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 200 | if( read( fd, buf, SARMAG ) != SARMAG || | ^~~~ | fread fileunix.c:203:13: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 203 | close( fd ); | ^~~~~ | pclose fileunix.c:255:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 255 | lseek(fd, offset + SARHDR, 0); | ^~~~~ | fseek hash.c: In function 'hashstat': hash.c:242:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 242 | if( here = ( *tab++ != (ITEM *)0 ) ) | ^~~~ hash.c:249:43: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] 249 | printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", | ~^ | | | int | %ld ...... 255 | hp->tab.nel * sizeof( ITEM ** ) / 1024, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int headers.c: In function 'headers': headers.c:55:18: warning: unused variable 'hdrcache' [-Wunused-variable] 55 | LIST *hdrcache; | ^~~~~~~~ jam.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] 169 | main( int argc, char **argv, char **arg_environ ) | ^~~~ jam.c: In function 'main': jam.c:235:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 235 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ^ jam.c:318:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 318 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ^ jam.c:332:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 332 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ^ jam.c:342:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 342 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ^ jam.c:347:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 347 | if( s = getoptval( optv, 'o', 0 ) ) | ^ jamgram.c:3:1: warning: 'yyrcsid' defined but not used [-Wunused-const-variable=] 3 | 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:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 193 | while( p = (char *)memchr( op, '"', ep - op ) ) | ^ make.c: In function 'make0': make.c:247:65: warning: array subscript has type 'char' [-Wchar-subscripts] 247 | spaces( depth ), t->name, target_bind[ t->binding ] ); | ~^~~~~~~~~ make.c:475:37: warning: array subscript has type 'char' [-Wchar-subscripts] 475 | flag, target_fate[ t->fate ], | ~^~~~~~ make.c:481:50: warning: array subscript has type 'char' [-Wchar-subscripts] 481 | printf( "%s %s\n", target_fate[ t->fate ], t->name ); | ~^~~~~~ make.c:170:22: warning: unused variable 'd' [-Wunused-variable] 170 | TARGETS *c, *d, *incs; | ^ make1.c: In function 'make1d': make1.c:389:22: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 389 | if( !unlink( targets->string ) ) | ^~~~~~ make1.c: In function 'make1cmds': make1.c:429:22: warning: unused variable 'cmd' [-Wunused-variable] 429 | CMD *cmd; | ^~~ pathunix.c: In function 'path_parse': pathunix.c:113:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | while( q = (char *)memchr( q, '.', end - q ) ) | ^ rules.c: In function 'targetchain': rules.c:188:18: warning: unused variable 'c' [-Wunused-variable] 188 | TARGETS *c; | ^ rules.c: In function 'copysettings': rules.c:300:30: warning: unused variable 'v' [-Wunused-variable] 300 | SETTINGS *head = 0, *v; | ^ search.c: In function 'search': search.c:37:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 37 | if( varlist = var_get( "LOCATE" ) ) | ^~~~~~~ search.c:51:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 51 | else if( varlist = var_get( "SEARCH" ) ) | ^~~~~~~ variable.c: In function 'var_defines': variable.c:85:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | if( val = strchr( *e, '=' ) ) | ^~~ variable.c:109:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ^ variable.c: In function 'var_string': variable.c:195:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 195 | if( l = list_next( l ) ) | ^ ./jam0 ...found 277 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:20: warning: implicit declaration of function 'vfork' [-Wimplicit-function-declaration] 232 | if ((pid = vfork()) == 0) | ^~~~~ execunix.c:234:13: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 234 | execvp( argv[0], argv ); | ^~~~~~ execunix.c:234:30: warning: passing argument 2 of 'execvp' from incompatible pointer type [-Wincompatible-pointer-types] 234 | execvp( argv[0], argv ); | ^~~~ | | | const char ** execunix.c:234:30: note: expected 'char * const*' but argument is of type 'const char **' execunix.c:235:13: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 235 | _exit(127); | ^~~~~ execunix.c:235:13: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] execunix.c: In function 'execwait': execunix.c:277:22: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 277 | while( ( w = wait( &status ) ) == -1 && errno == EINTR ) | ^~~~ execunix.c: In function 'execcmd': execunix.c:179:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 179 | sprintf( jobno, "%d", slot + 1 ); | ^~ execunix.c:179:29: note: directive argument in the range [-2147483647, 2147483647] 179 | sprintf( jobno, "%d", slot + 1 ); | ^~~~ In file included from /usr/include/stdio.h:906, from jam.h:372, from execunix.c:41: In function 'sprintf', inlined from 'execcmd' at execunix.c:179:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 12 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Cc bin.linux/fileunix.o fileunix.c: In function 'file_dirscan': fileunix.c:139:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 139 | while( dirent = readdir( d ) ) | ^~~~~~ fileunix.c: In function 'file_archscan': fileunix.c:200:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 200 | if( read( fd, buf, SARMAG ) != SARMAG || | ^~~~ | fread fileunix.c:203:13: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 203 | close( fd ); | ^~~~~ | pclose fileunix.c:255:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 255 | lseek(fd, offset + SARHDR, 0); | ^~~~~ | fseek Cc bin.linux/pathunix.o pathunix.c: In function 'path_parse': pathunix.c:113:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 113 | 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:32: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 85 | printf( "expand '%.*s'\n", end - in, in ); | ~~^~ ~~~~~~~~ | | | | int long int expand.c:212:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 212 | if( colon = strchr( varname, MAGIC_COLON ) ) | ^~~~~ expand.c:222:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 222 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ^~~~~~~ expand.c:226:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 226 | if( dash = strchr( bracket + 1, '-' ) ) | ^~~~ expand.c:289:75: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 289 | fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", | ~^ | | | int | %li 290 | sizeof( out_buf ), out, value->string ); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int expand.c:309:75: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 309 | fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", | ~^ | | | int | %li 310 | sizeof( out_buf ), out, edits.join.ptr ); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int expand.c:336:75: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 336 | fprintf( stderr, "ERROR: String longer than %i characters: '%s' + '%s'\n", | ~^ | | | int | %li 337 | sizeof( out_buf ), out, rem->string ); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int expand.c: In function 'var_edit_parse': expand.c:468:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 468 | 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:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 242 | if( here = ( *tab++ != (ITEM *)0 ) ) | ^~~~ hash.c:249:43: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] 249 | printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", | ~^ | | | int | %ld ...... 255 | hp->tab.nel * sizeof( ITEM ** ) / 1024, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int Cc bin.linux/headers.o headers.c: In function 'headers': headers.c:55:18: warning: unused variable 'hdrcache' [-Wunused-variable] 55 | LIST *hdrcache; | ^~~~~~~~ Cc bin.linux/lists.o lists.c: In function 'list_printq': lists.c:193:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 193 | while( p = (char *)memchr( op, '"', ep - op ) ) | ^ Cc bin.linux/make.o make.c: In function 'make0': make.c:247:65: warning: array subscript has type 'char' [-Wchar-subscripts] 247 | spaces( depth ), t->name, target_bind[ t->binding ] ); | ~^~~~~~~~~ make.c:475:37: warning: array subscript has type 'char' [-Wchar-subscripts] 475 | flag, target_fate[ t->fate ], | ~^~~~~~ make.c:481:50: warning: array subscript has type 'char' [-Wchar-subscripts] 481 | printf( "%s %s\n", target_fate[ t->fate ], t->name ); | ~^~~~~~ make.c:170:22: warning: unused variable 'd' [-Wunused-variable] 170 | TARGETS *c, *d, *incs; | ^ Cc bin.linux/make1.o make1.c: In function 'make1d': make1.c:389:22: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 389 | if( !unlink( targets->string ) ) | ^~~~~~ make1.c: In function 'make1cmds': make1.c:429:22: warning: unused variable 'cmd' [-Wunused-variable] 429 | CMD *cmd; | ^~~ Cc bin.linux/newstr.o Cc bin.linux/option.o Cc bin.linux/parse.o Cc bin.linux/regexp.o Cc bin.linux/rules.o rules.c: In function 'targetchain': rules.c:188:18: warning: unused variable 'c' [-Wunused-variable] 188 | TARGETS *c; | ^ rules.c: In function 'copysettings': rules.c:300:30: warning: unused variable 'v' [-Wunused-variable] 300 | SETTINGS *head = 0, *v; | ^ Cc bin.linux/scan.o Cc bin.linux/search.o search.c: In function 'search': search.c:37:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 37 | if( varlist = var_get( "LOCATE" ) ) | ^~~~~~~ search.c:51:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 51 | 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:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | if( val = strchr( *e, '=' ) ) | ^~~ variable.c:109:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 109 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ^ variable.c: In function 'var_string': variable.c:195:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 195 | 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] 27 | 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] 169 | main( int argc, char **argv, char **arg_environ ) | ^~~~ jam.c: In function 'main': jam.c:235:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 235 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ^ jam.c:318:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 318 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ^ jam.c:332:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 332 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ^ jam.c:342:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 342 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ^ jam.c:347:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 347 | 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)... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EZVYgl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jam-2.5 + rm -rf /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64//usr/bin + install -m0755 bin.linux/jam /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64//usr/bin + install -m0755 bin.linux/mkjambase /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64//usr/bin + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.5-32.fc37 --unique-debug-suffix -2.5-32.fc37.riscv64 --unique-debug-src-base jam-2.5-32.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jam-2.5 extracting debug info from /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/bin/jam extracting debug info from /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/bin/mkjambase original debug info size: 756kB, size after compression: 728kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. cpio: y.tab.c: Cannot stat: No such file or directory 633 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: jam-2.5-32.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wLQJTC + umask 022 + cd /builddir/build/BUILD + cd jam-2.5 + DOCDIR=/builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/share/doc/jam + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/share/doc/jam + cp -pr README /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/share/doc/jam + cp -pr RELNOTES /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/share/doc/jam + cp -pr Jam.html Jambase.html Jamfile.html /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64/usr/share/doc/jam + RPM_EC=0 ++ jobs -p + exit 0 Provides: jam = 2.5-32.fc37 jam(riscv-64) = 2.5-32.fc37 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: jam-debugsource-2.5-32.fc37.riscv64 Provides: jam-debugsource = 2.5-32.fc37 jam-debugsource(riscv-64) = 2.5-32.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jam-debuginfo-2.5-32.fc37.riscv64 Provides: debuginfo(build-id) = 572ac1b773357d9d528d5057a3763792f0c50989 debuginfo(build-id) = 89976b268037643697336832f8f0dce83c77ee0b jam-debuginfo = 2.5-32.fc37 jam-debuginfo(riscv-64) = 2.5-32.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jam-debugsource(riscv-64) = 2.5-32.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 Wrote: /builddir/build/RPMS/jam-2.5-32.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/jam-debuginfo-2.5-32.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/jam-debugsource-2.5-32.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m99l0p + umask 022 + cd /builddir/build/BUILD + cd jam-2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jam-2.5-32.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.42oK0N + umask 022 + cd /builddir/build/BUILD + rm -rf jam-2.5 jam-2.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0