Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/docparser.spec'], chrootPath='/var/lib/mock/f40-build-755888-118289/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/docparser.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/docparser-1.0.1-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/docparser.spec'], chrootPath='/var/lib/mock/f40-build-755888-118289/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/docparser.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oPCZyq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf docparser-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/docparser-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd docparser-1.0.1 + rm -rf /builddir/build/BUILD/docparser-1.0.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/docparser-1.0.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uy9OoQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd docparser-1.0.1 + export PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + /usr/lib64/qt5/bin/qmake 'QMAKE_CFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' QMAKE_STRIP= LIB_INSTALL_DIR=/usr/lib64 Info: creating stash file /builddir/build/BUILD/docparser-1.0.1/.qmake.stash + /usr/bin/make -O -j4 V=1 VERBOSE=1 cd src/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /builddir/build/BUILD/docparser-1.0.1/src/src.pro 'QMAKE_CFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' QMAKE_STRIP= LIB_INSTALL_DIR=/usr/lib64 ) && /usr/bin/make -f Makefile make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o lodepng.o utils/lodepng.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' utils/lodepng.cpp:96:1: warning: multi-line comment [-Wcomment] 96 | //#define CERROR_BREAK(errorvar, code)\ | ^ utils/lodepng.cpp:106:1: warning: multi-line comment [-Wcomment] 106 | //#define CERROR_RETURN_ERROR(errorvar, code)\ | ^ utils/lodepng.cpp:113:1: warning: multi-line comment [-Wcomment] 113 | //#define CERROR_TRY_RETURN(call)\ | ^ utils/lodepng.cpp:120:1: warning: multi-line comment [-Wcomment] 120 | //#define CERROR_RETURN(errorvar, code)\ | ^ utils/lodepng.cpp:421:1: warning: multi-line comment [-Wcomment] 421 | //#define addBitToStream(/*size_t**/ bitpointer, /*ucvector**/ bitstream, /*unsigned char*/ bit)\ | ^ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o getoptpp.o utils/getoptpp.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o pugixml.o utils/pugixml.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o csv.o fileext/csv/csv.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o tools.o utils/tools.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' utils/tools.cpp: In function ‘std::string tools::absolutePath(const std::string&)’: utils/tools.cpp:63:25: warning: ignoring return value of ‘char* realpath(const char*, char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | realpath(fileName.c_str(), fullPath); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils/tools.cpp: In function ‘std::string tools::getProgramPath()’: utils/tools.cpp:75:15: warning: ignoring return value of ‘char* tools::getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 75 | getcwd(currentPath, sizeof(currentPath)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cfb.o fileext/cfb/cfb.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' In file included from fileext/cfb/cfb.cpp:17: ./utils/encoding.cpp: In function ‘std::string encoding::decode(const std::string&, const std::string&, const std::string&)’: ./utils/encoding.cpp:32:24: warning: ‘int iconv_close(iconv_t)’ called on a pointer to an unallocated object ‘18446744073709551615’ [-Wfree-nonheap-object] 32 | iconv_close(cnv); | ~~~~~~~~~~~^~~~~ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' gcc -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o miniz.o utils/miniz.c make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o docx.o fileext/docx/docx.cpp fileext/docx/docx.cpp: In member function ‘void docx::Docx::getParagraphText(const pugi::xml_node&)’: fileext/docx/docx.cpp:278:39: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 278 | if (m_maxLen > 0 && m_text.size() >= m_maxLen) | ~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ./utils/pugixml.hpp:1409, from fileext/docx/docx.hpp:16, from fileext/docx/docx.cpp:12: ./utils/pugixml.cpp: In member function ‘pugi::impl::xpath_node_set_raw pugi::impl::xpath_ast_node::eval_node_set(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&, pugi::impl::nodeset_eval_t)’: ./utils/pugixml.cpp:10700:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 10700 | } | ^ ./utils/pugixml.cpp:10702:25: note: here 10702 | default: | ^~~~~~~ ./utils/pugixml.cpp: In member function ‘double pugi::impl::xpath_ast_node::eval_number(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&)’: ./utils/pugixml.cpp:10254:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 10254 | if (_rettype == xpath_type_number) | ^~ ./utils/pugixml.cpp:10260:25: note: here 10260 | default: | ^~~~~~~ ./utils/pugixml.cpp: In member function ‘bool pugi::impl::xpath_ast_node::eval_boolean(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&)’: ./utils/pugixml.cpp:10118:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 10118 | if (_rettype == xpath_type_boolean) | ^~ ./utils/pugixml.cpp:10124:25: note: here 10124 | default: | ^~~~~~~ ./utils/pugixml.cpp: In member function ‘pugi::impl::xpath_string pugi::impl::xpath_ast_node::eval_string(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&)’: ./utils/pugixml.cpp:10546:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 10546 | if (_rettype == xpath_type_string) | ^~ ./utils/pugixml.cpp:10552:25: note: here 10552 | default: | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o doc.o fileext/doc/doc.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o book.o fileext/excel/book.cpp fileext/excel/book.cpp: In member function ‘void excel::Book::handleExternalSheet(std::string&)’: fileext/excel/book.cpp:520:36: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 520 | while (data.size() < numRefs*6 + 2) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o excel.o fileext/excel/excel.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o xlsx.o fileext/excel/xlsx.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' fileext/excel/xlsx.cpp: In member function ‘void excel::X12Sheet::handleRow(const pugi::xml_node&)’: fileext/excel/xlsx.cpp:505:17: warning: unused variable ‘xfIndex’ [-Wunused-variable] 505 | int xfIndex = cellNode.attribute("s").as_int()+1; | ^~~~~~~ In file included from ./utils/pugixml.hpp:1409, from ./utils/tools.hpp:15, from fileext/excel/xlsx.cpp:9: ./utils/pugixml.cpp: In member function ‘pugi::impl::xpath_node_set_raw pugi::impl::xpath_ast_node::eval_node_set(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&, pugi::impl::nodeset_eval_t)’: ./utils/pugixml.cpp:10700:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 10700 | } | ^ ./utils/pugixml.cpp:10702:25: note: here 10702 | default: | ^~~~~~~ ./utils/pugixml.cpp: In member function ‘double pugi::impl::xpath_ast_node::eval_number(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&)’: ./utils/pugixml.cpp:10254:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 10254 | if (_rettype == xpath_type_number) | ^~ ./utils/pugixml.cpp:10260:25: note: here 10260 | default: | ^~~~~~~ ./utils/pugixml.cpp: In member function ‘bool pugi::impl::xpath_ast_node::eval_boolean(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&)’: ./utils/pugixml.cpp:10118:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 10118 | if (_rettype == xpath_type_boolean) | ^~ ./utils/pugixml.cpp:10124:25: note: here 10124 | default: | ^~~~~~~ ./utils/pugixml.cpp: In member function ‘pugi::impl::xpath_string pugi::impl::xpath_ast_node::eval_string(const pugi::impl::xpath_context&, const pugi::impl::xpath_stack&)’: ./utils/pugixml.cpp:10546:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 10546 | if (_rettype == xpath_type_string) | ^~ ./utils/pugixml.cpp:10552:25: note: here 10552 | default: | ^~~~~~~ In file included from /usr/include/c++/13/map:62, from fileext/excel/sheet.hpp:11, from fileext/excel/xlsx.cpp:11: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Link_type, _Base_ptr, const _Key&) [with _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]’, inlined from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::lower_bound(const key_type&) [with _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]’ at /usr/include/c++/13/bits/stl_tree.h:1271:30, inlined from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const key_type&) [with _Key = int; _Tp = int; _Compare = std::less; _Alloc = std::allocator >]’ at /usr/include/c++/13/bits/stl_map.h:1309:32, inlined from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = int; _Tp = int; _Compare = std::less; _Alloc = std::allocator >]’ at /usr/include/c++/13/bits/stl_map.h:509:28, inlined from ‘void excel::X12Styles::handleXf(const pugi::xml_node&)’ at fileext/excel/xlsx.cpp:969:36: /usr/include/c++/13/bits/stl_tree.h:1952:9: warning: ‘xfIndex’ may be used uninitialized [-Wmaybe-uninitialized] 1952 | if (!_M_impl._M_key_compare(_S_key(__x), __k)) | ^~ fileext/excel/xlsx.cpp: In member function ‘void excel::X12Styles::handleXf(const pugi::xml_node&)’: fileext/excel/xlsx.cpp:928:13: note: ‘xfIndex’ was declared here 928 | int xfIndex; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o odf.o fileext/odf/odf.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ooxml.o fileext/ooxml/ooxml.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o pdf.o fileext/pdf/pdf.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o format.o fileext/excel/format.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sheet.o fileext/excel/sheet.cpp fileext/excel/sheet.cpp: In member function ‘void excel::Sheet::read()’: fileext/excel/sheet.cpp:160:32: warning: unused variable ‘rowIndex’ [-Wunused-variable] 160 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:161:32: warning: unused variable ‘colIndex’ [-Wunused-variable] 161 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:162:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 162 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:170:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 170 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:181:32: warning: unused variable ‘rowIndex’ [-Wunused-variable] 181 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:182:32: warning: unused variable ‘colIndex’ [-Wunused-variable] 182 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:183:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 183 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:195:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 195 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:227:32: warning: unused variable ‘rowIndex’ [-Wunused-variable] 227 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:228:32: warning: unused variable ‘colIndex’ [-Wunused-variable] 228 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:229:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 229 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:241:36: warning: unused variable ‘xfIndex’ [-Wunused-variable] 241 | unsigned short xfIndex = m_book->readByte(data, pos, 2); | ^~~~~~~ fileext/excel/sheet.cpp:235:32: warning: unused variable ‘rowIndex’ [-Wunused-variable] 235 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:255:25: warning: comparison is always true due to limited range of data type [-Wtype-limits] 255 | if (!(0 <= rowIndex && rowIndex < m_maxRowCount)) | ~~^~~~~~~~~~~ fileext/excel/sheet.cpp:279:32: warning: variable ‘rowIndex’ set but not used [-Wunused-but-set-variable] 279 | unsigned short rowIndex; | ^~~~~~~~ fileext/excel/sheet.cpp:280:32: warning: variable ‘colIndex’ set but not used [-Wunused-but-set-variable] 280 | unsigned short colIndex; | ^~~~~~~~ fileext/excel/sheet.cpp:281:32: warning: variable ‘xfIndex’ set but not used [-Wunused-but-set-variable] 281 | unsigned short xfIndex; | ^~~~~~~ fileext/excel/sheet.cpp:282:32: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable] 282 | unsigned short flags; | ^~~~~ fileext/excel/sheet.cpp:369:32: warning: unused variable ‘rowIndex’ [-Wunused-variable] 369 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:370:32: warning: unused variable ‘colIndex’ [-Wunused-variable] 370 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:371:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 371 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:391:23: warning: comparison is always false due to limited range of data type [-Wtype-limits] 391 | if (0 > firstColIndex || firstColIndex > lastColIndex || lastColIndex > 256) | ~~^~~~~~~~~~~~~~~ fileext/excel/sheet.cpp:429:32: warning: unused variable ‘rowIndex’ [-Wunused-variable] 429 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:430:32: warning: unused variable ‘colIndex’ [-Wunused-variable] 430 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:431:32: warning: unused variable ‘xfIndex’ [-Wunused-variable] 431 | unsigned short xfIndex = m_book->readByte(data, 4, 2); | ^~~~~~~ fileext/excel/sheet.cpp:755:36: warning: unused variable ‘rowIndex’ [-Wunused-variable] 755 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:756:36: warning: unused variable ‘colIndex’ [-Wunused-variable] 756 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:764:36: warning: unused variable ‘rowIndex’ [-Wunused-variable] 764 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:765:36: warning: unused variable ‘colIndex’ [-Wunused-variable] 765 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:773:36: warning: unused variable ‘rowIndex’ [-Wunused-variable] 773 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:774:36: warning: unused variable ‘colIndex’ [-Wunused-variable] 774 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:782:36: warning: unused variable ‘rowIndex’ [-Wunused-variable] 782 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:783:36: warning: unused variable ‘colIndex’ [-Wunused-variable] 783 | unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:795:36: warning: unused variable ‘rowIndex’ [-Wunused-variable] 795 | unsigned short rowIndex = m_book->readByte(data, 0, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:796:36: warning: unused variable ‘colIndex’ [-Wunused-variable] 796 |make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' unsigned short colIndex = m_book->readByte(data, 2, 2); | ^~~~~~~~ fileext/excel/sheet.cpp:814:29: warning: comparison is always true due to limited range of data type [-Wtype-limits] 814 | if (!(0 <= rowIndex && rowIndex < m_maxRowCount)) | ~~^~~~~~~~~~~ fileext/excel/sheet.cpp:873:27: warning: comparison is always false due to limited range of data type [-Wtype-limits] 873 | if (0 > firstColIndex || firstColIndex >= lastColIndex || lastColIndex > 256) | ~~^~~~~~~~~~~~~~~ fileext/excel/sheet.cpp: In member function ‘void excel::Sheet::handleHyperlink(const std::string&)’: fileext/excel/sheet.cpp:1283:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1283 | if (extraByteCount < 0) | ^~ fileext/excel/sheet.cpp:1286:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1286 | m_hyperlinkList.push_back(hlink); | ^~~~~~~~~~~~~~~ fileext/excel/sheet.cpp: In member function ‘void excel::Sheet::read()’: fileext/excel/sheet.cpp:493:37: warning: ‘savedObjectId’ may be used uninitialized [-Wmaybe-uninitialized] 493 | if (!msTxo.m_isNull && (savedObjectId > 0)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fileext/excel/sheet.cpp:150:13: note: ‘savedObjectId’ was declared here 150 | int savedObjectId; | ^~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o pptx.o fileext/pptx/pptx.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o keyword.o fileext/rtf/keyword.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o formatting.o fileext/rtf/formatting.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o formula.o fileext/excel/formula.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' fileext/excel/formula.cpp: In member function ‘void excel::Formula::evaluateFormula(excel::Name&, int, int)’: fileext/excel/formula.cpp:376:22: warning: comparison is always false due to limited range of data type [-Wtype-limits] 376 | if (size == -2) | ~~~~~^~~~~ fileext/excel/formula.cpp:382:26: warning: comparison is always true due to limited range of data type [-Wtype-limits] 382 | if (0x00 <= opCode && opCode <= 0x02) { | ~~~~~^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o txt.o fileext/txt/txt.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o rtf.o fileext/rtf/rtf.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o table.o fileext/rtf/table.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' fileext/rtf/table.cpp: In member function ‘void rtf::Table::make(pugi::xml_node&)’: fileext/rtf/table.cpp:71:93: warning: ‘std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = rtf::TableCellDef; _Arg = int]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 71 | std::mem_fun(&TableCellDef::rightEquals), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_tree.h:65, from /usr/include/c++/13/set:62, from fileext/rtf/table.cpp:10: /usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ fileext/rtf/table.cpp:70:85: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = int]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 70 | std::bind2nd( | ~~~~~~~~~~~~^ 71 | std::mem_fun(&TableCellDef::rightEquals), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | (*cellDef)->m_right | ~~~~~~~~~~~~~~~~~~~ 73 | ) | ~ In file included from /usr/include/c++/13/bits/stl_function.h:1438: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o fileext.o fileext/fileext.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o xlsb.o fileext/xlsb/xlsb.cpp fileext/xlsb/xlsb.cpp: In member function ‘bool xlsb::Xlsb::readNum(uint32_t&, int)’: fileext/xlsb/xlsb.cpp:86:37: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 86 | if (m_buffer.size() - m_pointer < bytes) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ fileext/xlsb/xlsb.cpp: In member function ‘bool xlsb::Xlsb::readXlWideStr(std::string&)’: fileext/xlsb/xlsb.cpp:162:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 162 | for (int i = 0; i < strSize; ++i) { | ~~^~~~~~~~~ fileext/xlsb/xlsb.cpp:167:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 167 | if (++i >= strSize) { | ~~~~^~~~~~~~~~ fileext/xlsb/xlsb.cpp: In member function ‘bool xlsb::Xlsb::readRichStr(std::string&)’: fileext/xlsb/xlsb.cpp:182:25: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 182 | if (m_buffer.size() == m_pointer) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ fileext/xlsb/xlsb.cpp: In member function ‘bool xlsb::Xlsb::readRecord(Record&)’: fileext/xlsb/xlsb.cpp:206:9: warning: unused variable ‘a’ [-Wunused-variable] 206 | int a = m_buffer.length(); | ^ fileext/xlsb/xlsb.cpp: In member function ‘bool xlsb::Xlsb::parseRecordForWorksheets(Record&, std::string&)’: fileext/xlsb/xlsb.cpp:303:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 303 | for (int i = m_currentRow; i < row; ++i) | ~~^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o docparser.o docparser.cpp make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' g++ -c -pipe -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++11 -Wall -Wextra -Wno-unused-parameter -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Ifileext -I/usr/include/poppler/cpp -I/usr/include/poppler -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ppt.o fileext/ppt/ppt.cpp fileext/ppt/ppt.cpp: In member function ‘virtual int ppt::Ppt::convert(bool, bool, char)’: fileext/ppt/ppt.cpp:95:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 95 | if (ppdStream.empty()) | ^~ fileext/ppt/ppt.cpp:97:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 97 | Cfb::clear(); | ^~~ fileext/ppt/ppt.cpp: In member function ‘void ppt::Ppt::parseRecord(const std::string&, size_t&, int, ulong)’: fileext/ppt/ppt.cpp:135:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ulong’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | for (int i = 0; i < textLen; ++i) { | ~~^~~~~~~~~ fileext/ppt/ppt.cpp:141:57: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ulong’ {aka ‘long unsigned int’} [-Wsign-compare] 141 | if (utf16_unichar_has_4_bytes(u) && ++i < textLen) { | ~~~~^~~~~~~~~ fileext/ppt/ppt.cpp:157:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘ulong’ {aka ‘long unsigned int’} [-Wsign-compare] 157 | for (int i = 0; i < textLen; ++i) { | ~~^~~~~~~~~ fileext/ppt/ppt.cpp: In member function ‘void ppt::Ppt::addParagraph(const std::string&, pugi::xml_node&) const’: fileext/ppt/ppt.cpp:202:14: warning: variable ‘node’ set but not used [-Wunused-but-set-variable] 202 | auto node = htmlNode.append_child("p"); | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' rm -f libdocparser.so.1.0.0 libdocparser.so libdocparser.so.1 libdocparser.so.1.0 g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libdocparser.so.1 -o libdocparser.so.1.0.0 getoptpp.o lodepng.o pugixml.o tools.o miniz.o cfb.o csv.o doc.o docx.o xlsx.o book.o excel.o format.o formula.o sheet.o odf.o ooxml.o pdf.o ppt.o pptx.o formatting.o keyword.o rtf.o table.o txt.o xlsb.o fileext.o docparser.o -lpoppler-cpp /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -lpthread ln -s libdocparser.so.1.0.0 libdocparser.so ln -s libdocparser.so.1.0.0 libdocparser.so.1 ln -s libdocparser.so.1.0.0 libdocparser.so.1.0 make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8dUTjg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd docparser-1.0.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 'INSTALL=/usr/bin/install -p' INSTALL_ROOT=/builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 cd src/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /builddir/build/BUILD/docparser-1.0.1/src/src.pro 'QMAKE_CFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' QMAKE_STRIP= LIB_INSTALL_DIR=/usr/lib64 ) && /usr/bin/make -f Makefile install make[1]: Entering directory '/builddir/build/BUILD/docparser-1.0.1/src' /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/docparser-1.0.1/src/docparser.h /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/include/docparser/docparser.h /usr/lib64/qt5/bin/qmake -install qinstall -exe libdocparser.so.1.0.0 /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/lib64/libdocparser.so.1.0.0 ln -f -s libdocparser.so.1.0.0 /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/lib64/libdocparser.so ln -f -s libdocparser.so.1.0.0 /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/lib64/libdocparser.so.1 ln -f -s libdocparser.so.1.0.0 /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/lib64/libdocparser.so.1.0 install -m 644 -p pkgconfig/docparser.pc /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/lib64/pkgconfig/docparser.pc make[1]: Leaving directory '/builddir/build/BUILD/docparser-1.0.1/src' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.1-4.fc40 --unique-debug-suffix -1.0.1-4.fc40.riscv64 --unique-debug-src-base docparser-1.0.1-4.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/docparser-1.0.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/docparser-1.0.1-4.fc40.riscv64 2338 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: docparser-1.0.1-4.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3aIQMC + umask 022 + cd /builddir/build/BUILD + cd docparser-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/share/doc/docparser + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/share/doc/docparser + cp -pr /builddir/build/BUILD/docparser-1.0.1/README.md /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/share/doc/docparser + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XEwc3M + umask 022 + cd /builddir/build/BUILD + cd docparser-1.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/share/licenses/docparser + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/share/licenses/docparser + cp -pr /builddir/build/BUILD/docparser-1.0.1/LICENSE /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64/usr/share/licenses/docparser + RPM_EC=0 ++ jobs -p + exit 0 Provides: docparser = 1.0.1-4.fc40 docparser(riscv-64) = 1.0.1-4.fc40 libdocparser.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpoppler-cpp.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: docparser-devel-1.0.1-4.fc40.riscv64 Provides: docparser-devel = 1.0.1-4.fc40 docparser-devel(riscv-64) = 1.0.1-4.fc40 pkgconfig(docparser) = 1.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdocparser.so.1()(64bit) Processing files: docparser-debugsource-1.0.1-4.fc40.riscv64 Provides: docparser-debugsource = 1.0.1-4.fc40 docparser-debugsource(riscv-64) = 1.0.1-4.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: docparser-debuginfo-1.0.1-4.fc40.riscv64 Provides: debuginfo(build-id) = a92339b1445d3ededcabd409fe1bb9b8ac4b7f45 docparser-debuginfo = 1.0.1-4.fc40 docparser-debuginfo(riscv-64) = 1.0.1-4.fc40 libdocparser.so.1.0.0-1.0.1-4.fc40.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: docparser-debugsource(riscv-64) = 1.0.1-4.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 Wrote: /builddir/build/RPMS/docparser-devel-1.0.1-4.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/docparser-1.0.1-4.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/docparser-debugsource-1.0.1-4.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/docparser-debuginfo-1.0.1-4.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m15Osw + umask 022 + cd /builddir/build/BUILD + cd docparser-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/docparser-1.0.1-4.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.PDfhbE + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/docparser-1.0.1-SPECPARTS + rm -rf docparser-1.0.1 docparser-1.0.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0