Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/samdump2.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1669061506.047958/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kv0b1cb1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kv0b1cb1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '55019a1c7c2a41eb9b497d412dafd110', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1669061506.047958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kv0b1cb1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/samdump2.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1613520000 Wrote: /builddir/build/SRPMS/samdump2-3.0.0-20.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/samdump2.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1669061506.047958/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kv0b1cb1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kv0b1cb1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '6e57d12711914661830764683e95b715', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1669061506.047958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kv0b1cb1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/samdump2.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1613520000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7GAOK7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf samdump2-3.0.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/samdump2-3.0.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd samdump2-3.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/samdump2-install.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/samdump2-openssl.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S8v2fE + umask 022 + cd /builddir/build/BUILD + cd samdump2-3.0.0 + /usr/bin/make -O -j2 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LIBS=-lcrypto /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o list.o list.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o bkhive.o bkhive.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o hive.o hive.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o main.o main.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dumpsam.o dumpsam.c /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o samdump2.o samdump2.c samdump2.c: In function 'str_to_key': samdump2.c:75:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | DES_set_odd_parity((DES_cblock *)key); | ^~~~~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ samdump2.c: In function 'samdump2': samdump2.c:276:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 276 | MD5_Init( &md5c ); | ^~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ samdump2.c:277:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 277 | MD5_Update( &md5c, &b[0x70], 0x10 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:278:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 278 | MD5_Update( &md5c, aqwerty, 0x2f ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:279:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 279 | MD5_Update( &md5c, bootkey, 0x10 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:280:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 280 | MD5_Update( &md5c, anum, 0x29 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:281:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | MD5_Final( md5hash, &md5c ); | ^~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ samdump2.c:282:3: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 282 | RC4_set_key( &rc4k, 0x10, md5hash ); | ^~~~~~~~~~~ In file included from samdump2.c:30: /usr/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ samdump2.c:283:3: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 283 | RC4( &rc4k, 0x20, &b[0x80], hbootkey ); | ^~~ In file included from samdump2.c:30: /usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ samdump2.c:396:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | MD5_Init( &md5c ); | ^~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ samdump2.c:397:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | MD5_Update( &md5c, hbootkey, 0x10 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:399:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | MD5_Update( &md5c, &rid, 0x4 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:405:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 405 | MD5_Update( &md5c, almpassword, 0xb ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:406:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 406 | MD5_Final( md5hash, &md5c ); | ^~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ samdump2.c:408:7: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | RC4_set_key( &rc4k, 0x10, md5hash ); | ^~~~~~~~~~~ In file included from samdump2.c:30: /usr/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ samdump2.c:409:7: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 409 | RC4( &rc4k, 0x10, &b[ lm_hashesoffset + 4 ], obfkey ); | ^~~ In file included from samdump2.c:30: /usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ samdump2.c:422:7: warning: 'DES_set_key_checked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | DES_set_key_checked((DES_cblock *)deskey1, &ks1); | ^~~~~~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:190:5: note: declared here 190 | int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~ samdump2.c:424:7: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | DES_set_key_unchecked((DES_cblock *)deskey2, &ks2); | ^~~~~~~~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ samdump2.c:427:7: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 427 | DES_ecb_encrypt((DES_cblock *)obfkey, | ^~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ samdump2.c:429:7: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 429 | DES_ecb_encrypt((DES_cblock *)(obfkey + 8), | ^~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ samdump2.c:457:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 457 | MD5_Init( &md5c ); | ^~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ samdump2.c:458:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 458 | MD5_Update( &md5c, hbootkey, 0x10 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:460:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 460 | MD5_Update( &md5c, &rid, 0x4 ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:466:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | MD5_Update( &md5c, antpassword, 0xb ); | ^~~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ samdump2.c:467:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 467 | MD5_Final( md5hash, &md5c ); | ^~~~~~~~~ In file included from samdump2.c:31: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ samdump2.c:469:7: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 469 | RC4_set_key( &rc4k, 0x10, md5hash ); | ^~~~~~~~~~~ In file included from samdump2.c:30: /usr/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ samdump2.c:470:7: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 470 | RC4( &rc4k, 0x10, &b[ nt_hashesoffset + 4], obfkey ); | ^~~ In file included from samdump2.c:30: /usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ samdump2.c:475:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | DES_set_key((DES_cblock *)deskey1,&ks1); | ^~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ samdump2.c:477:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | DES_set_key((DES_cblock *)deskey2,&ks2); | ^~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ samdump2.c:481:7: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 481 | DES_ecb_encrypt((DES_cblock *)obfkey, | ^~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ samdump2.c:483:7: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 483 | DES_ecb_encrypt((DES_cblock *)(obfkey + 8), | ^~~~~~~~~~~~~~~ In file included from samdump2.c:32: /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ Building binary... /usr/bin/gcc -o samdump2 hive.o list.o bkhive.o samdump2.o main.o dumpsam.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lcrypto + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OXnjNf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 + cd samdump2-3.0.0 + rm -rf /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 ++ id -un + OWNER=mockbuild ++ id -gn + GROUP=mock + make install DESTDIR=/builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 BINDIR=/usr/bin MANDIR=/usr/share/man/man1/ OWNER=mockbuild GROUP=mock Creating directories... /usr/bin/install -d -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/bin /usr/bin/install -d -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/man/man1/ Copying binary... /usr/bin/install samdump2 -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/bin Installing man page... /usr/bin/install samdump2.1 -m 644 -o mockbuild -g mock /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.0.0-20.el9 --unique-debug-suffix -3.0.0-20.el9.x86_64 --unique-debug-src-base samdump2-3.0.0-20.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/samdump2-3.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/bin/samdump2 extracting debug info from /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/bin/samdump2 original debug info size: 80kB, size after compression: 76kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 101 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: samdump2-3.0.0-20.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Tk5sTa + umask 022 + cd /builddir/build/BUILD + cd samdump2-3.0.0 + DOCDIR=/builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/doc/samdump2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/doc/samdump2 + cp -pr AUTHORS /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/doc/samdump2 + cp -pr COPYING /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/doc/samdump2 + cp -pr README /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/doc/samdump2 + cp -pr LICENSE /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64/usr/share/doc/samdump2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: samdump2 = 3.0.0-20.el9 samdump2(x86-64) = 3.0.0-20.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: samdump2-debugsource-3.0.0-20.el9.x86_64 Provides: samdump2-debugsource = 3.0.0-20.el9 samdump2-debugsource(x86-64) = 3.0.0-20.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: samdump2-debuginfo-3.0.0-20.el9.x86_64 Provides: debuginfo(build-id) = bccace3f848684fc7ed7f3f534eb4921f817bc3d samdump2-debuginfo = 3.0.0-20.el9 samdump2-debuginfo(x86-64) = 3.0.0-20.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: samdump2-debugsource(x86-64) = 3.0.0-20.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 Wrote: /builddir/build/RPMS/samdump2-3.0.0-20.el9.x86_64.rpm Wrote: /builddir/build/RPMS/samdump2-debuginfo-3.0.0-20.el9.x86_64.rpm Wrote: /builddir/build/RPMS/samdump2-debugsource-3.0.0-20.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FyKz35 + umask 022 + cd /builddir/build/BUILD + cd samdump2-3.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/samdump2-3.0.0-20.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0