D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/opencpn-chartdldr-plugin-1.2-12.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.m35aAn + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf chartdldr_pi + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/chartdldr_pi-1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chartdldr_pi + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fSajfo + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chartdldr_pi + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- *** Staging to build chartdldr_pi *** -- Found wxWidgets: -L/usr/lib64;-pthread;;;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.5") -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found OpenGL... -- Lib: /usr/lib64/libGL.so/usr/lib64/libGLU.so -- Include: /usr/include -- Found Gettext: /usr/bin/msgmerge (found version "0.21") -- Found TinyXML: /usr/include -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Checking for module 'tinyxml' -- Found tinyxml, version 2.6.2 -- Chartdldr_pi building with system tinyxml -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/chartdldr_pi/build + /usr/bin/cmake --build build -j8 --verbose /usr/bin/cmake -S/home/iurt/rpmbuild/BUILD/chartdldr_pi -B/home/iurt/rpmbuild/BUILD/chartdldr_pi/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles /home/iurt/rpmbuild/BUILD/chartdldr_pi/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' /usr/bin/gmake -f CMakeFiles/chartdldr-i18n.dir/build.make CMakeFiles/chartdldr-i18n.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' cd /home/iurt/rpmbuild/BUILD/chartdldr_pi/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/chartdldr_pi /home/iurt/rpmbuild/BUILD/chartdldr_pi /home/iurt/rpmbuild/BUILD/chartdldr_pi/build /home/iurt/rpmbuild/BUILD/chartdldr_pi/build /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr-i18n.dir/DependInfo.cmake --color= Dependee "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr-i18n.dir/DependInfo.cmake" is newer than depender "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr-i18n.dir/depend.internal". Dependee "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr-i18n.dir/depend.internal". Scanning dependencies of target chartdldr-i18n gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' /usr/bin/gmake -f CMakeFiles/chartdldr-i18n.dir/build.make CMakeFiles/chartdldr-i18n.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' [ 1%] chartdldr-i18n [zh]: Created mo file. [ 4%] chartdldr-i18n [ca]: Created mo file. [ 4%] chartdldr-i18n [de]: Created mo file. [ 6%] chartdldr-i18n [es]: Created mo file. [ 6%] chartdldr-i18n [et]: Created mo file. [ 8%] chartdldr-i18n [da]: Created mo file. /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/zh.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/zh.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/es.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/es.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/et.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/et.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/ca.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/ca.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/de.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/de.po [ 9%] chartdldr-i18n [cs]: Created mo file. /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/cs.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/cs.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/da.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/da.po /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/zh.mo Resources/zh.lproj/opencpn-chartdldr_pi.mo [ 10%] chartdldr-i18n [el]: Created mo file. /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/es.mo Resources/es.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/et.mo Resources/et.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/ca.mo Resources/ca.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/de.mo Resources/de.lproj/opencpn-chartdldr_pi.mo /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/el.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/el.po /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/cs.mo Resources/cs.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/da.mo Resources/da.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/el.mo Resources/el.lproj/opencpn-chartdldr_pi.mo [ 13%] chartdldr-i18n [fr]: Created mo file. [ 13%] chartdldr-i18n [fi]: Created mo file. [ 16%] chartdldr-i18n [gl]: Created mo file. [ 17%] chartdldr-i18n [hu]: Created mo file. [ 17%] chartdldr-i18n [it]: Created mo file. /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/fr.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/fr.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/gl.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/gl.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/hu.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/hu.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/fi.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/fi.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/it.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/it.po [ 18%] chartdldr-i18n [nl]: Created mo file. [ 20%] chartdldr-i18n [pl]: Created mo file. [ 21%] chartdldr-i18n [nb]: Created mo file. /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/nl.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/nl.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/pl.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/pl.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/nb.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/nb.po /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/hu.mo Resources/hu.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/gl.mo Resources/gl.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/fr.mo Resources/fr.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/fi.mo Resources/fi.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/it.mo Resources/it.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/pl.mo Resources/pl.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/nl.mo Resources/nl.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/nb.mo Resources/nb.lproj/opencpn-chartdldr_pi.mo [ 24%] chartdldr-i18n [ru]: Created mo file. [ 24%] chartdldr-i18n [pt]: Created mo file. [ 25%] chartdldr-i18n [sv]: Created mo file. /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/pt.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/pt.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/ru.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/ru.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/sv.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/sv.po [ 26%] chartdldr-i18n [tr]: Created mo file. [ 28%] chartdldr-i18n [vi]: Created mo file. /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/tr.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/tr.po /usr/bin/msgfmt --check -o /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/vi.mo /home/iurt/rpmbuild/BUILD/chartdldr_pi/po/vi.po /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/sv.mo Resources/sv.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/ru.mo Resources/ru.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/pt.mo Resources/pt.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/tr.mo Resources/tr.lproj/opencpn-chartdldr_pi.mo /usr/bin/cmake -E copy /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/vi.mo Resources/vi.lproj/opencpn-chartdldr_pi.mo [ 29%] chartdldr_pi-i18n: Done. gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' [ 29%] Built target chartdldr-i18n /usr/bin/gmake -f CMakeFiles/chartdldr_pi.dir/build.make CMakeFiles/chartdldr_pi.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' cd /home/iurt/rpmbuild/BUILD/chartdldr_pi/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/chartdldr_pi /home/iurt/rpmbuild/BUILD/chartdldr_pi /home/iurt/rpmbuild/BUILD/chartdldr_pi/build /home/iurt/rpmbuild/BUILD/chartdldr_pi/build /home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr_pi.dir/DependInfo.cmake --color= Dependee "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr_pi.dir/DependInfo.cmake" is newer than depender "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr_pi.dir/depend.internal". Dependee "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/iurt/rpmbuild/BUILD/chartdldr_pi/build/CMakeFiles/chartdldr_pi.dir/depend.internal". Scanning dependencies of target chartdldr_pi gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' /usr/bin/gmake -f CMakeFiles/chartdldr_pi.dir/build.make CMakeFiles/chartdldr_pi.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/chartdldr_pi/build' [ 32%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/chartdldr_pi.cpp.o [ 32%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/icons.cpp.o [ 34%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/chartdldrgui.cpp.o [ 34%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/checkedlistctrl.cpp.o [ 36%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/strlist.cpp.o [ 37%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/chartcatalog.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/chartdldr_pi.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.cpp /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/icons.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/icons.cpp [ 38%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/rar.cpp.o [ 40%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/strfn.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/chartdldrgui.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.cpp /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/checkedlistctrl.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/chartcatalog.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartcatalog.cpp /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/strlist.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/strlist.cpp /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/rar.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rar.cpp /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/strfn.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/strfn.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/strfn.cpp: In function 'bool IsAlpha(int)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/strfn.cpp:159:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 159 | return(ch>='A' && ch<='Z' || ch>='a' && ch<='z'); | ~~~~~~~~^~~~~~~~~~ [ 41%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/pathfn.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/pathfn.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp:21: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:65: warning: "EVT_LIST_ITEM_CHECKED" redefined 65 | #define EVT_LIST_ITEM_CHECKED(id, fn) \ | [ 42%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/smallfn.cpp.o In file included from /usr/include/wx-3.1/wx/listctrl.h:18, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:37, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp:21: /usr/include/wx-3.1/wx/listbase.h:597: note: this is the location of the previous definition 597 | #define EVT_LIST_ITEM_CHECKED(id, fn) wx__DECLARE_LISTEVT(ITEM_CHECKED, id, fn) | In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp:21: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:72: warning: "EVT_LIST_ITEM_UNCHECKED" redefined 72 | #define EVT_LIST_ITEM_UNCHECKED(id, fn) \ | In file included from /usr/include/wx-3.1/wx/listctrl.h:18, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:37, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp:21: /usr/include/wx-3.1/wx/listbase.h:598: note: this is the location of the previous definition 598 | #define EVT_LIST_ITEM_UNCHECKED(id, fn) wx__DECLARE_LISTEVT(ITEM_UNCHECKED, id, fn) | /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/smallfn.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/smallfn.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:34, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.cpp:8: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:65: warning: "EVT_LIST_ITEM_CHECKED" redefined 65 | #define EVT_LIST_ITEM_CHECKED(id, fn) \ | In file included from /usr/include/wx-3.1/wx/listctrl.h:18, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:32, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.cpp:8: /usr/include/wx-3.1/wx/listbase.h:597: note: this is the location of the previous definition 597 | #define EVT_LIST_ITEM_CHECKED(id, fn) wx__DECLARE_LISTEVT(ITEM_CHECKED, id, fn) | In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:34, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.cpp:8: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:72: warning: "EVT_LIST_ITEM_UNCHECKED" redefined 72 | #define EVT_LIST_ITEM_UNCHECKED(id, fn) \ | In file included from /usr/include/wx-3.1/wx/listctrl.h:18, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:32, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.cpp:8: /usr/include/wx-3.1/wx/listbase.h:598: note: this is the location of the previous definition 598 | #define EVT_LIST_ITEM_UNCHECKED(id, fn) wx__DECLARE_LISTEVT(ITEM_UNCHECKED, id, fn) | [ 44%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/global.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/global.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/global.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp: In function 'void NextVolumeName(wchar*, uint, bool)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp:342:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 342 | if (ChPtr[1]==0 && wcslen(ArcName)|\"":"?*",*s)!=NULL || Extended && (byte)*s<32) | ~~~~~~~~~^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp: In function 'void MakeNameUsable(wchar*, bool)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp:434:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 434 | if (wcschr(Extended ? L"?*<>|\"":L"?*",*s)!=NULL || Extended && (uint)*s<32) | ~~~~~~~~~^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp: In function 'void GenArcName(wchar*, const wchar*, uint, bool&)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/pathfn.cpp:725:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 725 | if (StartWeekDay<0) | ^ [ 45%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/file.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/file.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:34, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.h:55, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.cpp:36: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:65: warning: "EVT_LIST_ITEM_CHECKED" redefined 65 | #define EVT_LIST_ITEM_CHECKED(id, fn) \ | In file included from /usr/include/wx-3.1/wx/listctrl.h:18, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:32, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.h:55, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.cpp:36: /usr/include/wx-3.1/wx/listbase.h:597: note: this is the location of the previous definition 597 | #define EVT_LIST_ITEM_CHECKED(id, fn) wx__DECLARE_LISTEVT(ITEM_CHECKED, id, fn) | In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:34, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.h:55, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.cpp:36: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.h:72: warning: "EVT_LIST_ITEM_UNCHECKED" redefined 72 | #define EVT_LIST_ITEM_UNCHECKED(id, fn) \ | In file included from /usr/include/wx-3.1/wx/listctrl.h:18, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldrgui.h:32, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.h:55, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.cpp:36: /usr/include/wx-3.1/wx/listbase.h:598: note: this is the location of the previous definition 598 | #define EVT_LIST_ITEM_UNCHECKED(id, fn) wx__DECLARE_LISTEVT(ITEM_UNCHECKED, id, fn) | [ 46%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/filefn.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/filefn.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/filefn.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp: In destructor 'virtual File::~File()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp:25:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 25 | if (hFile!=FILE_BAD_HANDLE && !SkipClose) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp: In member function 'bool File::Create(const wchar*, uint)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp:165:8: warning: unused variable 'ShareRead' [-Wunused-variable] 165 | bool ShareRead=(Mode & FMF_SHAREREAD)!=0 || File::OpenShared; | ^~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp: In member function 'bool File::Write(const void*, size_t)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp:329:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 329 | Success=Written==Size && !ferror(hFile); | ~~~~~~~^~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp:347:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 347 | if (Written0) | ~~~~~~~^~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp: In member function 'virtual int File::Read(void*, size_t)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp:373:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 373 | if (AllowExceptions) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp: In member function 'virtual int64 File::Tell()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/file.cpp:505:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 505 | if (hFile==FILE_BAD_HANDLE) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/filefn.cpp: In function 'bool CreatePath(const wchar*, bool)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/filefn.cpp:61:15: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 61 | if (s-Path>=ASIZE(DirName)) [ 48%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/filcreat.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/filcreat.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/filcreat.cpp [ 49%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/archive.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/archive.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp [ 50%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/arcread.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/arcread.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp:4: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arccmt.cpp: In member function 'bool Archive::GetComment(Array*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arccmt.cpp:45:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | if (Format==RARFMT14 && MainHead.PackComment || Format!=RARFMT14 && CommHead.Method!=0x30) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp: In member function 'RARFORMAT Archive::IsSignature(const byte*, size_t)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp:104:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 104 | if (Size>=1 && D[0]==0x52) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp: In member function 'bool Archive::IsArchive(bool)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp:205:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 205 | if (Type==HEAD_MAIN || SilentOpen && Type==HEAD_CRYPT) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/archive.cpp:4: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arccmt.cpp: At global scope: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/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); | ^~~~~~~~~~~~~~~~ [ 52%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/unicode.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/unicode.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'size_t Archive::ReadHeader()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:14:9: warning: enumeration value 'RARFMT_NONE' not handled in switch [-Wswitch] 14 | switch(Format) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:14:9: warning: enumeration value 'RARFMT_FUTURE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'size_t Archive::ReadHeader15()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] 164 | switch(ShortBlock.HeaderType) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_FILE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_SERVICE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:164:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'size_t Archive::ReadHeader50()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] 672 | switch(ShortBlock.HeaderType) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:672:9: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'void Archive::ProcessExtra50(RawRead*, size_t, BaseBlock*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:1008:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1008 | if ((Flags & FHEXTRA_HTIME_MTIME)!=0) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:1013:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1013 | if ((Flags & FHEXTRA_HTIME_CTIME)!=0) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:1018:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1018 | if ((Flags & FHEXTRA_HTIME_ATIME)!=0) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'void Archive::ConvertFileHeader(FileHeader*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:1263:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1263 | if (hd->HSType==HSYS_UNKNOWN) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:1300:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if (*s=='/' || *s=='\\' && Format!=RARFMT50) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'bool Archive::ReadSubData(Array*, File*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:1350:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1350 | if (SubHead.Encrypted) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp: In function 'bool WideToCharMap(const wchar*, char*, size_t, bool&)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp:145:48: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 145 | if (wcrtomb(Dest+DestPos,Src[SrcPos],&ps)==-1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp: In function 'void CharToWideMap(const char*, wchar*, size_t, bool&)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp:179:56: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 179 | if (mbrtowc(Dest+DestPos,Src+SrcPos,MB_CUR_MAX,&ps)==-1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp: In function 'bool UtfToWide(const char*, wchar*, size_t)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unicode.cpp:361:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 361 | if (Dest!=NULL) | ^ [ 53%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/system.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/system.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/system.cpp [ 54%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/isnt.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/isnt.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/isnt.cpp [ 56%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/crypt.cpp.o /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp: In member function 'size_t Archive::ReadHeader()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/arcread.cpp:29:3: warning: 'ReadSize' may be used uninitialized in this function [-Wmaybe-uninitialized] 29 | if (ReadSize>0 && NextBlockPos<=CurBlockPos) | ^~ /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/crypt.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp [ 57%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/crc.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/crc.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crc.cpp [ 58%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/rawread.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/rawread.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rawread.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:7: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt3.cpp: In member function 'void CryptData::SetKey30(bool, SecPassword*, const wchar*, const byte*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt3.cpp:8:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 8 | (Salt==NULL && !KDF3Cache[I].SaltPresent || Salt!=NULL && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp: In constructor 'CryptData::CryptData()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:14:39: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CryptData::KDF3CacheItem'; use assignment or value-initialization instead [-Wclass-memaccess] 14 | memset(KDF3Cache,0,sizeof(KDF3Cache)); | ^ In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rar.hpp:26, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:1: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.hpp:35:10: note: 'struct CryptData::KDF3CacheItem' declared here 35 | struct KDF3CacheItem | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:15:39: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CryptData::KDF5CacheItem'; use assignment or value-initialization instead [-Wclass-memaccess] 15 | memset(KDF5Cache,0,sizeof(KDF5Cache)); | ^ In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rar.hpp:26, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:1: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.hpp:25:10: note: 'struct CryptData::KDF5CacheItem' declared here 25 | struct KDF5CacheItem | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp: In member function 'void CryptData::DecryptBlock(byte*, size_t)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:33:9: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch] 33 | switch(Method) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp: In member function 'bool CryptData::SetCryptKeys(bool, CRYPT_METHOD, SecPassword*, const byte*, const byte*, uint, byte*, byte*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/crypt.cpp:69:9: warning: enumeration value 'CRYPT_NONE' not handled in switch [-Wswitch] 69 | switch(Method) | ^ [ 60%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/encname.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/encname.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/encname.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp: In member function 'bool wxCheckedListCtrl::GetItem(wxListItem&) const': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp:140:7: warning: unused variable 'checked' [-Wunused-variable] 140 | bool checked = (m_stateList[info.m_itemId] & wxLIST_STATE_CHECKED) != 0; | ^~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/checkedlistctrl.cpp:141:7: warning: unused variable 'enabled' [-Wunused-variable] 141 | bool enabled = (m_stateList[info.m_itemId] & wxLIST_STATE_ENABLED) != 0; | ^~~~~~~ [ 61%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/resource.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/resource.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/resource.cpp [ 62%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/match.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/match.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/match.cpp [ 64%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/timefn.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/timefn.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/timefn.cpp [ 65%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/rdwrfn.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/rdwrfn.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rdwrfn.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/match.cpp: In function 'bool CmpName(const wchar*, const wchar*, int)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/match.cpp:49:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 49 | if (CmpMode==MATCH_SUBPATH || CmpMode==MATCH_WILDSUBPATH) | ^ [ 66%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/consio.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/consio.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/consio.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/timefn.cpp: In member function 'void RarTime::SetIsoText(const wchar*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/timefn.cpp:251:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 251 | if (FieldPosOpCode) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_CMP' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_ADD' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_SUB' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JZ' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JNZ' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_INC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_DEC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JMP' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_XOR' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_AND' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_OR' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_TEST' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JS' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JNS' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JB' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JBE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JA' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_JAE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_PUSH' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_POP' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_CALL' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_NOT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_SHL' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_SHR' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_SAR' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_NEG' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_PUSHA' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_POPA' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_PUSHF' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_POPF' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_MOVZX' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_MOVSX' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_XCHG' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_MUL' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_DIV' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_ADC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:191:11: warning: enumeration value 'VM_SBB' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp: In member function 'VM_StandardFilters RarVM::IsStandardFilter(byte*, uint)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:868:53: warning: comparison of integer expressions of different signedness: 'int' and 'uint' {aka 'unsigned int'} [-Wsign-compare] 868 | if (StdList[I].CRC==CodeCRC && StdList[I].Length==CodeSize) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp: In member function 'void RarVM::ExecuteStandardFilter(VM_StandardFilters)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rarvm.cpp:1071:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1071 | for (int J=1;J class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 1430 | std::auto_ptr entry(new wxZipEntry()); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/chartdldr_pi.cpp:48: /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/extract.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/extract.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp [ 84%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/volume.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/volume.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/volume.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rar.hpp:13, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extinfo.cpp:1: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/ulinks.cpp: In function 'bool ExtractUnixLink30(CommandData*, ComprDataIO&, Archive&, const wchar*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rardefs.hpp:4:24: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 4 | #define Min(x,y) (((x)<(y)) ? (x):(y)) | ~~~^~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/ulinks.cpp:44:21: note: in expansion of macro 'Min' 44 | size_t DataSize=Min(Arc.FileHead.PackSize,ASIZE(Target)-1); | ^~~ [ 85%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/list.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/list.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/hash.cpp: In member function 'bool HashValue::operator==(const HashValue&)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/hash.cpp:33:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 33 | if (Type==HASH_RAR14 && cmp.Type==HASH_RAR14 || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp: In member function 'void CmdExtract::DoExtract()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:66:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 66 | if (!Cmd->DisableDone) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp: In member function 'EXTRACT_ARC_CODE CmdExtract::ExtractArchive()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:184:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 184 | if (!ExtractCurrentFile(Arc,Size,Repeat)) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp: In member function 'bool CmdExtract::ExtractCurrentFile(Archive&, size_t, bool&)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:210:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 210 | if (HeaderSize==0) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:236:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 236 | if (HeaderType==HEAD_ENDARC) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:318:32: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 318 | if (Cmd->VersionControl-1==Version) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:481:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 481 | if (Command!='I') | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:565:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 565 | if (FileCreateMode && *NameExisting!=0) // *NameExisting can be 0 in case of excessive -ap switch. | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:571:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 571 | else | ^~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:583:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 583 | if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode) | ^~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:583:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 583 | if (!LinkSuccess || Arc.Format==RARFMT15 && !FileCreateMode) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:595:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 595 | if (!Arc.FileHead.SplitBefore && !WrongPassword) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:652:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 652 | if (!WrongPassword) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:674:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 674 | (!LinkEntry || Arc.FileHead.RedirType==FSREDIR_FILECOPY && LinkSuccess) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/extract.cpp:716:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 716 | if (!ExtrFile) | ^ [ 86%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/find.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/find.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/find.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp: In function 'void ListArchive(CommandData*)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:50:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 50 | if (Arc.Volume) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD_MARK' not handled in switch [-Wswitch] 91 | switch(HeaderType) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD_MAIN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD_CRYPT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD_ENDARC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD_UNKNOWN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_MARK' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_MAIN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_FILE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_CMT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_AV' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_OLDSERVICE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_PROTECT' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_SIGN' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_SERVICE' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:91:17: warning: enumeration value 'HEAD3_ENDARC' not handled in switch [-Wswitch] /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:116:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 116 | if (!Bare && !Technical) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:150:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 150 | Arc.GetHeaderType()==HEAD_ENDARC && Arc.EndArcHead.NextVolume) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp: In function 'void ListFileHeader(Archive&, FileHeader&, bool&, bool, bool, bool)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:265:15: warning: enumeration value 'FSREDIR_NONE' not handled in switch [-Wswitch] 265 | switch(hd.RedirType) | ^ In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rar.hpp:13, from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:1: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rardefs.hpp:4:24: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 4 | #define Min(x,y) (((x)<(y)) ? (x):(y)) | ~~~^~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:291:31: note: in expansion of macro 'Min' 291 | int DataSize=(int)Min(hd.PackSize,ASIZE(LinkTargetA)-1); | ^~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:279:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 279 | if (hd.RedirType!=FSREDIR_NONE) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp: At global scope: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:4:13: warning: 'void ListSymLink(Archive&)' declared 'static' but never defined [-Wunused-function] 4 | static void ListSymLink(Archive &Arc); | ^~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:6:13: warning: 'void ListOldSubHeader(Archive&)' declared 'static' but never defined [-Wunused-function] 6 | static void ListOldSubHeader(Archive &Arc); | ^~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/list.cpp:7:13: warning: 'void ListNewSubHeader(CommandData*, Archive&)' declared 'static' but never defined [-Wunused-function] 7 | static void ListNewSubHeader(CommandData *Cmd,Archive &Arc); | ^~~~~~~~~~~~~~~~ [ 88%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/unpack.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/unpack.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack.cpp /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/volume.cpp: In function 'bool MergeArchive(Archive&, ComprDataIO*, bool, wchar)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/volume.cpp:22:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 22 | hd->UnpVer>=20 && hd->FileHash.CRC32!=0xffffffff; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 89%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/headers.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/headers.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/headers.cpp [ 90%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/threadpool.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/threadpool.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/threadpool.cpp [ 92%] Building CXX object CMakeFiles/chartdldr_pi.dir/src/unrar/rs16.cpp.o /usr/bin/c++ -DLIBUNRAR_BUILD -DRARDLL -DSILENT -DTIXML_USE_STL -DUNRAR -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__WXGTK__ -Dchartdldr_pi_EXPORTS -DocpnUSE_GL -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/include -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src -I/home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar -isystem /usr/lib64/wx/include -isystem /usr/lib64/wx/include/gtk3-unicode-3.1 -isystem /usr/include/wx-3.1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -fPIC -Wall -Wno-unused-result -g -O2 -fexceptions -o CMakeFiles/chartdldr_pi.dir/src/unrar/rs16.cpp.o -c /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/rs16.cpp In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack.cpp:3: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/model.cpp: In member function 'int ModelPPM::DecodeChar()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/coder.cpp:23:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 23 | while ((low^(low+range)) 0xb0 || AvrPlc >= 0x2a00 && OldAvr2 < 0x40) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack.cpp:12: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack20.cpp: In member function 'bool Unpack::ReadTables20()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack20.cpp:192:13: warning: comparison of integer expressions of different signedness: 'int' and 'const uint' {aka 'const unsigned int'} [-Wsign-compare] 192 | for (I=0;I=Inp.InAddr+5) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack20.cpp: In member function 'byte Unpack::DecodeAudio(int)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack20.cpp:316:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 316 | for (int I=1;IDif)/sizeof(V->Dif[0]);I++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack.cpp:14: /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack30.cpp: In member function 'void Unpack::Unpack29(bool)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack30.cpp:30:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 30 | for (int I=0;I 0 && I=BlockHeader.BlockBitSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack50.cpp:124:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 124 | if (LastLength!=0) | ^ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack50.cpp: In member function 'void Unpack::UnpWriteBuf()': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack50.cpp:381:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 381 | WrPtr!=UnpPtr && ((WrPtr-UnpPtr)&MaxWinMask)<((WriteBorder-UnpPtr)&MaxWinMask)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack50.cpp: In member function 'bool Unpack::ReadTables(BitInput&, UnpackBlockHeader&, UnpackBlockTables&)': /home/iurt/rpmbuild/BUILD/chartdldr_pi/src/unrar/unpack50.cpp:560:17: warning: comparison of integer expressions of different signedness: 'int' and 'const uint' {aka 'const unsigned int'} [-Wsign-compare] 560 | for (int I=0;I 0 && I