D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/zxcvbn-c-2.5-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ixt3EO Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KGaxif + umask 022 + cd /home/pterjan/rpmbuild/BUILD/zxcvbn-c-2.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/zxcvbn-c-2.5-build + rm -rf zxcvbn-c-2.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/zxcvbn-c-2.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zxcvbn-c-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rHgzlV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/zxcvbn-c-2.5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zxcvbn-c-2.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 g++ -I. -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full \ -o dictgen dict-generate.cpp -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld dict-generate.cpp:53:13: error: 'uint64_t' does not name a type 53 | typedef uint64_t Check_t; | ^~~~~~~~ dict-generate.cpp:37:1: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' 36 | #include +++ |+#include 37 | dict-generate.cpp:54:37: warning: conversion from 'long unsigned int' to 'Check_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 54 | static const Check_t CHK_INIT = 0xffffffffffffffff; | ^~~~~~~~~~~~~~~~~~ dict-generate.cpp:95:16: error: 'Check_t' in 'class TrieCheck' does not name a type 95 | TrieCheck::Check_t CalcCheck(); | ^~~~~~~ dict-generate.cpp:121:25: error: 'Check_t' in 'class TrieCheck' does not name a type 121 | static const TrieCheck::Check_t CrcTable[16] = | ^~~~~~~ dict-generate.cpp: In member function 'void TrieCheck::operator()(const void*, unsigned int)': dict-generate.cpp:136:15: error: 'CrcTable' was not declared in this scope 136 | Crc = CrcTable[(Crc ^ (*Data >> 0)) & 0x0f] ^ (Crc >> 4); | ^~~~~~~~ dict-generate.cpp: At global scope: dict-generate.cpp:177:12: error: 'Check_t' in 'class TrieCheck' does not name a type 177 | TrieCheck::Check_t Node::CalcCheck() | ^~~~~~~ dict-generate.cpp:392:16: error: 'uint64_t' was not declared in this scope 392 | typedef vector Uint64Vect; | ^~~~~~~~ dict-generate.cpp:392:16: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' dict-generate.cpp:392:24: error: template argument 1 is invalid 392 | typedef vector Uint64Vect; | ^ dict-generate.cpp:392:24: error: template argument 2 is invalid dict-generate.cpp: In function 'void ReduceTrie(NodeSPtr)': dict-generate.cpp:605:11: error: 'using std::__shared_ptr_access::element_type = class Node' {aka 'class Node'} has no member named 'CalcCheck' 605 | Root->CalcCheck(); | ^~~~~~~~~ dict-generate.cpp:620:24: error: 'Check_t' is not a member of 'TrieCheck' 620 | TrieCheck::Check_t Chka = (*Ita)->CalcCheck(); | ^~~~~~~ dict-generate.cpp:624:21: error: 'Chka' was not declared in this scope 624 | if (Chka == (*Itb)->CalcCheck()) | ^~~~ dict-generate.cpp:624:37: error: 'using std::__shared_ptr_access::element_type = class Node' {aka 'class Node'} has no member named 'CalcCheck' 624 | if (Chka == (*Itb)->CalcCheck()) | ^~~~~~~~~ dict-generate.cpp: In function 'void CreateArrays(NodeSPtr, StringIntSet_t&, StringOfInts&, Uint64Vect&, UintVect&)': dict-generate.cpp:882:5: error: 'uint64_t' was not declared in this scope 882 | uint64_t Val = Its->i; | ^~~~~~~~ dict-generate.cpp:882:5: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' dict-generate.cpp:883:9: error: 'Val' was not declared in this scope 883 | if (Val >= (1 << BITS_CHILD_PATT_INDEX)) | ^~~ dict-generate.cpp:897:5: error: 'Val' was not declared in this scope 897 | Val |= x << SHIFT_CHILD_MAP_INDEX; | ^~~ dict-generate.cpp:904:36: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 904 | if (Root->GetAddr() > NodeData.size()) | ^~~~ dict-generate.cpp:906:18: error: request for member 'resize' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 906 | NodeData.resize(Root->GetAddr()+1, 4000000000); | ^~~~~~ dict-generate.cpp:910:13: error: invalid types 'Uint64Vect {aka int}[unsigned int]' for array subscript 910 | NodeData[Root->GetAddr()] = Val; | ^ dict-generate.cpp: In function 'int OutputBinary(std::ostream*, const std::string&, const std::string&, StringIntSet_t&, StringOfInts&, Uint64Vect&, UintVect&, StringIntVect_t&)': dict-generate.cpp:933:37: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 933 | for(Index = 0; Index < NodeData.size(); ++Index) | ^~~~ dict-generate.cpp:935:9: error: 'uint64_t' was not declared in this scope 935 | uint64_t v = NodeData[Index]; | ^~~~~~~~ dict-generate.cpp:935:9: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' dict-generate.cpp:936:46: error: 'v' was not declared in this scope 936 | if ((FewEndStart >= 2000000000) && !(v & (uint64_t(1) << SHIFT_LARGE_ENDING_BIT))) | ^ dict-generate.cpp:949:18: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 949 | i = NodeData.size(); | ^~~~ dict-generate.cpp:955:18: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 955 | if (NodeData.size() > numeric_limits::max()) | ^~~~ dict-generate.cpp:966:28: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 966 | NumWordEnd = (NodeData.size() + 7) / 8; | ^~~~ dict-generate.cpp:985:18: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 985 | i = NodeData.size(); | ^~~~ dict-generate.cpp:1000:37: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1000 | for(Index = 0; Index < NodeData.size(); ++Index) | ^~~~ dict-generate.cpp:1002:21: error: invalid types 'Uint64Vect {aka int}[unsigned int]' for array subscript 1002 | i = NodeData[Index]; | ^ dict-generate.cpp:1006:21: error: invalid types 'Uint64Vect {aka int}[unsigned int]' for array subscript 1006 | if (NodeData[Index] & (uint64_t(1) << SHIFT_WORD_ENDING_BIT)) | ^ dict-generate.cpp:1006:32: error: 'uint64_t' was not declared in this scope 1006 | if (NodeData[Index] & (uint64_t(1) << SHIFT_WORD_ENDING_BIT)) | ^~~~~~~~ dict-generate.cpp:1006:32: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' dict-generate.cpp:1131:20: error: 'Check_t' is not a member of 'TrieCheck' 1131 | TrieCheck::Check_t x = h.Result(); | ^~~~~~~ dict-generate.cpp:1133:64: error: 'x' was not declared in this scope 1133 | f << "static const unsigned char WordCheck[" << sizeof x << "] =\n{\n "; | ^ dict-generate.cpp: In function 'int OutputCode(std::ostream*, bool, const std::string&, StringIntSet_t&, NodeSPtr&, StringOfInts&, Uint64Vect&, UintVect&, StringIntVect_t&)': dict-generate.cpp:1192:64: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1192 | "static const unsigned int DictNodes[" << NodeData.size() << "] =\n{"; | ^~~~ dict-generate.cpp:1193:27: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1193 | OutputSize = NodeData.size() * sizeof(unsigned int); | ^~~~ dict-generate.cpp:1196:37: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1196 | for(Index = 0; Index < NodeData.size(); ++Index) | ^~~~ dict-generate.cpp:1198:9: error: 'uint64_t' was not declared in this scope 1198 | uint64_t v; | ^~~~~~~~ dict-generate.cpp:1198:9: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' dict-generate.cpp:1205:9: error: 'v' was not declared in this scope 1205 | v = NodeData[Index]; | ^ dict-generate.cpp:1205:21: error: invalid types 'Uint64Vect {aka int}[unsigned int]' for array subscript 1205 | v = NodeData[Index]; | ^ dict-generate.cpp:1209:21: error: expected ';' before 'i' 1209 | uint64_t i; | ^~ | ; dict-generate.cpp:1210:13: error: 'i' was not declared in this scope 1210 | i = (v >> SHIFT_WORD_ENDING_BIT) & 3; | ^ dict-generate.cpp:1220:35: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1220 | if (Index < (NodeData.size()-1)) | ^~~~ dict-generate.cpp:1231:35: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1231 | if (Index < (NodeData.size()-1)) | ^~~~ dict-generate.cpp:1245:54: error: invalid types 'Uint64Vect {aka int}[unsigned int]' for array subscript 1245 | if ((FewEndStart >= 2000000000) && !(NodeData[Index] & (uint64_t(1) << SHIFT_LARGE_ENDING_BIT))) | ^ dict-generate.cpp:1249:35: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1249 | unsigned int Len = ((NodeData.size() + 7) / 8); | ^~~~ dict-generate.cpp:1259:30: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1259 | if (Index < NodeData.size()) | ^~~~ dict-generate.cpp:1261:25: error: invalid types 'Uint64Vect {aka int}[unsigned int]' for array subscript 1261 | if (NodeData[Index] & (uint64_t(1) << SHIFT_WORD_ENDING_BIT)) | ^ dict-generate.cpp:1261:36: error: 'uint64_t' was not declared in this scope 1261 | if (NodeData[Index] & (uint64_t(1) << SHIFT_WORD_ENDING_BIT)) | ^~~~~~~~ dict-generate.cpp:1261:36: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' dict-generate.cpp:1287:18: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1287 | if (NodeData.size() > numeric_limits::max()) | ^~~~ dict-generate.cpp: In function 'int main(int, char**)': dict-generate.cpp:1739:18: error: request for member 'resize' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1739 | NodeData.resize(NumNodes, 4000000000); | ^~~~~~ dict-generate.cpp:1744:57: error: request for member 'size' in 'NodeData', which is of non-class type 'Uint64Vect' {aka 'int'} 1744 | cout << "Node data array size " << NodeData.size() << endl; | ^~~~ make: *** [makefile:64: dictgen] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rHgzlV (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rHgzlV (%build) I: [iurt_root_command] ERROR: chroot