Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/unrar.spec'], chrootPath='/var/lib/mock/874077-epel-7-x86_64-1553637351.337230/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'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cc805816c25b45d9893121056e5c3110', '-D', '/var/lib/mock/874077-epel-7-x86_64-1553637351.337230/root', '-a', '--capability=cap_ipc_lock', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/unrar.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/unrar-5.7.3-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/unrar.spec'], chrootPath='/var/lib/mock/874077-epel-7-x86_64-1553637351.337230/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'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1f8bcc1ddd75476fb03fa23df1ec5c65', '-D', '/var/lib/mock/874077-epel-7-x86_64-1553637351.337230/root', '-a', '--capability=cap_ipc_lock', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/unrar.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CffR8P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unrar + /usr/bin/gzip -dc /builddir/build/SOURCES/unrarsrc-5.7.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd unrar + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/unrar-nonfree.1 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I91k8l + umask 022 + cd /builddir/build/BUILD + cd unrar + make -j2 -f makefile CXX=g++ 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC' 'LDFLAGS=-Wl,-z,relro -pthread' STRIP=: RANLIB=ranlib g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rar.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strlist.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strfn.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c pathfn.cpp BUILDSTDERR: strfn.cpp: In function 'bool IsAlpha(int)': BUILDSTDERR: strfn.cpp:195:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return ch>='A' && ch<='Z' || ch>='a' && ch<='z'; BUILDSTDERR: ^ BUILDSTDERR: pathfn.cpp: In function 'void MakeNameUsable(char*, bool)': BUILDSTDERR: pathfn.cpp:446:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (strchr(Extended ? "?*<>|\"":"?*",*s)!=NULL || Extended && (byte)*s<32) BUILDSTDERR: ^ BUILDSTDERR: pathfn.cpp: In function 'void MakeNameUsable(wchar*, bool)': BUILDSTDERR: pathfn.cpp:467:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32) BUILDSTDERR: ^ BUILDSTDERR: pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)': BUILDSTDERR: pathfn.cpp:750:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (StartWeekDay<0) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c smallfn.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c global.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c file.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filefn.cpp BUILDSTDERR: file.cpp: In destructor 'virtual File::~File()': BUILDSTDERR: file.cpp:25:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hFile!=FILE_BAD_HANDLE && !SkipClose) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'bool File::Create(const wchar*, uint)': BUILDSTDERR: file.cpp:165:8: warning: unused variable 'ShareRead' [-Wunused-variable] BUILDSTDERR: bool ShareRead=(Mode & FMF_SHAREREAD)!=0 || File::OpenShared; BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'bool File::Write(const void*, size_t)': BUILDSTDERR: file.cpp:322:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: Success=Written==Size; BUILDSTDERR: ^ BUILDSTDERR: file.cpp:343:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (Written0) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'virtual int File::Read(void*, size_t)': BUILDSTDERR: file.cpp:369:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (AllowExceptions) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'virtual int64 File::Tell()': BUILDSTDERR: file.cpp:501:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hFile==FILE_BAD_HANDLE) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from filefn.cpp:1: BUILDSTDERR: filefn.cpp: In function 'bool CreatePath(const wchar*, bool)': BUILDSTDERR: rardefs.hpp:10:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define ASIZE(x) (sizeof(x)/sizeof(x[0])) BUILDSTDERR: ^ BUILDSTDERR: filefn.cpp:57:17: note: in expansion of macro 'ASIZE' BUILDSTDERR: if (s-Path>=ASIZE(DirName)) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filcreat.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c archive.cpp BUILDSTDERR: In file included from archive.cpp:3:0: BUILDSTDERR: arccmt.cpp: In member function 'bool Archive::GetComment(Array*)': BUILDSTDERR: arccmt.cpp:46:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30) BUILDSTDERR: ^ BUILDSTDERR: archive.cpp: In static member function 'static RARFORMAT Archive::IsSignature(const byte*, size_t)': BUILDSTDERR: archive.cpp:102:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Size>=1 && D[0]==0x52) BUILDSTDERR: ^ BUILDSTDERR: archive.cpp: In member function 'bool Archive::IsArchive(bool)': BUILDSTDERR: archive.cpp:206:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: StartFound=Type==HEAD_MAIN || SilentOpen && Type==HEAD_CRYPT; BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c arcread.cpp BUILDSTDERR: arcread.cpp: In member function 'size_t Archive::ReadHeader()': BUILDSTDERR: arcread.cpp:17:9: warning: enumeration value 'RARFMT_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(Format) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:17:9: warning: enumeration value 'RARFMT_FUTURE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp: In member function 'size_t Archive::ReadHeader15()': BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] BUILDSTDERR: switch(ShortBlock.HeaderType) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_FILE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_SERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp: In member function 'size_t Archive::ReadHeader50()': BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] BUILDSTDERR: switch(ShortBlock.HeaderType) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp: In member function 'void Archive::ProcessExtra50(RawRead*, size_t, BaseBlock*)': BUILDSTDERR: arcread.cpp:1071:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if ((Flags & FHEXTRA_HTIME_MTIME)!=0) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:1076:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if ((Flags & FHEXTRA_HTIME_CTIME)!=0) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:1081:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if ((Flags & FHEXTRA_HTIME_ATIME)!=0) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp: In member function 'void Archive::ConvertFileHeader(FileHeader*)': BUILDSTDERR: arcread.cpp:1358:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hd->HSType==HSYS_UNKNOWN) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:1400:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (*s=='/' || *s=='\\' && Format!=RARFMT50) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp: In member function 'bool Archive::ReadSubData(Array*, File*)': BUILDSTDERR: arcread.cpp:1454:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (SubHead.Encrypted) BUILDSTDERR: ^ BUILDSTDERR: In file included from archive.cpp:3:0: BUILDSTDERR: arccmt.cpp: At global scope: BUILDSTDERR: arccmt.cpp:1:13: warning: 'bool IsAnsiEscComment(const wchar*, size_t)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static bool IsAnsiEscComment(const wchar *Data,size_t Size); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c unicode.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c system.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c isnt.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c crypt.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c crc.cpp BUILDSTDERR: In file included from crypt.cpp:7:0: BUILDSTDERR: crypt3.cpp: In member function 'void CryptData::SetKey30(bool, SecPassword*, const wchar*, const byte*)': BUILDSTDERR: crypt3.cpp:8:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (Salt==NULL && !KDF3Cache[I].SaltPresent || Salt!=NULL && BUILDSTDERR: ^ BUILDSTDERR: crypt.cpp: In member function 'void CryptData::DecryptBlock(byte*, size_t)': BUILDSTDERR: crypt.cpp:33:9: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(Method) BUILDSTDERR: ^ BUILDSTDERR: crypt.cpp: In member function 'bool CryptData::SetCryptKeys(bool, CRYPT_METHOD, SecPassword*, const byte*, const byte*, uint, byte*, byte*)': BUILDSTDERR: crypt.cpp:69:9: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(Method) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rawread.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c encname.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c resource.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c match.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c timefn.cpp BUILDSTDERR: match.cpp: In function 'bool CmpName(const wchar*, const wchar*, int)': BUILDSTDERR: match.cpp:51:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (CmpMode==MATCH_SUBPATH || CmpMode==MATCH_WILDSUBPATH) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from timefn.cpp:1: BUILDSTDERR: timefn.cpp: In member function 'void RarTime::SetIsoText(const wchar*)': BUILDSTDERR: rardefs.hpp:10:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define ASIZE(x) (sizeof(x)/sizeof(x[0])) BUILDSTDERR: ^ BUILDSTDERR: timefn.cpp:253:20: note: in expansion of macro 'ASIZE' BUILDSTDERR: if (FieldPosDisableDone) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp: In member function 'EXTRACT_ARC_CODE CmdExtract::ExtractArchive()': BUILDSTDERR: extract.cpp:203:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!ExtractCurrentFile(Arc,Size,Repeat)) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp: In member function 'bool CmdExtract::ExtractCurrentFile(Archive&, size_t, bool&)': BUILDSTDERR: extract.cpp:234:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (HeaderSize==0) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:261:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (HeaderType==HEAD_ENDARC) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:357:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (Cmd->VersionControl-1==Version) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:575:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Command!='I') BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:636:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileCreateMode && *NameExisting!=0) // *NameExisting can be 0 in case of excessive -ap switch. BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:654:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:666:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!Arc.FileHead.SplitBefore) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:734:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (!LinkEntry || Arc.FileHead.RedirType==FSREDIR_FILECOPY && LinkSuccess) && BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:776:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!ExtrFile) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c volume.cpp BUILDSTDERR: volume.cpp: In function 'bool MergeArchive(Archive&, ComprDataIO*, bool, wchar)': BUILDSTDERR: volume.cpp:22:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: hd->UnpVer>=20 && hd->FileHash.CRC32!=0xffffffff; BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c list.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c find.cpp BUILDSTDERR: list.cpp: In function 'void ListArchive(CommandData*)': BUILDSTDERR: list.cpp:50:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Arc.Volume) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] BUILDSTDERR: switch(HeaderType) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:116:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!Bare && !Technical) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:150:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Arc.GetHeaderType()==HEAD_ENDARC && Arc.EndArcHead.NextVolume) && BUILDSTDERR: ^ BUILDSTDERR: list.cpp: In function 'void ListFileHeader(Archive&, FileHeader&, bool&, bool, bool, bool)': BUILDSTDERR: list.cpp:263:15: warning: enumeration value 'FSREDIR_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(hd.RedirType) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from list.cpp:1: BUILDSTDERR: rardefs.hpp:4:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define Min(x,y) (((x)<(y)) ? (x):(y)) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:289:31: note: in expansion of macro 'Min' BUILDSTDERR: int DataSize=(int)Min(hd.PackSize,ASIZE(LinkTargetA)-1); BUILDSTDERR: ^ BUILDSTDERR: list.cpp:277:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hd.RedirType!=FSREDIR_NONE) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c unpack.cpp BUILDSTDERR: list.cpp: At global scope: BUILDSTDERR: list.cpp:4:13: warning: 'void ListSymLink(Archive&)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void ListSymLink(Archive &Arc); BUILDSTDERR: ^ BUILDSTDERR: list.cpp:6:13: warning: 'void ListOldSubHeader(Archive&)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void ListOldSubHeader(Archive &Arc); BUILDSTDERR: ^ BUILDSTDERR: list.cpp:7:13: warning: 'void ListNewSubHeader(CommandData*, Archive&)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void ListNewSubHeader(CommandData *Cmd,Archive &Arc); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c headers.cpp BUILDSTDERR: In file included from unpack.cpp:3:0: BUILDSTDERR: model.cpp: In member function 'int ModelPPM::DecodeChar()': BUILDSTDERR: coder.cpp:23:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while ((low^(low+range))BlockHeader.TablePresent && !TablesRead5) BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp:207:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (!CurData->LargeBlock && !ProcessDecoded(*CurData) || BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp: In member function 'void Unpack::UnpackDecode(UnpackThreadData&)': BUILDSTDERR: unpack50mt.cpp:318:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp:325:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize) BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp: In member function 'bool Unpack::ProcessDecoded(UnpackThreadData&)': BUILDSTDERR: unpack50mt.cpp:466:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: *(uint32 *)(Window+UnpPtr)=*(uint32 *)Item->Literal; BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp: In member function 'bool Unpack::UnpackLargeBlock(UnpackThreadData&)': BUILDSTDERR: unpack50mt.cpp:549:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp:556:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize) BUILDSTDERR: ^ BUILDSTDERR: In file included from unpack.cpp:11:0: BUILDSTDERR: unpack15.cpp: In member function 'void Unpack::LongLZ()': BUILDSTDERR: unpack15.cpp:295:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Length!=1 && Length!=4) BUILDSTDERR: ^ BUILDSTDERR: unpack15.cpp:309:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (OldAvr3 > 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40) BUILDSTDERR: ^ BUILDSTDERR: In file included from unpack.cpp:12:0: BUILDSTDERR: unpack20.cpp: In member function 'void Unpack::ReadLastTables()': BUILDSTDERR: unpack20.cpp:259:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (ReadTop>=Inp.InAddr+5) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from unpack.cpp:1: BUILDSTDERR: unpack30.cpp: In member function 'void Unpack::Unpack29(bool)': BUILDSTDERR: rardefs.hpp:10:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define ASIZE(x) (sizeof(x)/sizeof(x[0])) BUILDSTDERR: ^ BUILDSTDERR: unpack30.cpp:30:20: note: in expansion of macro 'ASIZE' BUILDSTDERR: for (int I=0;IParentFilter]->Prg; BUILDSTDERR: ^ BUILDSTDERR: unpack30.cpp:561:29: warning: unused variable 'ParentPrg' [-Wunused-variable] BUILDSTDERR: VM_PreparedProgram *ParentPrg=&Filters30[flt->ParentFilter]->Prg; BUILDSTDERR: ^ BUILDSTDERR: In file included from unpack.cpp:15:0: BUILDSTDERR: unpack50.cpp: In member function 'void Unpack::Unpack5(bool)': BUILDSTDERR: unpack50.cpp:30:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Inp.InAddr==BlockHeader.BlockStart+BlockHeader.BlockSize-1 && BUILDSTDERR: ^ BUILDSTDERR: unpack50.cpp:129:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (LastLength!=0) BUILDSTDERR: ^ BUILDSTDERR: unpack50.cpp: In member function 'void Unpack::UnpWriteBuf()': BUILDSTDERR: unpack50.cpp:393:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: WrPtr!=UnpPtr && ((WrPtr-UnpPtr)&MaxWinMask)<((WriteBorder-UnpPtr)&MaxWinMask)) BUILDSTDERR: ^ BUILDSTDERR: unpack.cpp: In member function 'void Unpack::Init(size_t, bool)': BUILDSTDERR: unpack.cpp:96:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (NewWindow==NULL) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c threadpool.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rs16.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c cmddata.cpp BUILDSTDERR: In file included from cmddata.cpp:3:0: BUILDSTDERR: cmdfilter.cpp: In member function 'bool CommandData::TimeCheck(RarTime&, RarTime&, RarTime&)': BUILDSTDERR: cmdfilter.cpp:190:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileMtimeBefore.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:200:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileMtimeAfter.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:210:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileCtimeBefore.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:220:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileCtimeAfter.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:230:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileAtimeBefore.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:240:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileAtimeAfter.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp: In member function 'int CommandData::IsProcessFile(FileHeader&, bool*, int, bool, wchar*, uint)': BUILDSTDERR: cmdfilter.cpp:282:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((FileHead.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (FileHead.FileAttr & InclFileAttr)==0) BUILDSTDERR: ^ BUILDSTDERR: cmddata.cpp: In member function 'void CommandData::ProcessSwitch(const wchar*)': BUILDSTDERR: cmddata.cpp:776:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!AlreadyBad) BUILDSTDERR: ^ BUILDSTDERR: cmddata.cpp: In member function 'void CommandData::ProcessCommand()': BUILDSTDERR: cmddata.cpp:937:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Command[0]!=0 && Command[1]!=0 && wcschr(SingleCharCommands,Command[0])!=NULL || *ArcName==0) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c ui.cpp BUILDSTDERR: In file included from ui.cpp:12:0: BUILDSTDERR: uiconsole.cpp: In member function 'void uiMsgStore::Msg()': BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_INCERRCOUNT' not handled in switch [-Wswitch] BUILDSTDERR: switch(Code) BUILDSTDERR: ^ BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOTSFX' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_OLDTOSFX' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_WRONGSFXVER' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ALREADYENC' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_DICTOUTMEM' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_USESMALLERDICT' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_MODIFYUNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_MODIFYOLD' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_MODIFYLOCKED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_MODIFYVOLUME' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOTVOLUME' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOTFIRSTVOLUME' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_RECVOLLIMIT' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_RECVOLFOUND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_OPFAILED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOTSUPPORTED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ENCRNOTSUPPORTED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_RARZIPONLY' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_REPAIROLDFORMAT' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOFILESREPAIRED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOFILESTOADD' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOFILESTODELETE' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NTFSREQUIRED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ZIPVOLSFX' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_FILERO' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_TOOLARGESFX' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_NOZIPSFX' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_EMAIL' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ACLGET' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ACLBROKEN' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ACLUNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_ACLSET' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_STREAMBROKEN' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_STREAMUNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIERROR_UOWNERGET' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_FIRST' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_BUILD' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_RRSEARCH' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_ANALYZEFILEDATA' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_RRFOUND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_RRNOTFOUND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_RRDAMAGED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_BLOCKSRECOVERED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_COPYINGDATA' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_AREADAMAGED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_SECTORDAMAGED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_SECTORRECOVERED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_SECTORNOTRECOVERED' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIMSG_FOUND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIWAIT_FIRST' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIWAIT_DISKFULLNEXT' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIWAIT_FCREATEERROR' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_FIRST' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_SEARCHDUPFILESSTART' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_SEARCHDUPFILESEND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_CLEARATTRSTART' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_CLEARATTRFILE' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_DELADDEDSTART' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_DELADDEDFILE' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_FILESFOUND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_ERASEDISK' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_FILESUMSTART' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_FILESUMPROGRESS' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_FILESUMEND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_PROTECTSTART' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_PROTECTEND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_TESTADDEDSTART' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_TESTADDEDEND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_RRTESTINGEND' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_NEWARCHIVE' not handled in switch [-Wswitch] BUILDSTDERR: uiconsole.cpp:86:9: warning: enumeration value 'UIEVENT_NEWREVFILE' not handled in switch [-Wswitch] g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filestr.cpp BUILDSTDERR: filestr.cpp: In function 'bool ReadTextFile(const wchar*, StringList*, bool, bool, RAR_CHARSET, bool, bool, bool)': BUILDSTDERR: filestr.cpp:16:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Name!=NULL) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c recvol.cpp BUILDSTDERR: In file included from recvol.cpp:3:0: BUILDSTDERR: recvol3.cpp: In function 'bool IsNewStyleRev(const wchar*)': BUILDSTDERR: recvol3.cpp:93:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!IsDigit(*Ext)) BUILDSTDERR: ^ BUILDSTDERR: recvol3.cpp: In member function 'bool RecVolumes3::Restore(RAROptions*, const wchar*, bool)': BUILDSTDERR: recvol3.cpp:231:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2]) BUILDSTDERR: ^ BUILDSTDERR: In file included from recvol.cpp:4:0: BUILDSTDERR: recvol5.cpp: In member function 'bool RecVolumes5::Restore(RAROptions*, const wchar*, bool)': BUILDSTDERR: recvol5.cpp:378:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (ReadSize!=RecBufferSize) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from recvol.cpp:1: BUILDSTDERR: rardefs.hpp:4:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define Min(x,y) (((x)<(y)) ? (x):(y)) BUILDSTDERR: ^ BUILDSTDERR: recvol5.cpp:395:34: note: in expansion of macro 'Min' BUILDSTDERR: size_t WriteSize=(size_t)Min(MaxRead,Item->FileSize); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rs.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c scantree.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c qopen.cpp BUILDSTDERR: scantree.cpp: In member function 'bool ScanTree::GetNextMask()': BUILDSTDERR: scantree.cpp:226:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Name[0]=='.' && (Name[1]==0 || Name[1]=='.' && Name[2]==0)) BUILDSTDERR: ^ BUILDSTDERR: scantree.cpp: In member function 'SCAN_CODE ScanTree::FindProc(FindData*)': BUILDSTDERR: scantree.cpp:265:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: FolderWildcards && Recurse!=RECURSE_DISABLE || BUILDSTDERR: ^ BUILDSTDERR: scantree.cpp:266:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Wildcards && Recurse==RECURSE_WILDCARDS || BUILDSTDERR: ^ BUILDSTDERR: scantree.cpp:267:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: ScanEntireDisk && Recurse!=RECURSE_DISABLE); BUILDSTDERR: ^ BUILDSTDERR: qopen.cpp: In member function 'bool QuickOpen::ReadNext()': BUILDSTDERR: qopen.cpp:280:8: warning: unused variable 'Flags' [-Wunused-variable] BUILDSTDERR: uint Flags=(uint)Raw.GetV(); BUILDSTDERR: ^ g++ -o unrar -Wl,-z,relro -pthread rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o options.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o filestr.o recvol.o rs.o scantree.o qopen.o : unrar + make -j2 -f makefile clean + make -j2 -f makefile lib CXX=g++ 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC' 'LDFLAGS=-Wl,-z,relro -pthread' STRIP=: RANLIB=ranlib g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rar.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c strlist.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c strfn.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c pathfn.cpp BUILDSTDERR: strfn.cpp: In function 'bool IsAlpha(int)': BUILDSTDERR: strfn.cpp:195:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: return ch>='A' && ch<='Z' || ch>='a' && ch<='z'; BUILDSTDERR: ^ BUILDSTDERR: pathfn.cpp: In function 'void MakeNameUsable(char*, bool)': BUILDSTDERR: pathfn.cpp:446:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (strchr(Extended ? "?*<>|\"":"?*",*s)!=NULL || Extended && (byte)*s<32) BUILDSTDERR: ^ BUILDSTDERR: pathfn.cpp: In function 'void MakeNameUsable(wchar*, bool)': BUILDSTDERR: pathfn.cpp:467:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32) BUILDSTDERR: ^ BUILDSTDERR: pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)': BUILDSTDERR: pathfn.cpp:750:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (StartWeekDay<0) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c smallfn.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c global.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c file.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c filefn.cpp BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from filefn.cpp:1: BUILDSTDERR: filefn.cpp: In function 'bool CreatePath(const wchar*, bool)': BUILDSTDERR: rardefs.hpp:10:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define ASIZE(x) (sizeof(x)/sizeof(x[0])) BUILDSTDERR: ^ BUILDSTDERR: filefn.cpp:57:17: note: in expansion of macro 'ASIZE' BUILDSTDERR: if (s-Path>=ASIZE(DirName)) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In destructor 'virtual File::~File()': BUILDSTDERR: file.cpp:25:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hFile!=FILE_BAD_HANDLE && !SkipClose) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'bool File::Create(const wchar*, uint)': BUILDSTDERR: file.cpp:165:8: warning: unused variable 'ShareRead' [-Wunused-variable] BUILDSTDERR: bool ShareRead=(Mode & FMF_SHAREREAD)!=0 || File::OpenShared; BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'bool File::Write(const void*, size_t)': BUILDSTDERR: file.cpp:322:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: Success=Written==Size; BUILDSTDERR: ^ BUILDSTDERR: file.cpp:343:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (Written0) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'virtual int File::Read(void*, size_t)': BUILDSTDERR: file.cpp:369:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (AllowExceptions) BUILDSTDERR: ^ BUILDSTDERR: file.cpp: In member function 'virtual int64 File::Tell()': BUILDSTDERR: file.cpp:501:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hFile==FILE_BAD_HANDLE) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c filcreat.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c archive.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c arcread.cpp BUILDSTDERR: In file included from archive.cpp:3:0: BUILDSTDERR: arccmt.cpp: In member function 'bool Archive::GetComment(Array*)': BUILDSTDERR: arccmt.cpp:46:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30) BUILDSTDERR: ^ BUILDSTDERR: archive.cpp: In static member function 'static RARFORMAT Archive::IsSignature(const byte*, size_t)': BUILDSTDERR: archive.cpp:102:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Size>=1 && D[0]==0x52) BUILDSTDERR: ^ BUILDSTDERR: archive.cpp: In member function 'bool Archive::IsArchive(bool)': BUILDSTDERR: archive.cpp:206:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: StartFound=Type==HEAD_MAIN || SilentOpen && Type==HEAD_CRYPT; BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp: In member function 'size_t Archive::ReadHeader()': BUILDSTDERR: arcread.cpp:17:9: warning: enumeration value 'RARFMT_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(Format) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:17:9: warning: enumeration value 'RARFMT_FUTURE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp: In member function 'size_t Archive::ReadHeader15()': BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] BUILDSTDERR: switch(ShortBlock.HeaderType) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_FILE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_SERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:187:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp: In member function 'size_t Archive::ReadHeader50()': BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] BUILDSTDERR: switch(ShortBlock.HeaderType) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp:700:9: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: arcread.cpp: In member function 'void Archive::ProcessExtra50(RawRead*, size_t, BaseBlock*)': BUILDSTDERR: arcread.cpp:1071:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if ((Flags & FHEXTRA_HTIME_MTIME)!=0) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:1076:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if ((Flags & FHEXTRA_HTIME_CTIME)!=0) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:1081:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if ((Flags & FHEXTRA_HTIME_ATIME)!=0) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp: In member function 'void Archive::ConvertFileHeader(FileHeader*)': BUILDSTDERR: arcread.cpp:1358:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hd->HSType==HSYS_UNKNOWN) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp:1400:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (*s=='/' || *s=='\\' && Format!=RARFMT50) BUILDSTDERR: ^ BUILDSTDERR: arcread.cpp: In member function 'bool Archive::ReadSubData(Array*, File*)': BUILDSTDERR: arcread.cpp:1454:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (SubHead.Encrypted) BUILDSTDERR: ^ BUILDSTDERR: In file included from archive.cpp:3:0: BUILDSTDERR: arccmt.cpp: At global scope: BUILDSTDERR: arccmt.cpp:1:13: warning: 'bool IsAnsiEscComment(const wchar*, size_t)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static bool IsAnsiEscComment(const wchar *Data,size_t Size); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c unicode.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c system.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c isnt.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c crypt.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c crc.cpp BUILDSTDERR: In file included from crypt.cpp:7:0: BUILDSTDERR: crypt3.cpp: In member function 'void CryptData::SetKey30(bool, SecPassword*, const wchar*, const byte*)': BUILDSTDERR: crypt3.cpp:8:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (Salt==NULL && !KDF3Cache[I].SaltPresent || Salt!=NULL && BUILDSTDERR: ^ BUILDSTDERR: crypt.cpp: In member function 'void CryptData::DecryptBlock(byte*, size_t)': BUILDSTDERR: crypt.cpp:33:9: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(Method) BUILDSTDERR: ^ BUILDSTDERR: crypt.cpp: In member function 'bool CryptData::SetCryptKeys(bool, CRYPT_METHOD, SecPassword*, const byte*, const byte*, uint, byte*, byte*)': BUILDSTDERR: crypt.cpp:69:9: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(Method) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rawread.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c encname.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c resource.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c match.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c timefn.cpp BUILDSTDERR: match.cpp: In function 'bool CmpName(const wchar*, const wchar*, int)': BUILDSTDERR: match.cpp:51:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (CmpMode==MATCH_SUBPATH || CmpMode==MATCH_WILDSUBPATH) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from timefn.cpp:1: BUILDSTDERR: timefn.cpp: In member function 'void RarTime::SetIsoText(const wchar*)': BUILDSTDERR: rardefs.hpp:10:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define ASIZE(x) (sizeof(x)/sizeof(x[0])) BUILDSTDERR: ^ BUILDSTDERR: timefn.cpp:253:20: note: in expansion of macro 'ASIZE' BUILDSTDERR: if (FieldPosDisableDone) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp: In member function 'EXTRACT_ARC_CODE CmdExtract::ExtractArchive()': BUILDSTDERR: extract.cpp:203:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!ExtractCurrentFile(Arc,Size,Repeat)) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp: In member function 'bool CmdExtract::ExtractCurrentFile(Archive&, size_t, bool&)': BUILDSTDERR: extract.cpp:234:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (HeaderSize==0) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:261:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (HeaderType==HEAD_ENDARC) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:357:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (Cmd->VersionControl-1==Version) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:575:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Command!='I') BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:636:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileCreateMode && *NameExisting!=0) // *NameExisting can be 0 in case of excessive -ap switch. BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:654:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:666:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!Arc.FileHead.SplitBefore) BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:734:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (!LinkEntry || Arc.FileHead.RedirType==FSREDIR_FILECOPY && LinkSuccess) && BUILDSTDERR: ^ BUILDSTDERR: extract.cpp:776:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!ExtrFile) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c volume.cpp BUILDSTDERR: volume.cpp: In function 'bool MergeArchive(Archive&, ComprDataIO*, bool, wchar)': BUILDSTDERR: volume.cpp:22:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: hd->UnpVer>=20 && hd->FileHash.CRC32!=0xffffffff; BUILDSTDERR: ^ BUILDSTDERR: volume.cpp: In function 'bool DllVolChange(RAROptions*, wchar*, size_t)': BUILDSTDERR: volume.cpp:247:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (DllVolAborted || Cmd->Callback==NULL && Cmd->ChangeVolProc==NULL) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c list.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c find.cpp BUILDSTDERR: list.cpp: In function 'void ListArchive(CommandData*)': BUILDSTDERR: list.cpp:50:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Arc.Volume) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] BUILDSTDERR: switch(HeaderType) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:91:17: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] BUILDSTDERR: list.cpp:116:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!Bare && !Technical) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:150:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Arc.GetHeaderType()==HEAD_ENDARC && Arc.EndArcHead.NextVolume) && BUILDSTDERR: ^ BUILDSTDERR: list.cpp: In function 'void ListFileHeader(Archive&, FileHeader&, bool&, bool, bool, bool)': BUILDSTDERR: list.cpp:263:15: warning: enumeration value 'FSREDIR_NONE' not handled in switch [-Wswitch] BUILDSTDERR: switch(hd.RedirType) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from list.cpp:1: BUILDSTDERR: rardefs.hpp:4:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define Min(x,y) (((x)<(y)) ? (x):(y)) BUILDSTDERR: ^ BUILDSTDERR: list.cpp:289:31: note: in expansion of macro 'Min' BUILDSTDERR: int DataSize=(int)Min(hd.PackSize,ASIZE(LinkTargetA)-1); BUILDSTDERR: ^ BUILDSTDERR: list.cpp:277:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (hd.RedirType!=FSREDIR_NONE) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c unpack.cpp BUILDSTDERR: list.cpp: At global scope: BUILDSTDERR: list.cpp:4:13: warning: 'void ListSymLink(Archive&)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void ListSymLink(Archive &Arc); BUILDSTDERR: ^ BUILDSTDERR: list.cpp:6:13: warning: 'void ListOldSubHeader(Archive&)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void ListOldSubHeader(Archive &Arc); BUILDSTDERR: ^ BUILDSTDERR: list.cpp:7:13: warning: 'void ListNewSubHeader(CommandData*, Archive&)' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void ListNewSubHeader(CommandData *Cmd,Archive &Arc); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c headers.cpp BUILDSTDERR: In file included from unpack.cpp:3:0: BUILDSTDERR: model.cpp: In member function 'int ModelPPM::DecodeChar()': BUILDSTDERR: coder.cpp:23:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: while ((low^(low+range))BlockHeader.TablePresent && !TablesRead5) BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp:207:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (!CurData->LargeBlock && !ProcessDecoded(*CurData) || BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp: In member function 'void Unpack::UnpackDecode(UnpackThreadData&)': BUILDSTDERR: unpack50mt.cpp:318:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp:325:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize) BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp: In member function 'bool Unpack::ProcessDecoded(UnpackThreadData&)': BUILDSTDERR: unpack50mt.cpp:466:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: *(uint32 *)(Window+UnpPtr)=*(uint32 *)Item->Literal; BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp: In member function 'bool Unpack::UnpackLargeBlock(UnpackThreadData&)': BUILDSTDERR: unpack50mt.cpp:549:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && BUILDSTDERR: ^ BUILDSTDERR: unpack50mt.cpp:556:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize) BUILDSTDERR: ^ BUILDSTDERR: In file included from unpack.cpp:11:0: BUILDSTDERR: unpack15.cpp: In member function 'void Unpack::LongLZ()': BUILDSTDERR: unpack15.cpp:295:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Length!=1 && Length!=4) BUILDSTDERR: ^ BUILDSTDERR: unpack15.cpp:309:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (OldAvr3 > 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40) BUILDSTDERR: ^ BUILDSTDERR: In file included from unpack.cpp:12:0: BUILDSTDERR: unpack20.cpp: In member function 'void Unpack::ReadLastTables()': BUILDSTDERR: unpack20.cpp:259:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (ReadTop>=Inp.InAddr+5) BUILDSTDERR: ^ BUILDSTDERR: In file included from rar.hpp:13:0, BUILDSTDERR: from unpack.cpp:1: BUILDSTDERR: unpack30.cpp: In member function 'void Unpack::Unpack29(bool)': BUILDSTDERR: rardefs.hpp:10:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: #define ASIZE(x) (sizeof(x)/sizeof(x[0])) BUILDSTDERR: ^ BUILDSTDERR: unpack30.cpp:30:20: note: in expansion of macro 'ASIZE' BUILDSTDERR: for (int I=0;IParentFilter]->Prg; BUILDSTDERR: ^ BUILDSTDERR: unpack30.cpp:561:29: warning: unused variable 'ParentPrg' [-Wunused-variable] BUILDSTDERR: VM_PreparedProgram *ParentPrg=&Filters30[flt->ParentFilter]->Prg; BUILDSTDERR: ^ BUILDSTDERR: In file included from unpack.cpp:15:0: BUILDSTDERR: unpack50.cpp: In member function 'void Unpack::Unpack5(bool)': BUILDSTDERR: unpack50.cpp:30:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Inp.InAddr==BlockHeader.BlockStart+BlockHeader.BlockSize-1 && BUILDSTDERR: ^ BUILDSTDERR: unpack50.cpp:129:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (LastLength!=0) BUILDSTDERR: ^ BUILDSTDERR: unpack50.cpp: In member function 'void Unpack::UnpWriteBuf()': BUILDSTDERR: unpack50.cpp:393:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: WrPtr!=UnpPtr && ((WrPtr-UnpPtr)&MaxWinMask)<((WriteBorder-UnpPtr)&MaxWinMask)) BUILDSTDERR: ^ BUILDSTDERR: unpack.cpp: In member function 'void Unpack::Init(size_t, bool)': BUILDSTDERR: unpack.cpp:96:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (NewWindow==NULL) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c threadpool.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c rs16.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c cmddata.cpp BUILDSTDERR: In file included from cmddata.cpp:3:0: BUILDSTDERR: cmdfilter.cpp: In member function 'bool CommandData::TimeCheck(RarTime&, RarTime&, RarTime&)': BUILDSTDERR: cmdfilter.cpp:190:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileMtimeBefore.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:200:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileMtimeAfter.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:210:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileCtimeBefore.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:220:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileCtimeAfter.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:230:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileAtimeBefore.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp:240:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (FileAtimeAfter.IsSet()) // Filter present. BUILDSTDERR: ^ BUILDSTDERR: cmdfilter.cpp: In member function 'int CommandData::IsProcessFile(FileHeader&, bool*, int, bool, wchar*, uint)': BUILDSTDERR: cmdfilter.cpp:282:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((FileHead.FileAttr & ExclFileAttr)!=0 || InclAttrSet && (FileHead.FileAttr & InclFileAttr)==0) BUILDSTDERR: ^ BUILDSTDERR: cmddata.cpp: In member function 'void CommandData::ProcessSwitch(const wchar*)': BUILDSTDERR: cmddata.cpp:776:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (!AlreadyBad) BUILDSTDERR: ^ BUILDSTDERR: cmddata.cpp: In member function 'void CommandData::ProcessCommand()': BUILDSTDERR: cmddata.cpp:937:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Command[0]!=0 && Command[1]!=0 && wcschr(SingleCharCommands,Command[0])!=NULL || *ArcName==0) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c ui.cpp g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c filestr.cpp BUILDSTDERR: filestr.cpp: In function 'bool ReadTextFile(const wchar*, StringList*, bool, bool, RAR_CHARSET, bool, bool, bool)': BUILDSTDERR: filestr.cpp:16:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Name!=NULL) BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c scantree.cpp BUILDSTDERR: scantree.cpp: In member function 'bool ScanTree::GetNextMask()': BUILDSTDERR: scantree.cpp:226:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Name[0]=='.' && (Name[1]==0 || Name[1]=='.' && Name[2]==0)) BUILDSTDERR: ^ BUILDSTDERR: scantree.cpp: In member function 'SCAN_CODE ScanTree::FindProc(FindData*)': BUILDSTDERR: scantree.cpp:265:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: FolderWildcards && Recurse!=RECURSE_DISABLE || BUILDSTDERR: ^ BUILDSTDERR: scantree.cpp:266:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Wildcards && Recurse==RECURSE_WILDCARDS || BUILDSTDERR: ^ BUILDSTDERR: scantree.cpp:267:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: ScanEntireDisk && Recurse!=RECURSE_DISABLE); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c dll.cpp BUILDSTDERR: dll.cpp: In function 'int RARReadHeaderEx(void*, RARHeaderDataEx*)': BUILDSTDERR: dll.cpp:216:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Data->Arc.Volume && Data->Arc.GetHeaderType()==HEAD_ENDARC && BUILDSTDERR: ^ BUILDSTDERR: dll.cpp: In function 'int ProcessFile(void*, int, char*, char*, wchar*, wchar*)': BUILDSTDERR: dll.cpp:332:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: Operation==RAR_SKIP && !Data->Arc.Solid) BUILDSTDERR: ^ BUILDSTDERR: dll.cpp:334:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] BUILDSTDERR: if (Data->Arc.Volume && Data->Arc.GetHeaderType()==HEAD_FILE && BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c qopen.cpp BUILDSTDERR: qopen.cpp: In member function 'bool QuickOpen::ReadNext()': BUILDSTDERR: qopen.cpp:280:8: warning: unused variable 'Flags' [-Wunused-variable] BUILDSTDERR: uint Flags=(uint)Raw.GetV(); BUILDSTDERR: ^ g++ -shared -o libunrar.so -Wl,-z,relro -pthread rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o options.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o filestr.o scantree.o dll.o qopen.o ar rcs libunrar.a rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o options.o errhnd.o rarvm.o secpassword.o rijndael.o getbits.o sha1.o sha256.o blake2s.o hash.o extinfo.o extract.o volume.o list.o find.o unpack.o headers.o threadpool.o rs16.o cmddata.o ui.o filestr.o scantree.o dll.o qopen.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8lHsBm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 + cd unrar + rm -rf /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 + install -Dpm 755 unrar /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/bin/unrar-nonfree + install -Dpm 644 unrar-nonfree.1 /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/man/man1/unrar-nonfree.1 + install -Dpm 755 libunrar.so /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/lib64/libunrar.so + mkdir -p -m 755 /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 archive.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 array.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 blake2s.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 cmddata.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 coder.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 compress.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 consio.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 crc.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 crypt.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 dll.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 encname.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 errhnd.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 extinfo.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 extract.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 filcreat.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 file.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 filefn.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 filestr.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 find.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 getbits.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 global.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 hash.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 headers.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 headers5.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 isnt.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 list.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 loclang.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 log.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 match.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 model.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 options.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 os.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 pathfn.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 qopen.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rar.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rardefs.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rarlang.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 raros.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rartypes.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rarvm.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rawint.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rawread.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rdwrfn.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 recvol.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 resource.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rijndael.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rs.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 rs16.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 savepos.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 scantree.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 secpassword.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 sha1.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 sha256.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 smallfn.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 strfn.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 strlist.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 suballoc.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 system.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 threadpool.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 timefn.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 ui.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 unicode.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 unpack.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 version.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + for i in '*.hpp' + install -Dpm 644 volume.hpp /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64//usr/include/unrar + touch /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/bin/unrar + mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/etc/rpm + cat + touch -r license.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/etc/rpm/macros.unrar + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/unrar extracting debug info from /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/lib64/libunrar.so extracting debug info from /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/bin/unrar-nonfree /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1454 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: unrar-5.7.3-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.U9Y2Xo + umask 022 + cd /builddir/build/BUILD + cd unrar + DOCDIR=/builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/unrar-5.7.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/unrar-5.7.3 + cp -pr readme.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/unrar-5.7.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gCMzlr + umask 022 + cd /builddir/build/BUILD + cd unrar + LICENSEDIR=/builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/unrar-5.7.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/unrar-5.7.3 + cp -pr license.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/unrar-5.7.3 + exit 0 Provides: unrar = 5.7.3-1.el7 unrar(x86-64) = 5.7.3-1.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh chkconfig Requires(preun): /bin/sh chkconfig 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.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libunrar-5.7.3-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Le8RNt + umask 022 + cd /builddir/build/BUILD + cd unrar + DOCDIR=/builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/libunrar-5.7.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/libunrar-5.7.3 + cp -pr readme.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/libunrar-5.7.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.39rbhw + umask 022 + cd /builddir/build/BUILD + cd unrar + LICENSEDIR=/builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/libunrar-5.7.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/libunrar-5.7.3 + cp -pr license.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/libunrar-5.7.3 + exit 0 Provides: libunrar = 5.7.3-1.el7 libunrar(x86-64) = 5.7.3-1.el7 libunrar.so()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libunrar-devel-5.7.3-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dHHLOy + umask 022 + cd /builddir/build/BUILD + cd unrar + DOCDIR=/builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/libunrar-devel-5.7.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/libunrar-devel-5.7.3 + cp -pr readme.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/doc/libunrar-devel-5.7.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N7aonB + umask 022 + cd /builddir/build/BUILD + cd unrar + LICENSEDIR=/builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/libunrar-devel-5.7.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/libunrar-devel-5.7.3 + cp -pr license.txt /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64/usr/share/licenses/libunrar-devel-5.7.3 + exit 0 Provides: config(libunrar-devel) = 5.7.3-1.el7 libunrar-devel = 5.7.3-1.el7 libunrar-devel(x86-64) = 5.7.3-1.el7 libunrar3-5.7.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unrar-debuginfo-5.7.3-1.el7.x86_64 Provides: unrar-debuginfo = 5.7.3-1.el7 unrar-debuginfo(x86-64) = 5.7.3-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 Wrote: /builddir/build/RPMS/unrar-5.7.3-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/libunrar-5.7.3-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/libunrar-devel-5.7.3-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/unrar-debuginfo-5.7.3-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PV9KWV + umask 022 + cd /builddir/build/BUILD + cd unrar + /usr/bin/rm -rf /builddir/build/BUILDROOT/unrar-5.7.3-1.el7.x86_64 + exit 0 Child return code was: 0