Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/chntpw.spec'], chrootPath='/var/lib/mock/f29-build-9589-4301/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Sun Oct 11 2008 Conrad Meyer - 0.99.6-5 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/chntpw-0.99.6-30.110511.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/chntpw.spec'], chrootPath='/var/lib/mock/f29-build-9589-4301/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Sun Oct 11 2008 Conrad Meyer - 0.99.6-5 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vAoboD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chntpw-110511 + /usr/bin/unzip -qq /builddir/build/SOURCES/chntpw-source-110511.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd chntpw-110511 + /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 Patch #1 (chntpw-110511-get_abs_path.patch): + echo 'Patch #1 (chntpw-110511-get_abs_path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ntreg.c + echo 'Patch #3 (chntpw-110511-port-to-gcrypt-debian.patch):' Patch #3 (chntpw-110511-port-to-gcrypt-debian.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file chntpw.c patching file Makefile Patch #4 (chntpw-110511-robustness.patch): + echo 'Patch #4 (chntpw-110511-robustness.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ntreg.c Hunk #2 succeeded at 4124 (offset 1 line). + 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 -p1 --fuzz=0 patching file ntreg.c Hunk #1 succeeded at 4033 (offset 1268 lines). + echo 'Patch #6 (chntpw-110511-detect-failure-to-write-key.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #6 (chntpw-110511-detect-failure-to-write-key.patch): patching file ntreg.c Hunk #1 succeeded at 3394 (offset 5 lines). Patch #7 (chntpw-110511-reged-no-deref-null.patch): + echo 'Patch #7 (chntpw-110511-reged-no-deref-null.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file reged.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8cWe56 + umask 022 + cd /builddir/build/BUILD + cd chntpw-110511 + make CC=gcc 'EXTRA_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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' chntpw cpnt reged gcc -c -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection chntpw.c BUILDSTDERR: chntpw.c: In function 'handle_syskey': BUILDSTDERR: chntpw.c:1077:24: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] BUILDSTDERR: ff->syskeyflags1[i] = 0; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chntpw.c:1076:2: note: within this loop BUILDSTDERR: for (i = 0; i < 0x3b; i++) { BUILDSTDERR: ^~~ gcc -c -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ntreg.c BUILDSTDERR: ntreg.c: In function 'parse_nk': BUILDSTDERR: ntreg.c:471:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x type = 0x%02x %s\n", D_OFFS(type) ,key->type, BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:473:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:474:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:475:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:476:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x lf-record offset = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:477:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of values = %d\n", D_OFFS(no_values),key->no_values); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:478:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:479:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:480:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x classname offset = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:482:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x dummy3 = 0x%0x (%d)\n",D_OFFS(dummy3),key->dummy3,key->dummy3); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:483:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x dummy4 = 0x%0x (%d)\n",D_OFFS(dummy4),key->dummy4,key->dummy4); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:484:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x dummy5 = 0x%0x (%d)\n",D_OFFS(dummy5),key->dummy5,key->dummy5); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:485:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x dummy6 = 0x%0x (%d)\n",D_OFFS(dummy6),key->dummy6,key->dummy6); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:486:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x dummy7 = 0x%0x (%d)\n",D_OFFS(dummy7),key->dummy7,key->dummy7); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:488:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:489:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:491:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Key name: <",D_OFFS(keyname) ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_vk': BUILDSTDERR: ntreg.c:509:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x name length = %d (0x%0x)\n", D_OFFS(len_name), BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:511:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:513:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x data offset = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:514:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x value type = 0x%0x %s\n", D_OFFS(val_type), key->val_type, BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:517:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:518:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:520:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Key name: <",D_OFFS(keyname) ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_sk': BUILDSTDERR: ntreg.c:538:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:539:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:540:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk + 0x1000); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:541:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Usage counter = %d (0x%0x)\n", D_OFFS(no_usage), BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:543:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Security data len = %d (0x%0x)\n", D_OFFS(len_sk), BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_lf': BUILDSTDERR: ntreg.c:562:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:565:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x %3d Offset: 0x%0x - <%c%c%c%c>\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_lh': BUILDSTDERR: ntreg.c:590:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:593:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x %3d Offset: 0x%0x - \n", BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_li': BUILDSTDERR: ntreg.c:617:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:620:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x %3d Offset: 0x%0x\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_ri': BUILDSTDERR: ntreg.c:642:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of subindices = %d\n", D_OFFS(no_lis), key->no_lis ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:645:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x %3d Offset: 0x%0x\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'parse_db': BUILDSTDERR: ntreg.c:664:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x number of parts = %d\n", D_OFFS(no_part), key->no_part ); BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c:666:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: printf("%04x Data list at offset: 0x%0x\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %04lx BUILDSTDERR: ntreg.c: In function 'alloc_val_data': BUILDSTDERR: ntreg.c:2059:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; BUILDSTDERR: ^ BUILDSTDERR: ntreg.c:2059:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; BUILDSTDERR: ^ BUILDSTDERR: ntreg.c: In function 'import_reg': BUILDSTDERR: ntreg.c:3785:11: warning: variable 'valbuf' set but not used [-Wunused-but-set-variable] BUILDSTDERR: void *valbuf; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ntreg.c: In function 'openHive': BUILDSTDERR: ntreg.c:4137:56: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: "file is too small; got %d bytes while expecting %d or more\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: r, sizeof (*hdesc)); BUILDSTDERR: ~~~~~~~~~~~~~~~ BUILDSTDERR: ntreg.c: In function 'fmyinput': BUILDSTDERR: ntreg.c:196:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(ibuf,maxlen+1,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntreg.c: In function 'free_block': BUILDSTDERR: ntreg.c:1101:24: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int pofs,vofs,seglen,prev,next,nextsz,prevsz,size; BUILDSTDERR: ^~~~ BUILDSTDERR: ntreg.c: In function 'trav_path': BUILDSTDERR: ntreg.c:1659:51: warning: 'adjust' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return(trav_path(hdesc, newnkofs, path+plen+adjust, type)); BUILDSTDERR: ^ BUILDSTDERR: ntreg.c:1632:43: warning: 'partptr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: partw = string_prog2regw(part, partptr-part, &partw_len); BUILDSTDERR: ~~~~~~~^~~~~ BUILDSTDERR: ntreg.c:1584:36: warning: 'plen' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if ((type & TPF_VK_ABS) || (!path[plen] && (type & TPF_VK) && key->no_values) ) { BUILDSTDERR: ^ BUILDSTDERR: ntreg.c: In function 'import_reg': BUILDSTDERR: ntreg.c:3843:11: warning: 'valstr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: valstr = realloc(valstr, strlen(valstr) + l + 3); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ntreg.c: In function 'openHive': BUILDSTDERR: ntreg.c:4233:29: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: hdesc->lastbin = pofs - p->ofs_next; /* Compensate for loop that added at end above */ BUILDSTDERR: ~^~~~~~~~~~ gcc -c -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection edlib.c BUILDSTDERR: edlib.c: In function 'regedit_interactive': BUILDSTDERR: edlib.c:459:18: warning: variable 'cdkey' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct nk_key *cdkey; BUILDSTDERR: ^~~~~ gcc -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o chntpw chntpw.o ntreg.o edlib.o -lgcrypt -ldl -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection cpnt.c gcc -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o cpnt cpnt.o -lgcrypt -ldl -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection reged.c BUILDSTDERR: reged.c: In function 'main': BUILDSTDERR: reged.c:225:4: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: fclose(ch); BUILDSTDERR: ^~~~~~~~~~ gcc -DUSELIBGCRYPT -g -I. -Wall -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o reged reged.o ntreg.o edlib.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OywCbG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 + cd chntpw-110511 + rm -rf /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin + cp chntpw /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin + cp cpnt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin + cp reged /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/man/man8/ + cp -p /builddir/build/SOURCES/chntpw-chntpw.8 /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/man/man8/chntpw.8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.99.6-30.110511.fc29 --unique-debug-suffix -0.99.6-30.110511.fc29.riscv64 --unique-debug-src-base chntpw-0.99.6-30.110511.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chntpw-110511 extracting debug info from /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin/cpnt extracting debug info from /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin/reged extracting debug info from /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/bin/chntpw /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 415 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-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: chntpw-0.99.6-30.110511.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wu6zce + umask 022 + cd /builddir/build/BUILD + cd chntpw-110511 + DOCDIR=/builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr GPL.txt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr LGPL.txt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr README.txt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr regedit.txt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr WinReg.txt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr HISTORY.txt /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + cp -pr README.Dist /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64/usr/share/doc/chntpw + exit 0 Provides: chntpw = 0.99.6-30.110511.fc29 chntpw(riscv-64) = 0.99.6-30.110511.fc29 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) libdl.so.2()(64bit) libgcrypt.so.20()(64bit) libgcrypt.so.20(GCRYPT_1.6)(64bit) libgpg-error.so.0()(64bit) rtld(GNU_HASH) Processing files: chntpw-debugsource-0.99.6-30.110511.fc29.riscv64 Provides: chntpw-debugsource = 0.99.6-30.110511.fc29 chntpw-debugsource(riscv-64) = 0.99.6-30.110511.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chntpw-debuginfo-0.99.6-30.110511.fc29.riscv64 Provides: chntpw-debuginfo = 0.99.6-30.110511.fc29 chntpw-debuginfo(riscv-64) = 0.99.6-30.110511.fc29 debuginfo(build-id) = 25b5aaddc220f8d571102e2a6c4baf25119d01b5 debuginfo(build-id) = 6aca580abf27cbb504e9e01004d77de081d4f54d debuginfo(build-id) = f3da7d328256ff7fab8268a521ebc001078a0db8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chntpw-debugsource(riscv-64) = 0.99.6-30.110511.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 Wrote: /builddir/build/RPMS/chntpw-0.99.6-30.110511.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/chntpw-debugsource-0.99.6-30.110511.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/chntpw-debuginfo-0.99.6-30.110511.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FYeKYq + umask 022 + cd /builddir/build/BUILD + cd chntpw-110511 + rm -rf /builddir/build/BUILDROOT/chntpw-0.99.6-30.110511.fc29.riscv64 + exit 0 Child return code was: 0