Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/unrar.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-396342-71812/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.njoamobm:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.njoamobm:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f95e2cb27dcf4ceaaee13937565a734f', '-D', '/var/lib/mock/dist-an23-dde-build-396342-71812/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.njoamobm:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target 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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1726790400 Wrote: /builddir/build/SRPMS/unrar-5.9.4-1.3.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/unrar.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-396342-71812/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.njoamobm:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.njoamobm:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '468f0d9f92fb4cd189b283509ee5d5c3', '-D', '/var/lib/mock/dist-an23-dde-build-396342-71812/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.njoamobm:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target 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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1726790400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eV2zK9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unrar + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/unrarsrc-5.9.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd unrar + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/unrar-5.9.4-build.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2022-48579.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-build-error.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + cp -p /builddir/build/SOURCES/unrar.1 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iHIjN9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd unrar + /usr/bin/make -O -j80 V=1 VERBOSE=1 -f makefile unrar CXX=g++ 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -pthread' STRIP=: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c isnt.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c smallfn.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c resource.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c system.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filcreat.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c getbits.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c encname.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rar.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c headers.cpp headers.cpp: In member function 'FileHeader& FileHeader::operator=(FileHeader&)': headers.cpp:43:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct FileHeader' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 43 | memcpy(this,&hd,sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from rar.hpp:28, from headers.cpp:1: headers.hpp:175:8: note: 'struct FileHeader' declared here 175 | struct FileHeader:BlockHeader | ^~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c crc.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c match.cpp match.cpp: In function 'bool CmpName(const wchar*, const wchar*, int)': match.cpp:51:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 51 | if (CmpMode==MATCH_SUBPATH || CmpMode==MATCH_WILDSUBPATH) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c sha256.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c volume.cpp volume.cpp: In function 'bool MergeArchive(Archive&, ComprDataIO*, bool, wchar)': volume.cpp:22:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 22 | hd->UnpVer>=20 && hd->FileHash.CRC32!=0xffffffff; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c threadpool.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c hash.cpp hash.cpp: In member function 'bool HashValue::operator==(const HashValue&)': hash.cpp:33:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 33 | if (Type==HASH_RAR14 && cmp.Type==HASH_RAR14 || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rawread.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c errhnd.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rs16.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c filefn.cpp filefn.cpp: In function 'bool CreatePath(const wchar*, bool)': filefn.cpp:57:15: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 57 | if (s-Path>=ASIZE(DirName)) g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c blake2s.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rarvm.cpp rarvm.cpp: In member function 'bool RarVM::ExecuteStandardFilter(VM_StandardFilters)': rarvm.cpp:124:9: warning: enumeration value 'VMSF_NONE' not handled in switch [-Wswitch] 124 | switch(FilterType) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c global.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c options.cpp options.cpp: In destructor 'RAROptions::~RAROptions()': options.cpp:13:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class RAROptions' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 13 | memset(this,0,sizeof(RAROptions)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rar.hpp:24, from options.cpp:1: options.hpp:86:7: note: 'class RAROptions' declared here 86 | class RAROptions | ^~~~~~~~~~ options.cpp: In member function 'void RAROptions::Init()': options.cpp:19:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class RAROptions' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 19 | memset(this,0,sizeof(RAROptions)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ options.hpp:86:7: note: 'class RAROptions' declared here 86 | class RAROptions | ^~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c file.cpp file.cpp: In destructor 'virtual File::~File()': file.cpp:26:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 26 | if (hFile!=FILE_BAD_HANDLE && !SkipClose) | ^ file.cpp: In member function 'bool File::Create(const wchar*, uint)': file.cpp:179:8: warning: unused variable 'ShareRead' [-Wunused-variable] 179 | bool ShareRead=(Mode & FMF_SHAREREAD)!=0 || File::OpenShared; | ^~~~~~~~~ file.cpp: In member function 'bool File::Write(const void*, size_t)': file.cpp:336:20: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 336 | Success=Written==Size; | ~~~~~~~^~~~~~ file.cpp:357:20: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 357 | if (Written0) | ~~~~~~~^~~~~ file.cpp: In member function 'virtual int File::Read(void*, size_t)': file.cpp:383:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 383 | if (AllowExceptions) | ^ file.cpp: In member function 'virtual int64 File::Tell()': file.cpp:515:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 515 | if (hFile==FILE_BAD_HANDLE) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c list.cpp list.cpp: In function 'void ListArchive(CommandData*)': list.cpp:50:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 50 | if (Arc.Volume) | ^ list.cpp:92:17: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] 92 | switch(HeaderType) | ^ list.cpp:92:17: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] list.cpp:92:17: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] list.cpp:117:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 117 | if (!Bare && !Technical) | ^ list.cpp:151:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | Arc.GetHeaderType()==HEAD_ENDARC && Arc.EndArcHead.NextVolume) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.cpp: In function 'void ListFileHeader(Archive&, FileHeader&, bool&, bool, bool, bool)': list.cpp:264:15: warning: enumeration value 'FSREDIR_NONE' not handled in switch [-Wswitch] 264 | switch(hd.RedirType) | ^ In file included from rar.hpp:13, from list.cpp:1: rardefs.hpp:4:24: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 4 | #define Min(x,y) (((x)<(y)) ? (x):(y)) | ~~~^~~~ list.cpp:290:31: note: in expansion of macro 'Min' 290 | int DataSize=(int)Min(hd.PackSize,ASIZE(LinkTargetA)-1); | ^~~ list.cpp:278:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 278 | if (hd.RedirType!=FSREDIR_NONE) | ^ list.cpp: At global scope: list.cpp:4:13: warning: 'void ListSymLink(Archive&)' declared 'static' but never defined [-Wunused-function] 4 | static void ListSymLink(Archive &Arc); | ^~~~~~~~~~~ list.cpp:6:13: warning: 'void ListOldSubHeader(Archive&)' declared 'static' but never defined [-Wunused-function] 6 | static void ListOldSubHeader(Archive &Arc); | ^~~~~~~~~~~~~~~~ list.cpp:7:13: warning: 'void ListNewSubHeader(CommandData*, Archive&)' declared 'static' but never defined [-Wunused-function] 7 | static void ListNewSubHeader(CommandData *Cmd,Archive &Arc); | ^~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c secpassword.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c find.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rdwrfn.cpp rdwrfn.cpp: In member function 'int ComprDataIO::UnpRead(byte*, size_t)': rdwrfn.cpp:122:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 122 | (ReadSize==0 || Decryption && (TotalRead & CRYPT_BLOCK_MASK) != 0) ) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c timefn.cpp timefn.cpp: In member function 'void RarTime::SetIsoText(const wchar*)': timefn.cpp:253:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 253 | if (FieldPos*)': arccmt.cpp:53:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ archive.cpp: In static member function 'static RARFORMAT Archive::IsSignature(const byte*, size_t)': archive.cpp:102:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 102 | if (Size>=1 && D[0]==0x52) | ^ archive.cpp: In member function 'bool Archive::IsArchive(bool)': archive.cpp:206:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 206 | StartFound=Type==HEAD_MAIN || SilentOpen && Type==HEAD_CRYPT; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ arccmt.cpp: At global scope: arccmt.cpp:1:13: warning: 'bool IsAnsiEscComment(const wchar*, size_t)' declared 'static' but never defined [-Wunused-function] 1 | static bool IsAnsiEscComment(const wchar *Data,size_t Size); | ^~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rs.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rijndael.cpp rijndael.cpp: In member function 'void Rijndael::GenerateTables()': rijndael.cpp:448:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 448 | for (int i = 0,w = 1; i < sizeof(rcon)/sizeof(rcon[0]); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strfn.cpp strfn.cpp: In function 'bool IsAlpha(int)': strfn.cpp:195:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 195 | return ch>='A' && ch<='Z' || ch>='a' && ch<='z'; | ~~~~~~~~^~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c scantree.cpp scantree.cpp: In member function 'bool ScanTree::GetNextMask()': scantree.cpp:226:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 226 | if (Name[0]=='.' && (Name[1]==0 || Name[1]=='.' && Name[2]==0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~ scantree.cpp: In member function 'SCAN_CODE ScanTree::FindProc(FindData*)': scantree.cpp:265:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 265 | FolderWildcards && Recurse!=RECURSE_DISABLE || | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ scantree.cpp:266:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 266 | Wildcards && Recurse==RECURSE_WILDCARDS || | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scantree.cpp:267:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 267 | ScanEntireDisk && Recurse!=RECURSE_DISABLE); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c sha1.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c pathfn.cpp pathfn.cpp: In function 'void MakeNameUsable(char*, bool)': pathfn.cpp:454:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 454 | if (strchr(Extended ? "?*<>|\"":"?*",*s)!=NULL || Extended && (byte)*s<32) | ~~~~~~~~~^~~~~~~~~~~~~~ pathfn.cpp: In function 'void MakeNameUsable(wchar*, bool)': pathfn.cpp:475:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 475 | if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32) | ~~~~~~~~~^~~~~~~~~~~~~~ pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)': pathfn.cpp:758:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 758 | if (StartWeekDay<0) | ^ pathfn.cpp: In function 'GenArcName(wchar_t*, unsigned long, wchar_t const*, unsigned int, bool&) [clone .constprop.0]': pathfn.cpp:776:21: warning: '%u' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 776 | sprintf(Field[7],"%u",(uint)WeekDay+1); | ^~ pathfn.cpp:776:20: note: directive argument in the range [1, 4294967295] 776 | sprintf(Field[7],"%u",(uint)WeekDay+1); | ^~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from os.hpp:16, from rar.hpp:6, from pathfn.cpp:1: In function 'sprintf', inlined from 'GenArcName(wchar_t*, unsigned long, wchar_t const*, unsigned int, bool&) [clone .constprop.0]' at pathfn.cpp:776:10: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 2 and 11 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c arcread.cpp arcread.cpp: In member function 'size_t Archive::ReadHeader()': arcread.cpp:17:9: warning: enumeration value 'RARFMT_NONE' not handled in switch [-Wswitch] 17 | switch(Format) | ^ arcread.cpp:17:9: warning: enumeration value 'RARFMT_FUTURE' not handled in switch [-Wswitch] arcread.cpp: In member function 'size_t Archive::ReadHeader15()': arcread.cpp:187:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] 187 | switch(ShortBlock.HeaderType) | ^ arcread.cpp:187:9: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD_FILE' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD_SERVICE' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] arcread.cpp:187:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] arcread.cpp: In member function 'size_t Archive::ReadHeader50()': arcread.cpp:699:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] 699 | switch(ShortBlock.HeaderType) | ^ arcread.cpp:699:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] arcread.cpp:699:9: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] arcread.cpp: In member function 'void Archive::ProcessExtra50(RawRead*, size_t, BaseBlock*)': arcread.cpp:1071:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1071 | if ((Flags & FHEXTRA_HTIME_MTIME)!=0) | ^ arcread.cpp:1076:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1076 | if ((Flags & FHEXTRA_HTIME_CTIME)!=0) | ^ arcread.cpp:1081:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1081 | if ((Flags & FHEXTRA_HTIME_ATIME)!=0) | ^ arcread.cpp: In member function 'void Archive::ConvertFileHeader(FileHeader*)': arcread.cpp:1360:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1360 | if (hd->HSType==HSYS_UNKNOWN) | ^ arcread.cpp:1402:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1402 | if (*s=='/' || *s=='\\' && Format!=RARFMT50) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ arcread.cpp: In member function 'bool Archive::ReadSubData(Array*, File*, bool)': arcread.cpp:1458:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1458 | if (SubHead.Encrypted) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c cmddata.cpp In file included from cmddata.cpp:3: cmdfilter.cpp: In member function 'bool CommandData::TimeCheck(RarTime&, RarTime&, RarTime&)': cmdfilter.cpp:196:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 196 | if (FileMtimeBefore.IsSet()) // Filter present. | ^ cmdfilter.cpp:206:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 206 | if (FileMtimeAfter.IsSet()) // Filter present. | ^ cmdfilter.cpp:216:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 216 | if (FileCtimeBefore.IsSet()) // Filter present. | ^ cmdfilter.cpp:226:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 226 | if (FileCtimeAfter.IsSet()) // Filter present. | ^ cmdfilter.cpp:236:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 236 | if (FileAtimeBefore.IsSet()) // Filter present. | ^ cmdfilter.cpp:246:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 246 | if (FileAtimeAfter.IsSet()) // Filter present. | ^ cmdfilter.cpp: In member function 'int CommandData::IsProcessFile(FileHeader&, bool*, int, bool, wchar*, uint)': cmdfilter.cpp:288:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | if ((FileHead.FileAttr & ExclFileAttr)!=0 || FileHead.Dir && ExclDir) | ~~~~~~~~~~~~~^~~~~~~~~~ cmdfilter.cpp:290:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 290 | if (InclAttrSet && (!FileHead.Dir && (FileHead.FileAttr & InclFileAttr)==0 || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmddata.cpp: In member function 'void CommandData::ProcessSwitch(const wchar*)': cmddata.cpp:780:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 780 | if (!AlreadyBad) | ^ cmddata.cpp: In member function 'void CommandData::ProcessCommand()': cmddata.cpp:909:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 909 | if (Command[0]!=0 && Command[1]!=0 && wcschr(SingleCharCommands,Command[0])!=NULL || *ArcName==0) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c extract.cpp extract.cpp: In member function 'void CmdExtract::DoExtract()': extract.cpp:77:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 77 | if (!Cmd->DisableDone) | ^ extract.cpp: In member function 'EXTRACT_ARC_CODE CmdExtract::ExtractArchive()': extract.cpp:211:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 211 | if (!ExtractCurrentFile(Arc,Size,Repeat)) | ^ extract.cpp: In member function 'bool CmdExtract::ExtractCurrentFile(Archive&, size_t, bool&)': extract.cpp:242:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 242 | if (HeaderSize==0) | ^ extract.cpp:269:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 269 | if (HeaderType==HEAD_ENDARC) | ^ extract.cpp:367:32: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 367 | if (Cmd->VersionControl-1==Version) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ extract.cpp:588:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 588 | if (Command!='I') | ^ extract.cpp:664:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 664 | if (FileCreateMode && *NameExisting!=0) // *NameExisting can be 0 in case of excessive -ap switch. | ^ extract.cpp:670:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 670 | else | ^~~~ extract.cpp:697:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 697 | if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode) | ^~ extract.cpp:697:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 697 | if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ extract.cpp:709:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 709 | if (!Arc.FileHead.SplitBefore) | ^ extract.cpp:785:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 785 | (!LinkEntry || SetAttrOnly || Arc.FileHead.RedirType==FSREDIR_FILECOPY && LinkSuccess) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ extract.cpp:796:66: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long int'} and 'uint64' {aka 'long unsigned int'} [-Wsign-compare] 796 | if (Preallocated>0 && (BrokenFile || DataIO.CurUnpWrite!=Preallocated)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ extract.cpp:834:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 834 | if (!ExtrFile) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c recvol.cpp In file included from recvol.cpp:3: recvol3.cpp: In function 'bool IsNewStyleRev(const wchar*)': recvol3.cpp:93:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 93 | if (!IsDigit(*Ext)) | ^ recvol3.cpp: In member function 'bool RecVolumes3::Restore(RAROptions*, const wchar*, bool)': recvol3.cpp:231:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 231 | if (RecVolNumber!=0 && RecVolNumber!=P[1] || FileNumber!=0 && FileNumber!=P[2]) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from recvol.cpp:4: recvol5.cpp: In member function 'bool RecVolumes5::Restore(RAROptions*, const wchar*, bool)': recvol5.cpp:382:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 382 | if (ReadSize!=RecBufferSize) | ~~~~~~~~^~~~~~~~~~~~~~~ In file included from rar.hpp:13, from recvol.cpp:1: rardefs.hpp:4:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long unsigned int'} [-Wsign-compare] 4 | #define Min(x,y) (((x)<(y)) ? (x):(y)) | ~~~^~~~ recvol5.cpp:399:34: note: in expansion of macro 'Min' 399 | size_t WriteSize=(size_t)Min(MaxRead,Item->FileSize); | ^~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c unpack.cpp In file included from unpack.cpp:3: model.cpp: In member function 'int ModelPPM::DecodeChar()': coder.cpp:23:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 23 | while ((low^(low+range))BlockHeader.TablePresent && !TablesRead5) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ unpack50mt.cpp:207:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 207 | if (!CurData->LargeBlock && !ProcessDecoded(*CurData) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ unpack50mt.cpp: In member function 'void Unpack::UnpackDecode(UnpackThreadData&)': unpack50mt.cpp:318:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 318 | if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 319 | D.Inp.InBit>=D.BlockHeader.BlockBitSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unpack50mt.cpp:325:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 325 | if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ unpack50mt.cpp: In member function 'bool Unpack::UnpackLargeBlock(UnpackThreadData&)': unpack50mt.cpp:549:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 549 | if (D.Inp.InAddr>BlockBorder || D.Inp.InAddr==BlockBorder && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 550 | D.Inp.InBit>=D.BlockHeader.BlockBitSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unpack50mt.cpp:556:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 556 | if ((D.Inp.InAddr>=DataBorder) && !D.NoDataLeft || D.Inp.InAddr>=D.DataSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from unpack.cpp:11: unpack15.cpp: In member function 'void Unpack::LongLZ()': unpack15.cpp:295:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 295 | if (Length!=1 && Length!=4) | ^ unpack15.cpp:309:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 309 | if (OldAvr3 > 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from unpack.cpp:12: unpack20.cpp: In member function 'void Unpack::ReadLastTables()': unpack20.cpp:259:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 259 | if (ReadTop>=Inp.InAddr+5) | ^ In file included from unpack.cpp:14: unpack30.cpp: In member function 'void Unpack::Unpack29(bool)': unpack30.cpp:30:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 30 | for (int I=0;IParentFilter]->Prg; | ^~~~~~~~~ unpack30.cpp:561:29: warning: unused variable 'ParentPrg' [-Wunused-variable] 561 | VM_PreparedProgram *ParentPrg=&Filters30[flt->ParentFilter]->Prg; | ^~~~~~~~~ In file included from unpack.cpp:15: unpack50.cpp: In member function 'void Unpack::Unpack5(bool)': unpack50.cpp:30:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 30 | Inp.InAddr==BlockHeader.BlockStart+BlockHeader.BlockSize-1 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 31 | Inp.InBit>=BlockHeader.BlockBitSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unpack50.cpp:129:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 129 | if (LastLength!=0) | ^ unpack50.cpp: In member function 'void Unpack::UnpWriteBuf()': unpack50.cpp:393:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 393 | WrPtr!=UnpPtr && ((WrPtr-UnpPtr)&MaxWinMask)<((WriteBorder-UnpPtr)&MaxWinMask)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unpack.cpp: In member function 'void Unpack::Init(size_t, bool)': unpack.cpp:107:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 107 | if (NewWindow==NULL) | ^ g++ -o unrar -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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 + /usr/bin/make -O -j80 V=1 VERBOSE=1 -f makefile lib CXX=g++ 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -pthread' STRIP=: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -c dll.cpp dll.cpp: In function 'int RARReadHeaderEx(void*, RARHeaderDataEx*)': dll.cpp:216:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 216 | if (Data->Arc.Volume && Data->Arc.GetHeaderType()==HEAD_ENDARC && | ^ dll.cpp: In function 'int ProcessFile(void*, int, char*, char*, wchar*, wchar*)': dll.cpp:332:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 332 | Operation==RAR_SKIP && !Data->Arc.Solid) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ dll.cpp:334:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 334 | if (Data->Arc.Volume && Data->Arc.GetHeaderType()==HEAD_FILE && | ^ g++ -shared -o libunrar.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -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 options.hpp:86:7: warning: type 'struct RAROptions' violates the C++ One Definition Rule [-Wodr] 86 | class RAROptions | ^ options.hpp:86:7: note: a different type is defined in another translation unit 86 | class RAROptions | ^ options.hpp:205:11: note: the first difference of corresponding definitions is field 'DllDestName' 205 | wchar DllDestName[NM]; | ^ options.hpp:86:7: note: a type with different number of fields is defined in another translation unit 86 | class RAROptions | ^ cmddata.hpp:11:7: warning: type 'struct CommandData' violates the C++ One Definition Rule [-Wodr] 11 | class CommandData:public RAROptions | ^ cmddata.hpp:11:7: note: a type with different bases is defined in another translation unit 11 | class CommandData:public RAROptions | ^ cmddata.hpp:49:10: warning: type of 'AddArcName' does not match original declaration [-Wlto-type-mismatch] 49 | void AddArcName(const wchar *Name); | ^ cmddata.cpp:975:6: note: 'AddArcName' was previously declared here 975 | void CommandData::AddArcName(const wchar *Name) | ^ cmddata.cpp:975:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used cmddata.hpp:28:5: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 28 | CommandData(); | ^ cmddata.cpp:6:1: note: '__ct_comp ' was previously declared here 6 | CommandData::CommandData() | ^ cmddata.cpp:6:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used options.hpp:90:5: warning: type of '__dt_base ' does not match original declaration [-Wlto-type-mismatch] 90 | ~RAROptions(); | ^ options.cpp:9:1: note: '__dt_base ' was previously declared here 9 | RAROptions::~RAROptions() | ^ options.cpp:9:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QvHG8c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd unrar + install -Dpm 755 unrar /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/bin/unrar + install -Dpm 644 unrar.1 /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/man/man1/unrar.1 + install -Dpm 755 libunrar.so /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/lib64/libunrar.so + mkdir -p -m 755 /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 archive.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 array.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 blake2s.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 cmddata.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 coder.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 compress.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 consio.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 crc.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 crypt.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 dll.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 encname.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 errhnd.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 extinfo.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 extract.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 filcreat.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 file.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 filefn.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 filestr.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 find.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 getbits.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 global.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 hash.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 headers.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 headers5.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 isnt.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 list.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 loclang.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 log.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 match.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 model.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 options.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 os.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 pathfn.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 qopen.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rar.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rardefs.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rarlang.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 raros.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rartypes.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rarvm.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rawint.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rawread.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rdwrfn.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 recvol.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 resource.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rijndael.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rs.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 rs16.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 savepos.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 scantree.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 secpassword.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 sha1.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 sha256.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 smallfn.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 strfn.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 strlist.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 suballoc.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 system.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 threadpool.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 timefn.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 ui.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 unicode.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 unpack.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 version.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + for i in *.hpp + install -Dpm 644 volume.hpp /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64//usr/include/unrar/ + mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/etc/rpm + cat + touch -r license.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/etc/rpm/macros.unrar + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 5.9.4-1.3.an23 --unique-debug-suffix -5.9.4-1.3.an23.x86_64 --unique-debug-src-base unrar-5.9.4-1.3.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/unrar extracting debug info from /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/bin/unrar extracting debug info from /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/lib64/libunrar.so original debug info size: 4216kB, size after compression: 2588kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 1472 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files Warning: undefined symbols in /usr/lib64/libunrar.so: _Z17RecVolumesRestoreP10RAROptionsPKwb _Z14RecVolumesTestP10RAROptionsP7ArchivePKw + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: unrar-5.9.4-1.3.an23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S4eEqV + umask 022 + cd /builddir/build/BUILD + cd unrar + DOCDIR=/builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/unrar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/unrar + cp -pr readme.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/unrar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yCxsCA + umask 022 + cd /builddir/build/BUILD + cd unrar + LICENSEDIR=/builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/unrar + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/unrar + cp -pr license.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/unrar + RPM_EC=0 ++ jobs -p + exit 0 Provides: unrar = 5.9.4-1.3.an23 unrar(x86-64) = 5.9.4-1.3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(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) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libunrar-5.9.4-1.3.an23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WDWZCg + umask 022 + cd /builddir/build/BUILD + cd unrar + DOCDIR=/builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/libunrar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/libunrar + cp -pr readme.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/libunrar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bgS3sR + umask 022 + cd /builddir/build/BUILD + cd unrar + LICENSEDIR=/builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/libunrar + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/libunrar + cp -pr license.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/libunrar + RPM_EC=0 ++ jobs -p + exit 0 Provides: libunrar = 5.9.4-1.3.an23 libunrar(x86-64) = 5.9.4-1.3.an23 libunrar.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(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) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libunrar-devel-5.9.4-1.3.an23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DseZEC + umask 022 + cd /builddir/build/BUILD + cd unrar + DOCDIR=/builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/libunrar-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/libunrar-devel + cp -pr readme.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/doc/libunrar-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N5IjR2 + umask 022 + cd /builddir/build/BUILD + cd unrar + LICENSEDIR=/builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/libunrar-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/libunrar-devel + cp -pr license.txt /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64/usr/share/licenses/libunrar-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(libunrar-devel) = 5.9.4-1.3.an23 libunrar-devel = 5.9.4-1.3.an23 libunrar-devel(x86-64) = 5.9.4-1.3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unrar-debugsource-5.9.4-1.3.an23.x86_64 Provides: unrar-debugsource = 5.9.4-1.3.an23 unrar-debugsource(x86-64) = 5.9.4-1.3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unrar-debuginfo-5.9.4-1.3.an23.x86_64 Provides: debuginfo(build-id) = be79a3efe66771bfc1f51dd4e9c8d5f6d16bc295 unrar-debuginfo = 5.9.4-1.3.an23 unrar-debuginfo(x86-64) = 5.9.4-1.3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unrar-debugsource(x86-64) = 5.9.4-1.3.an23 Processing files: libunrar-debuginfo-5.9.4-1.3.an23.x86_64 Provides: debuginfo(build-id) = 4278a3d96ba2824d5dad99a58fad4ab461daa4e2 libunrar-debuginfo = 5.9.4-1.3.an23 libunrar-debuginfo(x86-64) = 5.9.4-1.3.an23 libunrar.so-5.9.4-1.3.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unrar-debugsource(x86-64) = 5.9.4-1.3.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unrar-5.9.4-1.3.an23.x86_64 Wrote: /builddir/build/RPMS/unrar-5.9.4-1.3.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libunrar-devel-5.9.4-1.3.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libunrar-5.9.4-1.3.an23.x86_64.rpm Wrote: /builddir/build/RPMS/unrar-debugsource-5.9.4-1.3.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libunrar-debuginfo-5.9.4-1.3.an23.x86_64.rpm Wrote: /builddir/build/RPMS/unrar-debuginfo-5.9.4-1.3.an23.x86_64.rpm Child return code was: 0