D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/rcracki_mt-0.7.0-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cKkGJ5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf rcracki_mt_0.7.0_src + /usr/bin/7za x /home/pterjan/rpmbuild/SOURCES/rcracki_mt_0.7.0_src.7z 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,32 CPUs Intel(R) Xeon(R) CPU (50653),ASM,AES-NI) Scanning the drive for archives: 1 file, 171634 bytes (168 KiB) Extracting archive: /home/pterjan/rpmbuild/SOURCES/rcracki_mt_0.7.0_src.7z -- Path = /home/pterjan/rpmbuild/SOURCES/rcracki_mt_0.7.0_src.7z Type = 7z Physical Size = 171634 Headers Size = 1536 Method = LZMA:1536k Solid = + Blocks = 1 Everything is Ok Folders: 5 Files: 93 Size: 1223015 Compressed: 171634 + STATUS=0 + '[' 0 -ne 0 ']' + cd rcracki_mt_0.7.0_src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RVECay + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rcracki_mt_0.7.0_src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd rcracki_mt ~/rpmbuild/BUILD/rcracki_mt_0.7.0_src/rcracki_mt ~/rpmbuild/BUILD/rcracki_mt_0.7.0_src + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 'OPTIMIZATION=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./HashAlgorithm.cpp ./HashAlgorithm.cpp:324:2: warning: "/*" within comment [-Wcomment] /* ./HashAlgorithm.cpp:54:44: error: 'des_key_schedule' has not been declared void setup_des_key(unsigned char key_56[], des_key_schedule &ks) ^~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp: In function 'void setup_des_key(unsigned char*, int&)': ./HashAlgorithm.cpp:56:2: error: 'des_cblock' was not declared in this scope des_cblock key; ^~~~~~~~~~ ./HashAlgorithm.cpp:56:2: note: suggested alternative: 'DES_cblock' des_cblock key; ^~~~~~~~~~ DES_cblock ./HashAlgorithm.cpp:58:2: error: 'key' was not declared in this scope key[0] = key_56[0]; ^~~ ./HashAlgorithm.cpp:68:2: error: 'des_set_key' was not declared in this scope des_set_key(&key, ks); ^~~~~~~~~~~ ./HashAlgorithm.cpp:68:2: note: suggested alternative: 'DES_set_key' des_set_key(&key, ks); ^~~~~~~~~~~ DES_set_key ./HashAlgorithm.cpp: In function 'void HashLM(unsigned char*, int, unsigned char*)': ./HashAlgorithm.cpp:86:2: error: 'des_key_schedule' was not declared in this scope des_key_schedule ks; ^~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:86:2: note: suggested alternative: 'DES_key_schedule' des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule ./HashAlgorithm.cpp:88:24: error: 'ks' was not declared in this scope setup_des_key(pPlain, ks); ^~ ./HashAlgorithm.cpp:89:19: error: 'des_cblock' was not declared in this scope des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~ ./HashAlgorithm.cpp:89:19: note: suggested alternative: 'DES_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~ DES_cblock ./HashAlgorithm.cpp:89:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:89:50: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:89:2: error: 'des_ecb_encrypt' was not declared in this scope des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:89:2: note: suggested alternative: 'DES_ecb_encrypt' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ DES_ecb_encrypt ./HashAlgorithm.cpp:85:23: warning: unused variable 'magic' [-Wunused-variable] static unsigned char magic[] = {0x4B, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; ^~~~~ ./HashAlgorithm.cpp: In function 'void HashLMCHALL(unsigned char*, int, unsigned char*)': ./HashAlgorithm.cpp:98:2: error: 'des_key_schedule' was not declared in this scope des_key_schedule ks; ^~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:98:2: note: suggested alternative: 'DES_key_schedule' des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule ./HashAlgorithm.cpp:105:22: error: 'ks' was not declared in this scope setup_des_key(pass, ks); ^~ ./HashAlgorithm.cpp:106:19: error: 'des_cblock' was not declared in this scope des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~ ./HashAlgorithm.cpp:106:19: note: suggested alternative: 'DES_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~ DES_cblock ./HashAlgorithm.cpp:106:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:106:50: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:106:2: error: 'des_ecb_encrypt' was not declared in this scope des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:106:2: note: suggested alternative: 'DES_ecb_encrypt' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ DES_ecb_encrypt ./HashAlgorithm.cpp:109:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)&pre_lmresp[8], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:109:50: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)&pre_lmresp[8], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:112:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:112:62: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:115:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[8], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:115:62: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[8], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:118:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[16], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:118:62: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[16], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:96:23: warning: unused variable 'magic' [-Wunused-variable] static unsigned char magic[] = {0x4B, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; ^~~~~ ./HashAlgorithm.cpp:97:23: warning: unused variable 'spoofed_challange' [-Wunused-variable] static unsigned char spoofed_challange[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; ^~~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp: In function 'void HashHALFLMCHALL(unsigned char*, int, unsigned char*)': ./HashAlgorithm.cpp:128:2: error: 'des_key_schedule' was not declared in this scope des_key_schedule ks; ^~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:128:2: note: suggested alternative: 'DES_key_schedule' des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule ./HashAlgorithm.cpp:131:23: error: 'ks' was not declared in this scope setup_des_key(plain, ks); ^~ ./HashAlgorithm.cpp:132:19: error: 'des_cblock' was not declared in this scope des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~ ./HashAlgorithm.cpp:132:19: note: suggested alternative: 'DES_cblock' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~ DES_cblock ./HashAlgorithm.cpp:132:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:132:50: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:132:2: error: 'des_ecb_encrypt' was not declared in this scope des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:132:2: note: suggested alternative: 'DES_ecb_encrypt' des_ecb_encrypt((des_cblock*)magic, (des_cblock*)pre_lmresp, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ DES_ecb_encrypt ./HashAlgorithm.cpp:135:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)salt, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:135:49: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)salt, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:125:23: warning: unused variable 'magic' [-Wunused-variable] static unsigned char magic[] = {0x4B, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; ^~~~~ ./HashAlgorithm.cpp:126:23: warning: unused variable 'salt' [-Wunused-variable] static unsigned char salt[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; ^~~~ ./HashAlgorithm.cpp: In function 'void HashNTLMCHALL(unsigned char*, int, unsigned char*)': ./HashAlgorithm.cpp:154:2: error: 'des_key_schedule' was not declared in this scope des_key_schedule ks; ^~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:154:2: note: suggested alternative: 'DES_key_schedule' des_key_schedule ks; ^~~~~~~~~~~~~~~~ DES_key_schedule ./HashAlgorithm.cpp:166:20: error: 'ks' was not declared in this scope setup_des_key(lm, ks); ^~ ./HashAlgorithm.cpp:167:19: error: 'des_cblock' was not declared in this scope des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~ ./HashAlgorithm.cpp:167:19: note: suggested alternative: 'DES_cblock' des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~ DES_cblock ./HashAlgorithm.cpp:167:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:167:62: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:167:2: error: 'des_ecb_encrypt' was not declared in this scope des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:167:2: note: suggested alternative: 'DES_ecb_encrypt' des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)pHash, ks, DES_ENCRYPT); ^~~~~~~~~~~~~~~ DES_ecb_encrypt ./HashAlgorithm.cpp:170:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[8], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:170:62: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[8], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:173:30: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[16], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:173:62: error: expected primary-expression before ')' token des_ecb_encrypt((des_cblock*)spoofed_challange, (des_cblock*)&pHash[16], ks, DES_ENCRYPT); ^ ./HashAlgorithm.cpp:143:23: warning: unused variable 'spoofed_challange' [-Wunused-variable] static unsigned char spoofed_challange[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; ^~~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp: At global scope: ./HashAlgorithm.cpp:143:23: warning: 'spoofed_challange' defined but not used [-Wunused-variable] ./HashAlgorithm.cpp:126:23: warning: 'salt' defined but not used [-Wunused-variable] static unsigned char salt[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; ^~~~ ./HashAlgorithm.cpp:125:23: warning: 'magic' defined but not used [-Wunused-variable] static unsigned char magic[] = {0x4B, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; ^~~~~ ./HashAlgorithm.cpp:97:23: warning: 'spoofed_challange' defined but not used [-Wunused-variable] static unsigned char spoofed_challange[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; ^~~~~~~~~~~~~~~~~ ./HashAlgorithm.cpp:96:23: warning: 'magic' defined but not used [-Wunused-variable] static unsigned char magic[] = {0x4B, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; ^~~~~ ./HashAlgorithm.cpp:85:23: warning: 'magic' defined but not used [-Wunused-variable] static unsigned char magic[] = {0x4B, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; ^~~~~ Makefile:195: recipe for target 'HashAlgorithm.o' failed make: *** [HashAlgorithm.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./BaseRTReader.cpp g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./HashRoutine.cpp g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./fast_md4.cpp g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./ChainWalkSet.cpp g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./fast_md5.cpp g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c ./ChainWalkContext.cpp ./ChainWalkContext.cpp:584:12: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] printf( "m_vCharset[%d].m_nPlainSpaceUpToX[%d]: %"PRIu64"\n" ^ ./ChainWalkContext.cpp:601:11: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] printf( "m_nPlainSpaceUpToX[%d]: %"PRIu64"\n" ^ g++ -Wall -ansi -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -c CrackEngine.cpp error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RVECay (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RVECay (%build) I: [iurt_root_command] ERROR: chroot