Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/chntpw.spec'], chrootPath='/var/lib/mock/f42-build-56374632-6543691/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qye_u40y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qye_u40y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5586904953c44a548c6807fb89701dd2', '-D', '/var/lib/mock/f42-build-56374632-6543691/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qye_u40y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1736985600 Wrote: /builddir/build/SRPMS/chntpw-1.00-19.140201.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/chntpw.spec'], chrootPath='/var/lib/mock/f42-build-56374632-6543691/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qye_u40y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qye_u40y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '101e2435fbd34b88881c923f00dbfa6d', '-D', '/var/lib/mock/f42-build-56374632-6543691/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qye_u40y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1736985600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.bqiHnY + umask 022 + cd /builddir/build/BUILD/chntpw-1.00-build + test -d /builddir/build/BUILD/chntpw-1.00-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/chntpw-1.00-build + /usr/bin/rm -rf /builddir/build/BUILD/chntpw-1.00-build + /usr/bin/mkdir -p /builddir/build/BUILD/chntpw-1.00-build + /usr/bin/mkdir -p /builddir/build/BUILD/chntpw-1.00-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oPt3KU + umask 022 + cd /builddir/build/BUILD/chntpw-1.00-build + cd /builddir/build/BUILD/chntpw-1.00-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 + /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 Patch #3 (chntpw-140201-port-to-gcrypt-debian.patch): + echo '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). Patch #5 (chntpw-080526-correct-test-for-failing-open-syscall.patch): + echo '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). Patch #6 (chntpw-110511-detect-failure-to-write-key.patch): + echo '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). 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 -f -p1 --fuzz=0 patching file reged.c Patch #8 (chntpw-140201-fix-bogus-errno-use.patch): + echo 'Patch #8 (chntpw-140201-fix-bogus-errno-use.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ntreg.c Patch #9 (chntpw-140201-hexdump-pointer-type.patch): + echo 'Patch #9 (chntpw-140201-hexdump-pointer-type.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libsam.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rmfoQs + umask 022 + cd /builddir/build/BUILD/chntpw-1.00-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chntpw-140201 + make CC=gcc 'EXTRA_CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection' chntpw cpnt reged sampasswd samusrgrp gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection ntreg.c 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: ‘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 ‘get_abs_path’: ntreg.c:1534:3: warning: ‘strncpy’ output may be truncated copying between 0 and 4090 bytes from a string of length 4096 [-Wstringop-truncation] 1534 | strncpy(path+len_name+1,tmp,maxlen-6-len_name); | ^ ntreg.c: In function ‘import_reg’: ntreg.c:3946:18: warning: ‘valstr’ may be used uninitialized [-Wmaybe-uninitialized] 3946 | valstr = realloc(valstr, strlen(valstr) + l + 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection edlib.c gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection libsam.c libsam.c: In function ‘sam_put_grp_members_sid’: 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: 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); | ^~~~~~~ In function ‘sam_get_grp_members_sid’, inlined from ‘sam_add_user_to_grp’ at libsam.c:908:13: 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); | ^~~~~~~ In function ‘sam_get_grp_members_sid’, inlined from ‘sam_remove_user_from_grp’ at libsam.c:1097:13: 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); | ^~~~~~~ gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -o chntpw chntpw.o ntreg.o edlib.o libsam.o -lgcrypt -lgpg-error In function ‘handle_syskey’, inlined from ‘interactive’ at chntpw.c:1055:17, inlined from ‘main’ at chntpw.c:1147:7: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection cpnt.c gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -o cpnt cpnt.o -lgcrypt -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection reged.c In file included from /usr/include/stdio.h:970, from reged.c:33: In function ‘fprintf’, inlined from ‘main’ at reged.c:218:23: /usr/include/bits/stdio2.h:111:10: warning: ‘ch’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -o reged reged.o ntreg.o edlib.o gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -o sampasswd sampasswd.o ntreg.o libsam.o gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection samusrgrp.c gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -o samusrgrp samusrgrp.o ntreg.o libsam.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.P60jDM + umask 022 + cd /builddir/build/BUILD/chntpw-1.00-build + '[' /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT ++ dirname /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT + mkdir -p /builddir/build/BUILD/chntpw-1.00-build + mkdir /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chntpw-140201 + rm -rf /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT + mkdir -p /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/bin + cp chntpw cpnt reged sampasswd samusrgrp /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/bin + mkdir -p /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/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/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/man/man8/ + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 1.00-19.140201.fc42 --unique-debug-suffix -1.00-19.140201.fc42.i386 --unique-debug-src-base chntpw-1.00-19.140201.fc42.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chntpw-1.00-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-19.140201.fc42.i386 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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j48 /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT Scanned 14 directories and 25 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/chntpw-1.00-build/SPECPARTS/rpm-debuginfo.specpart Processing files: chntpw-1.00-19.140201.fc42.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DE5NMf + umask 022 + cd /builddir/build/BUILD/chntpw-1.00-build + cd chntpw-140201 + DOCDIR=/builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/GPL.txt /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/LGPL.txt /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/README.txt /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/regedit.txt /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/WinReg.txt /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/HISTORY.txt /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + cp -pr /builddir/build/BUILD/chntpw-1.00-build/chntpw-140201/README.Dist /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT/usr/share/doc/chntpw + RPM_EC=0 ++ jobs -p + exit 0 Provides: chntpw = 1.00-19.140201.fc42 chntpw(x86-32) = 1.00-19.140201.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcrypt.so.20 libgpg-error.so.0 rtld(GNU_HASH) Processing files: chntpw-debugsource-1.00-19.140201.fc42.i686 Provides: chntpw-debugsource = 1.00-19.140201.fc42 chntpw-debugsource(x86-32) = 1.00-19.140201.fc42 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-19.140201.fc42.i686 Provides: chntpw-debuginfo = 1.00-19.140201.fc42 chntpw-debuginfo(x86-32) = 1.00-19.140201.fc42 debuginfo(build-id) = 08f2617464bf8dcc72a79d38c5a258dc91eabfa1 debuginfo(build-id) = 30cca67386ede66e7edb3eb5cbf257dbba4ea181 debuginfo(build-id) = 999bb28496b3e0eafe3f78d06b4ec43466e5d091 debuginfo(build-id) = c674bea9a9c6239231341228f872b2cac2a97255 debuginfo(build-id) = d722090fabf144b885a27b91ac2af70431dce6a0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chntpw-debugsource(x86-32) = 1.00-19.140201.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/chntpw-1.00-build/BUILDROOT Wrote: /builddir/build/RPMS/chntpw-1.00-19.140201.fc42.i686.rpm Wrote: /builddir/build/RPMS/chntpw-debugsource-1.00-19.140201.fc42.i686.rpm Wrote: /builddir/build/RPMS/chntpw-debuginfo-1.00-19.140201.fc42.i686.rpm Child return code was: 0