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/chntpw.spec'], chrootPath='/var/lib/mock/f40-build-762778-122105/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/chntpw.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 warning: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/chntpw-1.00-13.140201.fc40.src.rpm RPM build warnings: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/chntpw.spec'], chrootPath='/var/lib/mock/f40-build-762778-122105/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/chntpw.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 warning: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XqkFXV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chntpw-140201 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/chntpw-source-140201.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd chntpw-140201 + rm -rf /builddir/build/BUILD/chntpw-140201-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/chntpw-140201-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/chntpw-README.Dist README.Dist + sed -e 's/\r$//' WinReg.txt + touch -c -r WinReg.txt WinReg.txt.eol + mv WinReg.txt.eol WinReg.txt + echo 'Patch #1 (chntpw-140201-get_abs_path.patch):' Patch #1 (chntpw-140201-get_abs_path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ntreg.c + echo 'Patch #3 (chntpw-140201-port-to-gcrypt-debian.patch):' Patch #3 (chntpw-140201-port-to-gcrypt-debian.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file chntpw.c patching file Makefile + echo 'Patch #4 (chntpw-110511-robustness.patch):' Patch #4 (chntpw-110511-robustness.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ntreg.c Hunk #1 succeeded at 227 (offset 37 lines). Hunk #2 succeeded at 4247 (offset 124 lines). + echo 'Patch #5 (chntpw-080526-correct-test-for-failing-open-syscall.patch):' Patch #5 (chntpw-080526-correct-test-for-failing-open-syscall.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ntreg.c Hunk #1 succeeded at 4137 (offset 1372 lines). + echo 'Patch #6 (chntpw-110511-detect-failure-to-write-key.patch):' Patch #6 (chntpw-110511-detect-failure-to-write-key.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ntreg.c Hunk #1 succeeded at 3497 (offset 108 lines). + echo 'Patch #7 (chntpw-110511-reged-no-deref-null.patch):' Patch #7 (chntpw-110511-reged-no-deref-null.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file reged.c + echo 'Patch #8 (chntpw-140201-fix-bogus-errno-use.patch):' Patch #8 (chntpw-140201-fix-bogus-errno-use.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ntreg.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VZ6DSn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 chntpw-140201 + make CC=gcc 'EXTRA_CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' chntpw cpnt reged sampasswd samusrgrp gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer chntpw.c chntpw.c: In function ‘handle_syskey’: chntpw.c:872:31: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] 872 | ff->syskeyflags1[i] = 0; | ~~~~~~~~~~~~~~~~~~~~^~~ chntpw.c:871:23: note: within this loop 871 | for (i = 0; i < 0x3b; i++) { | ~~^~~~~~ gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ntreg.c ntreg.c: In function ‘parse_nk’: ntreg.c:546:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 546 | printf("%04x type = 0x%02x %s\n", D_OFFS(type) ,key->type, | ~~~^ | | | unsigned int | %04lx ntreg.c:548:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 548 | printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); | ~~~^ | | | unsigned int | %04lx ntreg.c:549:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 549 | printf("%04x parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:550:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 550 | printf("%04x number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys); | ~~~^ | | | unsigned int | %04lx ntreg.c:551:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 551 | printf("%04x lf-record offset = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:552:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 552 | printf("%04x number of values = %d\n", D_OFFS(no_values),key->no_values); | ~~~^ | | | unsigned int | %04lx ntreg.c:553:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 553 | printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:554:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 554 | printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:555:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 555 | printf("%04x classname offset = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:557:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 557 | printf("%04x dummy3 = 0x%0x (%d)\n",D_OFFS(dummy3),key->dummy3,key->dummy3); | ~~~^ | | | unsigned int | %04lx ntreg.c:558:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 558 | printf("%04x dummy4 = 0x%0x (%d)\n",D_OFFS(dummy4),key->dummy4,key->dummy4); | ~~~^ | | | unsigned int | %04lx ntreg.c:559:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 559 | printf("%04x dummy5 = 0x%0x (%d)\n",D_OFFS(dummy5),key->dummy5,key->dummy5); | ~~~^ | | | unsigned int | %04lx ntreg.c:560:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 560 | printf("%04x dummy6 = 0x%0x (%d)\n",D_OFFS(dummy6),key->dummy6,key->dummy6); | ~~~^ | | | unsigned int | %04lx ntreg.c:561:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 561 | printf("%04x dummy7 = 0x%0x (%d)\n",D_OFFS(dummy7),key->dummy7,key->dummy7); | ~~~^ | | | unsigned int | %04lx ntreg.c:563:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 563 | printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); | ~~~^ | | | unsigned int | %04lx ntreg.c:564:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 564 | printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); | ~~~^ | | | unsigned int | %04lx ntreg.c:566:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 566 | printf("%04x Key name: <",D_OFFS(keyname) ); | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_vk’: ntreg.c:584:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 584 | printf("%04x name length = %d (0x%0x)\n", D_OFFS(len_name), | ~~~^ | | | unsigned int | %04lx ntreg.c:586:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 586 | printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), | ~~~^ | | | unsigned int | %04lx ntreg.c:588:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 588 | printf("%04x data offset = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:589:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 589 | printf("%04x value type = 0x%0x %s\n", D_OFFS(val_type), key->val_type, | ~~~^ | | | unsigned int | %04lx ntreg.c:592:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 592 | printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); | ~~~^ | | | unsigned int | %04lx ntreg.c:593:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 593 | printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); | ~~~^ | | | unsigned int | %04lx ntreg.c:595:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 595 | printf("%04x Key name: <",D_OFFS(keyname) ); | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_sk’: ntreg.c:613:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 613 | printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); | ~~~^ | | | unsigned int | %04lx ntreg.c:614:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 614 | printf("%04x Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:615:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 615 | printf("%04x Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk + 0x1000); | ~~~^ | | | unsigned int | %04lx ntreg.c:616:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 616 | printf("%04x Usage counter = %d (0x%0x)\n", D_OFFS(no_usage), | ~~~^ | | | unsigned int | %04lx ntreg.c:618:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 618 | printf("%04x Security data len = %d (0x%0x)\n", D_OFFS(len_sk), | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_lf’: ntreg.c:637:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 637 | printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); | ~~~^ | | | unsigned int | %04lx ntreg.c:640:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 640 | printf("%04x %3d Offset: 0x%0x - <%c%c%c%c>\n", | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_lh’: ntreg.c:665:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 665 | printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); | ~~~^ | | | unsigned int | %04lx ntreg.c:668:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 668 | printf("%04x %3d Offset: 0x%0x - \n", | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_li’: ntreg.c:692:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 692 | printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); | ~~~^ | | | unsigned int | %04lx ntreg.c:695:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 695 | printf("%04x %3d Offset: 0x%0x\n", | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_ri’: ntreg.c:717:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 717 | printf("%04x number of subindices = %d\n", D_OFFS(no_lis), key->no_lis ); | ~~~^ | | | unsigned int | %04lx ntreg.c:720:16: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 720 | printf("%04x %3d Offset: 0x%0x\n", | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘parse_db’: ntreg.c:739:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 739 | printf("%04x number of parts = %d\n", D_OFFS(no_part), key->no_part ); | ~~~^ | | | unsigned int | %04lx ntreg.c:741:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 741 | printf("%04x Data list at offset: 0x%0x\n", | ~~~^ | | | unsigned int | %04lx ntreg.c: In function ‘alloc_val_data’: ntreg.c:2155:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2155 | datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; | ^ ntreg.c:2155:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2155 | datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; | ^ ntreg.c: In function ‘fmyinput’: ntreg.c:233:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 233 | fgets(ibuf,maxlen+1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c: In function ‘free_block’: ntreg.c:1236:14: warning: ‘prev’ may be used uninitialized [-Wmaybe-uninitialized] 1236 | prevsz = get_int(hdesc->buffer+prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:1176:24: note: ‘prev’ was declared here 1176 | int pofs,vofs,seglen,prev,next,nextsz,prevsz,size; | ^~~~ ntreg.c: In function ‘trav_path’: ntreg.c:1734:58: warning: ‘plen’ may be used uninitialized [-Wmaybe-uninitialized] 1734 | return(trav_path(hdesc, newnkofs, path+plen+adjust, type)); | ^ ntreg.c:1597:17: note: ‘plen’ was declared here 1597 | int newnkofs, plen, i, lfofs, vlistofs, adjust, r, ricnt, subs; | ^~~~ ntreg.c:1707:43: warning: ‘partptr’ may be used uninitialized [-Wmaybe-uninitialized] 1707 | partw = string_prog2regw(part, partptr-part, &partw_len); | ~~~~~~~^~~~~ ntreg.c:1600:9: note: ‘partptr’ was declared here 1600 | char *partptr; | ^~~~~~~ ntreg.c:1734:58: warning: ‘adjust’ may be used uninitialized [-Wmaybe-uninitialized] 1734 | return(trav_path(hdesc, newnkofs, path+plen+adjust, type)); | ^ ntreg.c:1597:43: note: ‘adjust’ was declared here 1597 | int newnkofs, plen, i, lfofs, vlistofs, adjust, r, ricnt, subs; | ^~~~~~ ntreg.c: In function ‘add_key’: ntreg.c:2667:29: warning: ‘rislot’ may be used uninitialized [-Wmaybe-uninitialized] 2667 | ri->hash[rislot].ofs_li = (newlf ? newlfofs : newliofs) - 0x1000; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:2415:14: note: ‘rislot’ was declared here 2415 | int rimax, rislot, riofs, namlen; | ^~~~~~ ntreg.c: In function ‘del_key’: ntreg.c:2892:12: warning: ‘delnk’ may be used uninitialized [-Wmaybe-uninitialized] 2892 | if (delnk->len_classnam) { | ~~~~~^~~~~~~~~~~~~~ ntreg.c:2700:30: note: ‘delnk’ was declared here 2700 | struct nk_key *key, *onk, *delnk; | ^~~~~ In file included from ntreg.c:85: ntreg.c: In function ‘import_reg’: ntreg.h:372:22: warning: ‘valstr’ may be used uninitialized [-Wmaybe-uninitialized] 372 | #define FREE(p) { if (p) { free(p); (p) = 0; } } | ^ ntreg.c:4003:12: note: in expansion of macro ‘FREE’ 4003 | FREE(valstr); | ^~~~ ntreg.c:3891:11: note: ‘valstr’ was declared here 3891 | char *valstr, *key, *walstr = NULL; | ^~~~~~ ntreg.c: In function ‘openHive’: ntreg.c:4359:29: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized] 4359 | hdesc->lastbin = pofs - p->ofs_next; /* Compensate for loop that added at end above */ | ~^~~~~~~~~~ ntreg.c:4185:21: note: ‘p’ was declared here 4185 | struct hbin_page *p; | ^ gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer edlib.c gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer libsam.c libsam.c: In function ‘sam_put_grp_members_sid’: libsam.c:514:28: warning: passing argument 1 of ‘hexdump’ from incompatible pointer type [-Wincompatible-pointer-types] 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ | | | int * In file included from libsam.c:47: ntreg.h:394:20: note: expected ‘char *’ but argument is of type ‘int *’ 394 | void hexdump(char *hbuf, int start, int stop, int ascii); | ~~~~~~^~~~ libsam.c:531:56: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘void *’ [-Wformat=] 531 | if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); | ~^ ~~~~~~ | | | | unsigned int void * | %p libsam.c:542:27: warning: passing argument 1 of ‘hexdump’ from incompatible pointer type [-Wincompatible-pointer-types] 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ | | | int * ntreg.h:394:20: note: expected ‘char *’ but argument is of type ‘int *’ 394 | void hexdump(char *hbuf, int start, int stop, int ascii); | ~~~~~~^~~~ libsam.c: In function ‘sam_get_grp_members_sid’: libsam.c:467:12: warning: pointer used after ‘free’ [-Wuse-after-free] 467 | return(cd->grp_members); | ~~~^~~~~~~~~~~~~~ libsam.c:459:5: note: call to ‘free’ here 459 | free(c); | ^~~~~~~ fgrep: warning: fgrep is obsolescent; using grep -F fgrep: warning: fgrep is obsolescent; using grep -F gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o chntpw chntpw.o ntreg.o edlib.o libsam.o -lgcrypt -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer cpnt.c fgrep: warning: fgrep is obsolescent; using grep -F fgrep: warning: fgrep is obsolescent; using grep -F gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o cpnt cpnt.o -lgcrypt -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer reged.c In file included from /usr/include/stdio.h:980, from reged.c:33: In function ‘fprintf’, inlined from ‘main’ at reged.c:218:23: /usr/include/bits/stdio2.h:79:10: warning: ‘ch’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ reged.c: In function ‘main’: reged.c:89:9: note: ‘ch’ was declared here 89 | FILE *ch; | ^~ gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o reged reged.o ntreg.o edlib.o gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer sampasswd.c sampasswd.c: In function ‘main’: sampasswd.c:141:7: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized] 141 | int ret, wret, il; | ^~~ gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o sampasswd sampasswd.o ntreg.o libsam.o gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer samusrgrp.c gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o samusrgrp samusrgrp.o ntreg.o libsam.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.plbDuD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 chntpw-140201 + rm -rf /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/bin + cp chntpw cpnt reged sampasswd samusrgrp /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/man/man8/ + cp -p /builddir/build/SOURCES/chntpw.8 /builddir/build/SOURCES/reged.8 /builddir/build/SOURCES/sampasswd.8 /builddir/build/SOURCES/samusrgrp.8 /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/man/man8/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.00-13.140201.fc40 --unique-debug-suffix -1.00-13.140201.fc40.riscv64 --unique-debug-src-base chntpw-1.00-13.140201.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chntpw-140201 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/chntpw-1.00-13.140201.fc40.riscv64 542 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: chntpw-1.00-13.140201.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9D9x18 + umask 022 + cd /builddir/build/BUILD + cd chntpw-140201 + DOCDIR=/builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/GPL.txt /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/LGPL.txt /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/README.txt /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/regedit.txt /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/WinReg.txt /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/HISTORY.txt /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-140201/README.Dist /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64/usr/share/doc/chntpw + RPM_EC=0 ++ jobs -p + exit 0 Provides: chntpw = 1.00-13.140201.fc40 chntpw(riscv-64) = 1.00-13.140201.fc40 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) libgcrypt.so.20()(64bit) libgpg-error.so.0()(64bit) rtld(GNU_HASH) Processing files: chntpw-debugsource-1.00-13.140201.fc40.riscv64 Provides: chntpw-debugsource = 1.00-13.140201.fc40 chntpw-debugsource(riscv-64) = 1.00-13.140201.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chntpw-debuginfo-1.00-13.140201.fc40.riscv64 Provides: chntpw-debuginfo = 1.00-13.140201.fc40 chntpw-debuginfo(riscv-64) = 1.00-13.140201.fc40 debuginfo(build-id) = 0b445acca7eb346e24edb3197f2ea56f53fb21af debuginfo(build-id) = 7ee0c098bda17370d5488767aa3a50bab906ca92 debuginfo(build-id) = c68b09264a8d8310686a60019638cafebc115bc4 debuginfo(build-id) = d923f9fae539b3a128d144b21accf2ba9b6263b9 debuginfo(build-id) = dbd28af8097527173397cfcca0f73cdeda268519 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chntpw-debugsource(riscv-64) = 1.00-13.140201.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 Wrote: /builddir/build/RPMS/chntpw-debugsource-1.00-13.140201.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/chntpw-1.00-13.140201.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/chntpw-debuginfo-1.00-13.140201.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f8DZgQ + umask 022 + cd /builddir/build/BUILD + cd chntpw-140201 + /usr/bin/rm -rf /builddir/build/BUILDROOT/chntpw-1.00-13.140201.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.pB7xpF + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/chntpw-140201-SPECPARTS + rm -rf chntpw-140201 chntpw-140201.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) Child return code was: 0