D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/fbreader-0.99.5-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nNlTFG Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yc9X7Z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + rm -rf fbreader-0.99.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/fbreader-0.99.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd fbreader-0.99.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fbreader-0.99.5-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fbreader-0.99.5-mga-port-to-qt5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fbreader-0.99.5-alt-fix-menu-about.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + perl -pi -e s,moc-qt5,/usr/lib64/qt5/bin/moc, makefiles/arch/desktop.mk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QR5J6g + umask 022 + cd /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fbreader-0.99.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fPIC' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -fPIC' + export 'LDFLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/library' Compiling ZLibrary.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/library' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/typeId' Compiling ZLTypeId.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/typeId' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/util' Compiling ZLBase64InputStream.o ... OK Compiling ZLFileUtil.o ... OK Compiling ZLHexInputStream.o ... OK Compiling ZLKeyUtil.o ... OK Compiling ZLLanguageUtil.o ... OK Compiling ZLSearchUtil.o ... OK Compiling ZLSliceInputStream.o ... OK Compiling ZLStringUtil.o ... OK Compiling ZLUnicodeUtil.o ...ZLUnicodeUtil.cpp: In static member function 'static std::size_t ZLUnicodeUtil::lastChar(Ucs4Char&, const char*)': ZLUnicodeUtil.cpp:304:47: warning: unused parameter 'ch' [-Wunused-parameter] 304 | std::size_t ZLUnicodeUtil::lastChar(Ucs4Char &ch, const char *utf8String) { | ~~~~~~~~~~^~ OK Compiling ZLUserData.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/util' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/constants' Compiling ZLMimeType.o ... OK Compiling ZLXMLNamespace.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/constants' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/logger' Compiling ZLLogger.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/logger' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem' Compiling ZLDir.o ... OK Compiling ZLFSManager.o ... OK Compiling ZLFSPluginManager.o ... OK Compiling ZLFile.o ... OK Compiling ZLInputStreamDecorator.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem/zip' Compiling ZLFSArchiverZip.o ... OK Compiling ZLFSCompressorGzip.o ... OK Compiling ZLGzipInputStream.o ... OK Compiling ZLZDecompressor.o ... OK Compiling ZLZipDir.o ... OK Compiling ZLZipEntryCache.o ... OK Compiling ZLZipHeader.o ... OK Compiling ZLZipInputStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem/zip' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem/bzip2' Compiling ZLBzip2InputStream.o ... OK Compiling ZLFSCompressorBzip2.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem/bzip2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem/tar' Compiling ZLFSArchiverTar.o ... OK Compiling ZLTar.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/filesystem/tar' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/dialogs' Compiling ZLDialog.o ... OK Compiling ZLDialogContent.o ...In file included from ZLDialogContent.cpp:22: ZLOptionView.h: In member function 'virtual void ZLOptionView::_setActive(bool)': ZLOptionView.h:47:38: warning: unused parameter 'active' [-Wunused-parameter] 47 | virtual void _setActive(bool active) {} | ~~~~~^~~~~~ OK Compiling ZLDialogContentBuilder.o ... OK Compiling ZLDialogManager.o ...ZLDialogManager.cpp: In member function 'virtual shared_ptr ZLDialogManager::createProgressDialog(const ZLResourceKey&, bool) const': ZLDialogManager.cpp:91:89: warning: unused parameter 'key' [-Wunused-parameter] 91 | shared_ptr ZLDialogManager::createProgressDialog(const ZLResourceKey &key, bool /*network*/) const { | ~~~~~~~~~~~~~~~~~~~~~^~~ OK Compiling ZLOpenFileDialog.o ... OK Compiling ZLOptionEntry.o ...In file included from ZLOptionEntry.cpp:21: ZLOptionView.h: In member function 'virtual void ZLOptionView::_setActive(bool)': ZLOptionView.h:47:38: warning: unused parameter 'active' [-Wunused-parameter] 47 | virtual void _setActive(bool active) {} | ~~~~~^~~~~~ OK Compiling ZLOptionView.o ...In file included from ZLOptionView.cpp:20: ZLOptionView.h: In member function 'virtual void ZLOptionView::_setActive(bool)': ZLOptionView.h:47:38: warning: unused parameter 'active' [-Wunused-parameter] 47 | virtual void _setActive(bool active) {} | ~~~~~^~~~~~ OK Compiling ZLOptionsDialog.o ... OK Compiling ZLProgressDialog.o ... OK Compiling ZLTreeDialog.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/ZLTreeNode.h:26, from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/ZLTreeListener.h:23, from ZLTreeDialog.h:23, from ZLTreeDialog.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeSearcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeSearcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeSearcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLTreeDialog.cpp:22:77: required from here 22 | ZLTreeDialog::ZLTreeDialog(const ZLResource &resource) : myResource(resource) { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeSearcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/dialogs' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/optionEntries' Compiling ZLColorOptionBuilder.o ...ZLColorOptionBuilder.cpp: In member function 'virtual const ZLColor ZLMultiColorOptionEntry::color() const': ZLColorOptionBuilder.cpp:128:17: warning: variable 'color' set but not used [-Wunused-but-set-variable] 128 | ZLColor color = myData->myCurrentColors[myData->myCurrentOptionName]; | ^~~~~ OK Compiling ZLFontFamilyOptionEntry.o ... OK Compiling ZLLanguageOptionEntry.o ... OK Compiling ZLSimpleKeyOptionEntry.o ... OK Compiling ZLSimpleOptionEntry.o ... OK Compiling ZLStringEditOptionEntry.o ... OK Compiling ZLStringInfoEntry.o ... OK Compiling ZLToggleBooleanOptionEntry.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/optionEntries' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/application' Compiling ZLApplication.o ... OK Compiling ZLApplicationActions.o ... OK Compiling ZLApplicationBase.o ... OK Compiling ZLApplicationWindow.o ... OK Compiling ZLKeyBindings.o ... OK Compiling ZLMenu.o ... OK Compiling ZLToolbar.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/application' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/view' Compiling ZLMirroredPaintContext.o ... OK Compiling ZLPaintContext.o ... OK Compiling ZLView.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/view' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/encoding' Compiling DummyEncodingConverter.o ... OK Compiling EncodingCollectionReader.o ... OK Compiling MyEncodingConverter.o ... OK Compiling Utf8EncodingConverter.o ... OK Compiling ZLEncodingCollection.o ... OK Compiling ZLEncodingConverter.o ... OK Compiling ZLEncodingSet.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/encoding' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/options' Compiling ZLCategoryKey.o ... OK Compiling ZLConfig.o ... OK Compiling ZLOptions.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/options' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/message' Compiling ZLMessage.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/message' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/resources' Compiling ZLResource.o ...In file included from ZLResource.cpp:23: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeResource::Condition]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeResource::Condition]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeResource::Condition]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLResource.cpp:190:10: required from here 190 | return 0; | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeResource::Condition' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/resources' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/time' Compiling ZLTime.o ... OK Compiling ZLTimeManager.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/time' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/xml' Compiling ZLXMLReader.o ...ZLXMLReader.cpp: In member function 'virtual void ZLXMLReader::collectExternalEntities(std::map, std::__cxx11::basic_string >&)': ZLXMLReader.cpp:149:78: warning: unused parameter 'entityMap' [-Wunused-parameter] 149 | void ZLXMLReader::collectExternalEntities(std::map &entityMap) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ OK Compiling ZLXMLWriter.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/xml' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/xml/expat' Compiling ZLXMLReaderInternal.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/xml/expat' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/image' Compiling ZLBase64EncodedImage.o ... OK Compiling ZLFileImage.o ... OK Compiling ZLHexEncodedImage.o ... OK Compiling ZLImage.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/ZLNetworkRequest.h:26, from ZLImage.cpp:22: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLImage.cpp:29:9: required from here 29 | return 0; | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling ZLImageManager.o ... OK Compiling ZLNetworkImage.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/ZLNetworkManager.h:25, from ZLNetworkImage.cpp:24: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLNetworkImage.cpp:70:10: required from here 70 | return 0; | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling ZLStreamImage.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/image' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/language' Compiling ZLCharSequence.o ... OK Compiling ZLLanguageDetector.o ... OK Compiling ZLLanguageList.o ... OK Compiling ZLLanguageMatcher.o ... OK Compiling ZLStatistics.o ... OK Compiling ZLStatisticsGenerator.o ... OK Compiling ZLStatisticsItem.o ... OK Compiling ZLStatisticsXMLReader.o ... OK Compiling ZLStatisticsXMLWriter.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/language' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/time' Compiling ZLUnixTime.o ...ZLUnixTime.cpp: In member function 'virtual ZLTime ZLUnixTimeManager::currentTime() const': ZLUnixTime.cpp:29:14: warning: 'int ftime(timeb*)' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 29 | ftime(&timeB); | ~~~~~^~~~~~~~ In file included from ZLUnixTime.cpp:20: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/time' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/runnable' Compiling ZLExecutionUtil.o ... OK Compiling ZLRunnable.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/runnable' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/network' Compiling ZLAsynchronousInputStream.o ... OK Compiling ZLGzipAsynchronousInputStream.o ... OK Compiling ZLNetworkManager.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/ZLFile.h:26, from ZLNetworkManager.cpp:24: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLNetworkManager.cpp:152:59: required from here 152 | shared_ptr data = createDownloadRequest(url, fileName); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling ZLNetworkRequest.o ... OK Compiling ZLNetworkUtil.o ... OK Compiling ZLPlainAsynchronousInputStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/network' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/network/requests' Compiling ZLNetworkDownloadRequest.o ... OK Compiling ZLNetworkNoActionRequest.o ... OK Compiling ZLNetworkReadToStringRequest.o ... OK Compiling ZLNetworkXMLParserRequest.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/network/requests' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/blockTreeView' Compiling ZLBlockTreeNode.o ... OK Compiling ZLBlockTreeView.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/blockTreeView' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/tree' Compiling ZLTreeActionNode.o ... OK Compiling ZLTreeNode.o ...ZLTreeNode.cpp: In member function 'virtual const ZLResource& ZLTreeNode::resource() const': ZLTreeNode.cpp:131:34: warning: possibly dangling reference to a temporary [-Wdangling-reference] 131 | static const ZLResource &emptyResource = ZLResource::resource(std::string()); | ^~~~~~~~~~~~~ ZLTreeNode.cpp:131:76: note: 'std::string' {aka 'std::__cxx11::basic_string'} temporary created here 131 | static const ZLResource &emptyResource = ZLResource::resource(std::string()); | ^~~~~~~~ OK Compiling ZLTreePageNode.o ... OK Compiling ZLTreeTitledNode.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/tree' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/desktop/dialogs' Compiling ZLDesktopOpenFileDialog.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/desktop/dialogs' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/xmlconfig' Compiling AsciiEncoder.o ... OK Compiling XMLConfig.o ... OK Compiling XMLConfigDelta.o ... OK Compiling XMLConfigDeltaWriter.o ... OK Compiling XMLConfigIO.o ... OK Compiling XMLConfigReader.o ... OK Compiling XMLConfigWriter.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/xmlconfig' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/filesystem' Compiling ZLUnixFSDir.o ... OK Compiling ZLUnixFSManager.o ... OK Compiling ZLUnixFileInputStream.o ... OK Compiling ZLUnixFileOutputStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/filesystem' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/iconv' Compiling IConvEncodingConverter.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/iconv' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/library' Compiling ZLibrary.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core/src/unix/library' Creating libzlcore.so.0.99.5 ...echo ' OK' OK make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core' + make -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/model' Compiling ZLTextModel.o ... OK Compiling ZLTextParagraph.o ... OK Compiling ZLTextRowMemoryAllocator.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/model' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/area' Compiling ZLTextArea.o ... OK Compiling ZLTextAreaController.o ... OK Compiling ZLTextAreaStyle.o ... OK Compiling ZLTextArea_drawTextLine.o ... OK Compiling ZLTextArea_drawTreeLines.o ... OK Compiling ZLTextArea_drawWord.o ... OK Compiling ZLTextArea_prepareTextLine.o ... OK Compiling ZLTextArea_processTextLine.o ... OK Compiling ZLTextElement.o ... OK Compiling ZLTextParagraphBuilder.o ...ZLTextParagraphBuilder.cpp: In member function 'void ZLTextParagraphCursor::Builder::fill()': ZLTextParagraphBuilder.cpp:80:24: warning: enumeration value 'STYLE_CLOSE_ENTRY' not handled in switch [-Wswitch] 80 | switch (it.entryKind()) { | ^ OK Compiling ZLTextParagraphCursor.o ... OK Compiling ZLTextSelectionModel.o ... OK Compiling ZLTextWord.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/area' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/view' Compiling ZLTextPositionIndicator.o ... OK Compiling ZLTextSelectionScroller.o ... OK Compiling ZLTextView.o ... OK Compiling ZLTextView_paint.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/view' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/style' Compiling ZLTextDecoratedStyle.o ... OK Compiling ZLTextStyle.o ... OK Compiling ZLTextStyleCollection.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/style' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/styleOptions' Compiling ZLTextStyleOptions.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/styleOptions' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/hyphenation' Compiling ZLTextHyphenationReader.o ... OK Compiling ZLTextHyphenator.o ...ZLTextHyphenator.cpp: In member function 'ZLTextHyphenationInfo ZLTextHyphenator::info(const ZLTextWord&) const': ZLTextHyphenator.cpp:77:16: warning: implicitly-declared 'ZLTextHyphenationInfo::ZLTextHyphenationInfo(const ZLTextHyphenationInfo&)' is deprecated [-Wdeprecated-copy] 77 | return info; | ^~~~ In file included from ZLTextHyphenator.cpp:22: ZLTextHyphenator.h:33:38: note: because 'ZLTextHyphenationInfo' has user-provided 'const ZLTextHyphenationInfo& ZLTextHyphenationInfo::operator=(ZLTextHyphenationInfo&)' 33 | const ZLTextHyphenationInfo &operator = (ZLTextHyphenationInfo &info); | ^~~~~~~~ OK Compiling ZLTextTeXHyphenator.o ...ZLTextTeXHyphenator.cpp: In constructor 'ZLTextTeXHyphenationPattern::ZLTextTeXHyphenationPattern(const std::string&)': ZLTextTeXHyphenator.cpp:69:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 69 | myValues[0] = 0; | ~~~~~~~~~~~~^~~ ZLTextTeXHyphenator.cpp:67:50: note: destination object of size 0 allocated by 'operator new []' 67 | myValues = new unsigned char[myLength + 1]; | ^ ZLTextTeXHyphenator.cpp:69:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 69 | myValues[0] = 0; | ~~~~~~~~~~~~^~~ ZLTextTeXHyphenator.cpp:67:50: note: destination object of size 0 allocated by 'operator new []' 67 | myValues = new unsigned char[myLength + 1]; | ^ ZLTextTeXHyphenator.cpp:67:50: warning: argument 1 range [18446744071562067969, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] In file included from /usr/include/c++/15/bits/stl_tempbuf.h:59, from /usr/include/c++/15/bits/stl_algo.h:69, from /usr/include/c++/15/algorithm:63, from ZLTextTeXHyphenator.cpp:20: /usr/include/c++/15/new:140:26: note: in a call to allocation function 'void* operator new [](std::size_t)' declared here 140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) | ^~~~~~~~ ZLTextTeXHyphenator.cpp:67:50: warning: argument 1 range [18446744071562067969, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 67 | myValues = new unsigned char[myLength + 1]; | ^ /usr/include/c++/15/new:140:26: note: in a call to allocation function 'void* operator new [](std::size_t)' declared here 140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) | ^~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text/src/hyphenation' Creating libzltext.so.0.99.5 ... OK make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text' + make -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt5 make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/time' Compiling ZLQtTime.o ... OK Generating ZLQtTime.moc.cpp ... OK Compiling ZLQtTime.moc.o ... OK rm ZLQtTime.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/time' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/dialogs' Compiling ZLQtDialog.o ... OK Compiling ZLQtDialogContent.o ...In file included from ZLQtOptionView.h:28, from ZLQtDialogContent.cpp:26: ../../../../core/src/dialogs/ZLOptionView.h: In member function 'virtual void ZLOptionView::_setActive(bool)': ../../../../core/src/dialogs/ZLOptionView.h:47:38: warning: unused parameter 'active' [-Wunused-parameter] 47 | virtual void _setActive(bool active) {} | ~~~~~^~~~~~ ZLQtDialogContent.cpp: In member function 'void ZLQtDialogContent::createViewByEntry(const std::string&, const std::string&, ZLOptionEntry*, int, int)': ZLQtDialogContent.cpp:60:16: warning: enumeration value 'MULTILINE' not handled in switch [-Wswitch] 60 | switch (option->kind()) { | ^ OK Compiling ZLQtDialogManager.o ...ZLQtDialogManager.cpp: In member function 'virtual bool ZLQtDialogManager::isClipboardSupported(ZLDialogManager::ClipboardType) const': ZLQtDialogManager.cpp:92:60: warning: unused parameter 'type' [-Wunused-parameter] 92 | bool ZLQtDialogManager::isClipboardSupported(ClipboardType type) const { | ~~~~~~~~~~~~~~^~~~ ZLQtDialogManager.cpp: In static member function 'static QString ZLQtDialogManager::qtButtonText(const ZLResourceKey&)': ZLQtDialogManager.cpp:114:33: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 114 | return QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from ZLQtDialogManager.cpp:20: /usr/include/qt5/QtCore/qstring.h:951:23: note: declared here 951 | static const Null null; | ^~~~ In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLDialogManager.h:25, from ZLQtDialogManager.h:23, from ZLQtDialogManager.cpp:29: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLOpenFileDialog]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLOpenFileDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLOpenFileDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtDialogManager.cpp:57:81: required from here 57 | return new ZLQtOpenFileDialog(dialogTitle(key), directoryPath, filePath, filter); | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLOpenFileDialog' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeDialog]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtDialogManager.cpp:61:48: required from here 61 | return new ZLQtTreeDialog(windowName, resource); | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeDialog' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeSearcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeSearcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeSearcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLTreeDialog.h:27:7: required from 'void shared_ptr_storage::removeReference() [with T = ZLTreeDialog]' 27 | class ZLTreeDialog : public ZLTreeListener { | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtDialogManager.cpp:61:48: required from here 61 | return new ZLQtTreeDialog(windowName, resource); | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeSearcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling ZLQtOpenFileDialog.o ...ZLQtOpenFileDialog.cpp: In constructor 'ZLQtOpenFileDialog::ZLQtOpenFileDialog(const std::string&, const std::string&, const std::string&, const ZLOpenFileDialog::Filter&)': ZLQtOpenFileDialog.cpp:26:143: warning: unused parameter 'filter' [-Wunused-parameter] 26 | ZLQtOpenFileDialog::ZLQtOpenFileDialog(const std::string &title, const std::string &directoryPath, const std::string &filePath, const Filter &filter) { | ~~~~~~~~~~~~~~^~~~~~ OK Compiling ZLQtOptionView.o ...In file included from ZLQtOptionView.h:28, from ZLQtOptionView.cpp:36: ../../../../core/src/dialogs/ZLOptionView.h: In member function 'virtual void ZLOptionView::_setActive(bool)': ../../../../core/src/dialogs/ZLOptionView.h:47:38: warning: unused parameter 'active' [-Wunused-parameter] 47 | virtual void _setActive(bool active) {} | ~~~~~^~~~~~ OK Compiling ZLQtOptionsDialog.o ... OK Compiling ZLQtProgressDialog.o ...ZLQtProgressDialog.cpp: In member function 'virtual void ZLQtProgressDialog::setMessage(const std::string&)': ZLQtProgressDialog.cpp:68:56: warning: unused parameter 'message' [-Wunused-parameter] 68 | void ZLQtProgressDialog::setMessage(const std::string &message) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~ OK Compiling ZLQtTreeDialog.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLFile.h:26, from ZLQtTreeDialog.cpp:25: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeSearcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeSearcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeSearcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLTreeDialog.h:27:7: required from here 27 | class ZLTreeDialog : public ZLTreeListener { | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeSearcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Generating ZLQtOptionsDialog.moc.cpp ... OK Compiling ZLQtOptionsDialog.moc.o ... OK Generating ZLQtOptionView.moc.cpp ... OK Compiling ZLQtOptionView.moc.o ...In file included from ZLQtOptionView.h:28, from ZLQtOptionView.moc.cpp:10: ../../../../core/src/dialogs/ZLOptionView.h: In member function 'virtual void ZLOptionView::_setActive(bool)': ../../../../core/src/dialogs/ZLOptionView.h:47:38: warning: unused parameter 'active' [-Wunused-parameter] 47 | virtual void _setActive(bool active) {} | ~~~~~^~~~~~ OK Generating ZLQtProgressDialog.moc.cpp ... OK Compiling ZLQtProgressDialog.moc.o ... OK Generating ZLQtTreeDialog.moc.cpp ... OK Compiling ZLQtTreeDialog.moc.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLTreeNode.h:26, from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLTreeListener.h:23, from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLTreeDialog.h:23, from ZLQtTreeDialog.h:32, from ZLQtTreeDialog.moc.cpp:10: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeSearcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeSearcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeSearcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLTreeDialog.h:27:7: required from here 27 | class ZLTreeDialog : public ZLTreeListener { | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeSearcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK rm ZLQtOptionsDialog.moc.cpp ZLQtOptionView.moc.cpp ZLQtProgressDialog.moc.cpp ZLQtTreeDialog.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/dialogs' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/view' Compiling ZLQtPaintContext.o ...ZLQtPaintContext.cpp: In member function 'virtual int ZLQtPaintContext::stringWidth(const char*, int, bool) const': ZLQtPaintContext.cpp:148:46: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 148 | return myPainter->fontMetrics().width(QString::fromUtf8(str, len)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from ZLQtPaintContext.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ZLQtPaintContext.cpp: In member function 'virtual int ZLQtPaintContext::spaceWidth() const': ZLQtPaintContext.cpp:153:62: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 153 | mySpaceWidth = myPainter->fontMetrics().width(' '); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ OK Compiling ZLQtViewWidget.o ... OK Generating ZLQtViewWidget.moc.cpp ... OK Compiling ZLQtViewWidget.moc.o ... OK rm ZLQtViewWidget.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/view' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/image' Compiling ZLQtImageManager.o ... OK Compiling ZLQtImageUtils.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/image' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/util' Compiling ZLQtGeometryOptions.o ... OK Compiling ZLQtImageUtil.o ... OK Compiling ZLQtKeyUtil.o ... OK Compiling ZLQtMainWindow.o ... OK Compiling ZLQtToolbarButton.o ... OK Compiling ZLQtUtil.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/util' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/filesystem' Compiling ZLQtFSManager.o ...ZLQtFSManager.cpp: In member function 'virtual std::string ZLQtFSManager::convertFilenameToUtf8(const std::string&) const': ZLQtFSManager.cpp:34:37: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 34 | return (qString == QString::null) ? "" : (const char*)qString.toUtf8(); | ^~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtCore/QCoreApplication:1, from ZLQtFSManager.cpp:20: /usr/include/qt5/QtCore/qstring.h:951:23: note: declared here 951 | static const Null null; | ^~~~ ZLQtFSManager.cpp: In member function 'virtual shared_ptr ZLQtFSManager::mimeType(const std::string&) const': ZLQtFSManager.cpp:37:67: warning: unused parameter 'path' [-Wunused-parameter] 37 | shared_ptr ZLQtFSManager::mimeType(const std::string &path) const { | ~~~~~~~~~~~~~~~~~~~^~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/filesystem' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/library' Compiling ZLibrary.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLApplication.h:28, from ZLibrary.cpp:28: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ../network/ZLQtNetworkManager.h:36:8: required from 'static void QtMetaTypePrivate::QMetaTypeFunctionHelper::Destruct(void*) [with T = ZLQtNetworkReplyScope; bool Accepted = true]' 36 | struct ZLQtNetworkReplyScope { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1866:53: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = ZLQtNetworkReplyScope; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' 1866 | const int id = QMetaType::registerNormalizedType(normalizedTypeName, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 1867 | QtMetaTypePrivate::QMetaTypeFunctionHelper::Destruct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1868 | QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1869 | int(sizeof(T)), | ~~~~~~~~~~~~~~~ 1870 | flags, | ~~~~~~ 1871 | QtPrivate::MetaObjectForType::value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1896:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = ZLQtNetworkReplyScope; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' 1896 | return qRegisterNormalizedMetaType(normalizedTypeName, dummy, defined); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../network/ZLQtNetworkManager.h:103:1: required from here 2068 | const int newId = qRegisterMetaType< TYPE >(#TYPE, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 2069 | reinterpret_cast< TYPE *>(quintptr(-1))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Generating ZLQApplication.moc.cpp ... OK Compiling ZLQApplication.moc.o ... OK rm ZLQApplication.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/library' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/unix/message' Compiling ZLUnixMessage.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/unix/message' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/application' Compiling ZLQtApplicationWindow.o ...ZLQtApplicationWindow.cpp: In member function 'virtual void ZLQtApplicationWindow::wheelEvent(QWheelEvent*)': ZLQtApplicationWindow.cpp:110:31: warning: 'Qt::Orientation QWheelEvent::orientation() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 110 | if (event->orientation() == Qt::Vertical) { | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/QWheelEvent:1, from ZLQtApplicationWindow.cpp:27: /usr/include/qt5/QtGui/qevent.h:222:28: note: declared here 222 | inline Qt::Orientation orientation() const { return qt4O; } | ^~~~~~~~~~~ ZLQtApplicationWindow.cpp:111:33: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 111 | if (event->delta() > 0) { | ~~~~~~~~~~~~^~ /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ ZLQtApplicationWindow.cpp: In member function 'virtual void ZLQtApplicationWindow::MenuBuilder::processSubmenuAfterItems(ZLMenubar::Submenu&)': ZLQtApplicationWindow.cpp:233:87: warning: unused parameter 'submenu' [-Wunused-parameter] 233 | void ZLQtApplicationWindow::MenuBuilder::processSubmenuAfterItems(ZLMenubar::Submenu &submenu) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ ZLQtApplicationWindow.cpp: In member function 'virtual void ZLQtApplicationWindow::MenuBuilder::processSeparator(ZLMenubar::Separator&)': ZLQtApplicationWindow.cpp:278:81: warning: unused parameter 'separator' [-Wunused-parameter] 278 | void ZLQtApplicationWindow::MenuBuilder::processSeparator(ZLMenubar::Separator &separator) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ OK Generating ZLQtApplicationWindow.moc.cpp ... OK Compiling ZLQtApplicationWindow.moc.o ... OK rm ZLQtApplicationWindow.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/application' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/network' Compiling ZLQtNetworkManager.o ...ZLQtNetworkManager.cpp: In member function 'void ZLQtNetworkManager::prepareReply(ZLQtNetworkReplyScope&, QNetworkRequest) const': ZLQtNetworkManager.cpp:174:54: warning: 'QVariant qVariantFromValue(const T&) [with T = ZLQtNetworkReplyScope]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] 174 | reply->setProperty("scope", qVariantFromValue(scope)); | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from /usr/include/qt5/QtNetwork/qnetworkrequest.h:47, from /usr/include/qt5/QtNetwork/QNetworkRequest:1, from ZLQtNetworkManager.cpp:30: /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here 530 | inline QVariant qVariantFromValue(const T &t) | ^~~~~~~~~~~~~~~~~ ZLQtNetworkManager.cpp:175:67: warning: 'QVariant qVariantFromValue(const T&) [with T = QNetworkReply*]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] 175 | scope.timeoutTimer->setProperty("reply", qVariantFromValue(reply)); | ~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here 530 | inline QVariant qVariantFromValue(const T &t) | ^~~~~~~~~~~~~~~~~ ZLQtNetworkManager.cpp: In member function 'void ZLQtNetworkManager::onAuthenticationRequired(QNetworkReply*, QAuthenticator*)': ZLQtNetworkManager.cpp:294:54: warning: 'QVariant qVariantFromValue(const T&) [with T = ZLQtNetworkReplyScope]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] 294 | reply->setProperty("scope", qVariantFromValue(scope)); | ~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:530:17: note: declared here 530 | inline QVariant qVariantFromValue(const T &t) | ^~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLApplication.h:28, from ZLQtNetworkManager.cpp:39: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtNetworkManager.cpp:114:35: required from here 114 | ZLQtNetworkReplyScope scope = { request, timeoutTimer, false, &replies, &errors, &eventLoop}; | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Generating ZLQtNetworkManager.moc.cpp ... OK Compiling ZLQtNetworkManager.moc.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLNetworkManager.h:25, from ZLQtNetworkManager.h:23, from ZLQtNetworkManager.moc.cpp:10: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtNetworkManager.h:36:8: required from 'static void QtMetaTypePrivate::QMetaTypeFunctionHelper::Destruct(void*) [with T = ZLQtNetworkReplyScope; bool Accepted = true]' 36 | struct ZLQtNetworkReplyScope { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1866:53: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = ZLQtNetworkReplyScope; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' 1866 | const int id = QMetaType::registerNormalizedType(normalizedTypeName, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 1867 | QtMetaTypePrivate::QMetaTypeFunctionHelper::Destruct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1868 | QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1869 | int(sizeof(T)), | ~~~~~~~~~~~~~~~ 1870 | flags, | ~~~~~~ 1871 | QtPrivate::MetaObjectForType::value()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1896:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = ZLQtNetworkReplyScope; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' 1896 | return qRegisterNormalizedMetaType(normalizedTypeName, dummy, defined); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ZLQtNetworkManager.h:103:1: required from here 2068 | const int newId = qRegisterMetaType< TYPE >(#TYPE, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 2069 | reinterpret_cast< TYPE *>(quintptr(-1))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK rm ZLQtNetworkManager.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/network' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/tree' Compiling QtWaitingSpinner.o ... OK Compiling ZLQtItemsListWidget.o ... OK Compiling ZLQtPreviewWidget.o ...ZLQtPreviewWidget.cpp:39:95: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 39 | ZLQtLabelAction(shared_ptr action, QWidget *parent=0, Qt::WindowFlags f=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1307, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qboxlayout.h:43, from /usr/include/qt5/QtWidgets/QVBoxLayout:1, from ZLQtPreviewWidget.cpp:20: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ ZLQtPreviewWidget.cpp: In member function 'virtual void PageInfoLoaderListener::finished(const std::string&)': ZLQtPreviewWidget.cpp:109:50: warning: unused parameter 'error' [-Wunused-parameter] 109 | void finished(const std::string &error) { | ~~~~~~~~~~~~~~~~~~~^~~~~ ZLQtPreviewWidget.cpp: In member function 'void ZLQtPageWidget::setInfo(const ZLTreePageInfo&)': ZLQtPreviewWidget.cpp:279:34: warning: possibly dangling reference to a temporary [-Wdangling-reference] 279 | static const ZLResource &resource = ZLResource::resource("bookInfo"); | ^~~~~~~~ ZLQtPreviewWidget.cpp:279:66: note: 'const std::string' {aka 'const std::__cxx11::basic_string'} temporary created here 279 | static const ZLResource &resource = ZLResource::resource("bookInfo"); | ^~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/ZLNetworkManager.h:25, from ZLQtPreviewWidget.cpp:27: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreePageInfo]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreePageInfo]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreePageInfo]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtPreviewWidget.cpp:125:53: required from here 125 | shared_ptr info = node->getPageInfo(); | ~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreePageInfo' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ ZLQtPreviewWidget.cpp:380:66: required from here 380 | ZLNetworkManager::Instance().perform(image->synchronizationData()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/../../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling ZLQtSearchField.o ...ZLQtSearchField.cpp: In member function 'void ZLQtSearchField::updateSuggestions()': ZLQtSearchField.cpp:82:76: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] 82 | QStringListModel *model = new QStringListModel(mySuggestions.toList(), this); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from ZLQtSearchField.cpp:20: /usr/include/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ OK Generating ZLQtItemsListWidget.moc.cpp ... OK Compiling ZLQtItemsListWidget.moc.o ... OK Generating ZLQtPreviewWidget.moc.cpp ... OK Compiling ZLQtPreviewWidget.moc.o ... OK Generating ZLQtSearchField.moc.cpp ... OK Compiling ZLQtSearchField.moc.o ... OK Generating QtWaitingSpinner.moc.cpp ... OK Compiling QtWaitingSpinner.moc.o ... OK rm ZLQtItemsListWidget.moc.cpp ZLQtSearchField.moc.cpp QtWaitingSpinner.moc.cpp ZLQtPreviewWidget.moc.cpp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui/src/qt4/tree' Creating libzlui.so.0.99.5 ... OK make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui' + make -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/sqldb' Compiling DBCommand.o ... OK Compiling DBCommandParameter.o ... OK Compiling DBConnection.o ... OK Compiling DBDataReader.o ... OK Compiling DBIntValue.o ... OK Compiling DBNullValue.o ... OK Compiling DBRealValue.o ... OK Compiling DBTextValue.o ... OK Compiling DBValue.o ... OK Compiling DataBase.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/sqldb' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/sqldb/implsqlite' Compiling SQLiteCommand.o ... OK Compiling SQLiteConnection.o ... OK Compiling SQLiteDataBase.o ... OK Compiling SQLiteDataReader.o ... OK Compiling SQLiteFactory.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/sqldb/implsqlite' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/booksdb' Compiling BooksDB.o ... OK Compiling BooksDBQuery.o ... OK Compiling BooksDBUtil.o ... OK Compiling BooksDB_BookAuthor.o ... OK Compiling BooksDB_BookSeries.o ... OK Compiling BooksDB_BookTag.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/booksdb' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/booksdb/runnables' Compiling ClearBooksDBRunnable.o ... OK Compiling DeleteBookRunnable.o ... OK Compiling DeleteFileEntriesRunnable.o ... OK Compiling FindFileIdRunnable.o ... OK Compiling InitBooksDBRunnable.o ... OK Compiling LoadFileEntriesRunnable.o ... OK Compiling LoadRecentBooksRunnable.o ... OK Compiling SaveAuthorsRunnable.o ... OK Compiling SaveBookRunnable.o ... OK Compiling SaveBookStateStackRunnable.o ... OK Compiling SaveRecentBooksRunnable.o ... OK Compiling SaveSeriesRunnable.o ... OK Compiling SaveTableBookRunnable.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/booksdb/runnables' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/networkdb' Compiling NetworkDB.o ... OK Compiling NetworkDBQuery.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/networkdb' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/networkdb/runnables' Compiling ClearNetworkDBRunnable.o ... OK Compiling InitNetworkDBRunnable.o ... OK Compiling SaveNetworkLinkRunnable.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/database/networkdb/runnables' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/migration' Compiling BookInfo.o ... OK Compiling FB2MigrationReader.o ... OK Compiling HtmlDCTagsReader.o ... OK Compiling Migration.o ... OK Compiling Migration_0_10_4.o ... OK Compiling Migration_0_11_0.o ... OK Compiling Migration_0_99_0.o ... OK Compiling Migration_0_99_1.o ... OK Compiling OEBMigrationReader.o ... OK Compiling migrate.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/migration' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/options' Compiling FBCategoryKey.o ... OK Compiling FBOptions.o ... OK Compiling FBTextStyle.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/options' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/library' Compiling Author.o ... OK Compiling Book.o ... OK Compiling Comparators.o ... OK Compiling Library.o ... OK Compiling Number.o ... OK Compiling Tag.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/library' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/bookmodel' Compiling BookModel.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLImage.h:25, from BookModel.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookModel::HyperlinkMatcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookModel::HyperlinkMatcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookModel::HyperlinkMatcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ BookModel.cpp:29:64: required from here 29 | BookModel::BookModel(const shared_ptr book) : myBook(book) { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'BookModel::HyperlinkMatcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling BookReader.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/bookmodel' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats' Compiling EncodedTextReader.o ... OK Compiling FormatPlugin.o ...FormatPlugin.cpp: In member function 'virtual shared_ptr FormatPlugin::coverImage(const ZLFile&) const': FormatPlugin.cpp:104:66: warning: unused parameter 'file' [-Wunused-parameter] 104 | shared_ptr FormatPlugin::coverImage(const ZLFile &file) const { | ~~~~~~~~~~~~~~^~~~ OK Compiling PluginCollection.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/fb2' Compiling FB2BookReader.o ... OK Compiling FB2CoverReader.o ...FB2CoverReader.cpp: In member function 'virtual void FB2CoverReader::characterDataHandler(const char*, std::size_t)': FB2CoverReader.cpp:87:55: warning: unused parameter 'text' [-Wunused-parameter] 87 | void FB2CoverReader::characterDataHandler(const char *text, std::size_t len) { | ~~~~~~~~~~~~^~~~ OK Compiling FB2MetaInfoReader.o ... OK Compiling FB2Plugin.o ... OK Compiling FB2Reader.o ... OK Compiling FB2TagManager.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/fb2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/css' Compiling StyleSheetParser.o ...StyleSheetParser.cpp: In member function 'void StyleSheetParser::processWordWithoutComments(const std::string&)': StyleSheetParser.cpp:227:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 227 | myReadState = ATTRIBUTE_NAME; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ StyleSheetParser.cpp:229:17: note: here 229 | case ATTRIBUTE_NAME: | ^~~~ OK Compiling StyleSheetTable.o ...StyleSheetTable.cpp: In member function 'void StyleSheetTable::addMap(const std::string&, const std::string&, const AttributeMap&)': StyleSheetTable.cpp:35:49: warning: possibly dangling reference to a temporary [-Wdangling-reference] 35 | const std::vector &pbb = values(map, "page-break-before"); | ^~~ StyleSheetTable.cpp:35:67: note: 'const std::string' {aka 'const std::__cxx11::basic_string'} temporary created here 35 | const std::vector &pbb = values(map, "page-break-before"); | ^~~~~~~~~~~~~~~~~~~ StyleSheetTable.cpp:45:49: warning: possibly dangling reference to a temporary [-Wdangling-reference] 45 | const std::vector &pba = values(map, "page-break-after"); | ^~~ StyleSheetTable.cpp:45:67: note: 'const std::string' {aka 'const std::__cxx11::basic_string'} temporary created here 45 | const std::vector &pba = values(map, "page-break-after"); | ^~~~~~~~~~~~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/css' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/html' Compiling HtmlBookReader.o ... OK Compiling HtmlDescriptionReader.o ... OK Compiling HtmlEntityCollection.o ... OK Compiling HtmlPlugin.o ... OK Compiling HtmlReader.o ... OK Compiling HtmlReaderStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/html' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/pdb' Compiling BitReader.o ... OK Compiling DocDecompressor.o ... OK Compiling EReaderPlugin.o ... OK Compiling EReaderStream.o ... OK Compiling HtmlMetainfoReader.o ... OK Compiling HuffDecompressor.o ... OK Compiling MobipocketHtmlBookReader.o ... OK Compiling MobipocketPlugin.o ... OK Compiling PalmDocLikePlugin.o ... OK Compiling PalmDocLikeStream.o ...PalmDocLikeStream.cpp: In member function 'const std::string& PalmDocLikeStream::error() const': PalmDocLikeStream.cpp:64:34: warning: possibly dangling reference to a temporary [-Wdangling-reference] 64 | static const ZLResource &resource = ZLResource::resource("mobipocketPlugin"); | ^~~~~~~~ PalmDocLikeStream.cpp:64:66: note: 'const std::string' {aka 'const std::__cxx11::basic_string'} temporary created here 64 | static const ZLResource &resource = ZLResource::resource("mobipocketPlugin"); | ^~~~~~~~~~~~~~~~~~ OK Compiling PalmDocPlugin.o ... OK Compiling PalmDocStream.o ... OK Compiling PdbPlugin.o ... OK Compiling PdbReader.o ... OK Compiling PdbStream.o ... OK Compiling PluckerBookReader.o ... OK Compiling PluckerImages.o ... OK Compiling PluckerPlugin.o ... OK Compiling PluckerTextStream.o ... OK Compiling PmlBookReader.o ... OK Compiling PmlReader.o ...PmlReader.cpp: In member function 'bool PmlReader::parseDocument(ZLInputStream&)': PmlReader.cpp:177:56: warning: this statement may fall through [-Wimplicit-fallthrough=] 177 | processCharData(dataStart, end - dataStart); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PmlReader.cpp:178:33: note: here 178 | case READ_TAG: | ^~~~ OK Compiling SimplePdbPlugin.o ... OK Compiling ZTXTPlugin.o ... OK Compiling ZTXTStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/pdb' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/txt' Compiling PlainTextFormat.o ...PlainTextFormat.cpp: In member function 'void PlainTextFormatDetector::detect(ZLInputStream&, PlainTextFormat&)': PlainTextFormat.cpp:98:14: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 98 | char previous = 0; | ^~~~~~~~ OK Compiling TxtBookReader.o ... OK Compiling TxtPlugin.o ... OK Compiling TxtReader.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLInputStream.h:25, from TxtReader.cpp:22: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = TxtReaderCore]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = TxtReaderCore]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = TxtReaderCore]' 208 | detachStorage(); | ^~~~~~~~~~~~~ TxtReader.cpp:67:79: required from here 67 | TxtReader::TxtReader(const std::string &encoding) : EncodedTextReader(encoding) { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'TxtReaderCore' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/txt' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/tcr' Compiling PPLBookReader.o ... OK Compiling TcrPlugin.o ... OK Compiling TcrStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/tcr' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/chm' Compiling BitStream.o ... OK Compiling CHMFile.o ... OK Compiling CHMFileImage.o ... OK Compiling CHMPlugin.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLFile.h:26, from CHMPlugin.cpp:22: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookModel::HyperlinkMatcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookModel::HyperlinkMatcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookModel::HyperlinkMatcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ CHMPlugin.cpp:168:28: required from here 168 | model.setHyperlinkMatcher(new CHMHyperlinkMatcher()); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'BookModel::HyperlinkMatcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling CHMReferenceCollection.o ... OK Compiling E8Decoder.o ... OK Compiling HHCReader.o ... OK Compiling HHCReferenceCollector.o ... OK Compiling HtmlSectionReader.o ... OK Compiling HuffmanDecoder.o ... OK Compiling LZXDecompressor.o ...LZXDecompressor.cpp: In member function 'bool LZXDecompressor::decompress(const std::string&, unsigned char*, std::size_t)': LZXDecompressor.cpp:243:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 243 | if (!myAlignedOffsetTree.buildTable()) { | ^~ LZXDecompressor.cpp:248:33: note: here 248 | case VERBATIM: | ^~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/chm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/xhtml' Compiling XHTMLReader.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/xhtml' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/oeb' Compiling NCXReader.o ...NCXReader.cpp: In member function 'virtual void NCXReader::endElementHandler(const char*)': NCXReader.cpp:92:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | if (TAG_NAVPOINT == tag) { | ^~ NCXReader.cpp:100:17: note: here 100 | case READ_LABEL: | ^~~~ OK Compiling OEBBookReader.o ... OK Compiling OEBCoverReader.o ... OK Compiling OEBMetaInfoReader.o ... OK Compiling OEBPlugin.o ... OK Compiling OEBTextStream.o ... OK Compiling XHTMLImageFinder.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/oeb' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/rtf' Compiling RtfBookReader.o ... OK Compiling RtfDescriptionReader.o ... OK Compiling RtfPlugin.o ... OK Compiling RtfReader.o ...RtfReader.cpp: In member function 'bool RtfReader::parseDocument()': RtfReader.cpp:393:56: warning: this statement may fall through [-Wimplicit-fallthrough=] 393 | processCharData(dataStart, end - dataStart); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ RtfReader.cpp:394:33: note: here 394 | case READ_KEYWORD: | ^~~~ OK Compiling RtfReaderStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/rtf' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/openreader' Compiling ORBookReader.o ... OK Compiling ORDescriptionReader.o ... OK Compiling OpenReaderPlugin.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/openreader' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/doc' Compiling DocBookReader.o ... OK Compiling DocFloatImageReader.o ...DocFloatImageReader.cpp: In static member function 'static unsigned int DocFloatImageReader::readBlip(Blip&, const RecordHeader&, shared_ptr)': DocFloatImageReader.cpp:198:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 198 | if (header.instance == 0x7A9) { | ^~ DocFloatImageReader.cpp:201:17: note: here 201 | case OleMainStream::IMAGE_TIFF: | ^~~~ OK Compiling DocInlineImageReader.o ... OK Compiling DocMetaInfoReader.o ... OK Compiling DocPlugin.o ... OK Compiling DocStreams.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLFile.h:26, from DocStreams.h:23, from DocStreams.cpp:24: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = DocReader]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = DocReader]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = DocReader]' 208 | detachStorage(); | ^~~~~~~~~~~~~ DocStreams.cpp:140:45: required from here 140 | shared_ptr reader = createReader(myBuffer, mySize); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'DocReader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling OleMainStream.o ... OK Compiling OleStorage.o ... OK Compiling OleStream.o ... OK Compiling OleStreamParser.o ... OK Compiling OleStreamReader.o ... OK Compiling OleUtil.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/doc' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/util' Compiling EntityFilesCollector.o ... OK Compiling MergedStream.o ... OK Compiling MiscUtil.o ... OK Compiling TextFormatDetector.o ... OK Compiling XMLTextStream.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/formats/util' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/external' Compiling ProgramCollection.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/external' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/fbreader' Compiling AddBookAction.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLDialogManager.h:25, from AddBookAction.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLOpenFileDialog]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLOpenFileDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLOpenFileDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ AddBookAction.cpp:51:88: required from here 51 | shared_ptr dialog = ZLDialogManager::Instance().createOpenFileDialog(dialogKey, DirectoryOption.value(), FileOption.value(), filter); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLOpenFileDialog' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling BookTextView.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/text/include/ZLTextPositionIndicator.h:23, from BookTextView.cpp:28: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/text/include/ZLTextView.h:82:22: warning: 'virtual void ZLTextView::setModel(shared_ptr)' was hidden [-Woverloaded-virtual=] 82 | virtual void setModel(shared_ptr model); | ^~~~~~~~ In file included from BookTextView.cpp:30: BookTextView.h:42:14: note: by 'void BookTextView::setModel(shared_ptr, shared_ptr)' 42 | void setModel(shared_ptr model, shared_ptr book); | ^~~~~~~~ BookTextView.cpp: In member function 'virtual bool BookTextView::_onStylusPress(int, int)': BookTextView.cpp:302:39: warning: unused parameter 'x' [-Wunused-parameter] 302 | bool BookTextView::_onStylusPress(int x, int y) { | ~~~~^ BookTextView.cpp:302:46: warning: unused parameter 'y' [-Wunused-parameter] 302 | bool BookTextView::_onStylusPress(int x, int y) { | ~~~~^ OK Compiling BooksOrderAction.o ... OK Compiling ContentsView.o ...In file included from FBView.h:23, from ContentsView.h:23, from ContentsView.cpp:22: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/text/include/ZLTextView.h:82:22: warning: 'virtual void ZLTextView::setModel(shared_ptr)' was hidden [-Woverloaded-virtual=] 82 | virtual void setModel(shared_ptr model); | ^~~~~~~~ In file included from ContentsView.cpp:23: BookTextView.h:42:14: note: by 'void BookTextView::setModel(shared_ptr, shared_ptr)' 42 | void setModel(shared_ptr model, shared_ptr book); | ^~~~~~~~ OK Compiling FBReader.o ...In file included from FBView.h:23, from BookTextView.h:29, from FBReader.cpp:40: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/text/include/ZLTextView.h:82:22: warning: 'virtual void ZLTextView::setModel(shared_ptr)' was hidden [-Woverloaded-virtual=] 82 | virtual void setModel(shared_ptr model); | ^~~~~~~~ BookTextView.h:42:14: note: by 'void BookTextView::setModel(shared_ptr, shared_ptr)' 42 | void setModel(shared_ptr model, shared_ptr book); | ^~~~~~~~ OK Compiling FBReaderActionCode.o ... OK Compiling FBReaderActions.o ...In file included from FBReaderActions.cpp:30: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/text/include/ZLTextView.h:82:22: warning: 'virtual void ZLTextView::setModel(shared_ptr)' was hidden [-Woverloaded-virtual=] 82 | virtual void setModel(shared_ptr model); | ^~~~~~~~ In file included from FBReaderActions.cpp:35: BookTextView.h:42:14: note: by 'void BookTextView::setModel(shared_ptr, shared_ptr)' 42 | void setModel(shared_ptr model, shared_ptr book); | ^~~~~~~~ OK Compiling FBView.o ... OK Compiling RecentBooksPopupData.o ... OK Compiling ScrollingAction.o ... OK Compiling SearchActions.o ... OK Compiling SearchOnNetworkAction.o ... OK Compiling TimeUpdater.o ... OK Compiling main.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/fbreader' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/encodingOption' Compiling EncodingOptionEntry.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/encodingOption' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network' Compiling BookReference.o ... OK Compiling NetworkBookCollection.o ... OK Compiling NetworkBookItem.o ...In file included from NetworkItems.h:27, from NetworkBookItem.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkBookItem.cpp:83:28: required from here 83 | shared_ptr reference; | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkCatalogItem.o ... OK Compiling NetworkComparators.o ... OK Compiling NetworkErrors.o ... OK Compiling NetworkItem.o ... OK Compiling NetworkLink.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkRequest.h:26, from NetworkLink.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkLink.cpp:55:9: required from here 55 | return 0; | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkLinkCollection.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLFile.h:26, from NetworkLinkCollection.cpp:23: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkLinkCollection.cpp:157:99: required from here 157 | shared_ptr loadingRequest = ZLNetworkManager::Instance().createDownloadRequest(myGenericUrl, myTmpFile.physicalFilePath()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkOperationData.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkRequest.h:26, from NetworkOperationData.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkOperationData.cpp:34:52: required from here 34 | shared_ptr request = Link.resume(*this); | ~~~~~~~~~~~^~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling SearchResult.o ... OK Compiling UserList.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/authentication' Compiling NetworkAuthenticationManager.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/authentication' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/atom' Compiling ATOMConstructs.o ... OK Compiling ATOMContainers.o ... OK Compiling ATOMMetadata.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/atom' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/opds' Compiling NetworkOPDSFeedReader.o ... OK Compiling OPDSBookItem.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from OPDSBookItem.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ OPDSBookItem.cpp:62:44: required from here 62 | ZLNetworkManager::Instance().performAsync(request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ OPDSBookItem.cpp:231:26: required from here 231 | references.push_back(new BuyBookReference( | ^~~~~~~~~~~~~~~~~~~~~ 232 | href, BookReference::NONE, BookReference::BUY_IN_BROWSER, price | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | )); | ~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling OPDSCatalogItem.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkRequest.h:26, from OPDSCatalogItem.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ OPDSCatalogItem.cpp:45:44: required from here 45 | ZLNetworkManager::Instance().performAsync(request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling OPDSLink.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from OPDSLink.cpp:25: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ OPDSLink.cpp:107:10: required from here 107 | return 0; | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling OPDSLink_GenericFeedReader.o ... OK Compiling OPDSLink_GenericXMLParser.o ... OK Compiling OPDSMetadata.o ... OK Compiling OPDSXMLParser.o ... OK Compiling OpenSearchXMLReader.o ... OK Compiling URLRewritingRule.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/opds' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/litres' Compiling LitResAuthorsItem.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from LitResAuthorsItem.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ LitResAuthorsItem.cpp:66:89: required from here 66 | shared_ptr data = ZLNetworkManager::Instance().createXMLParserRequest( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 67 | getCatalogUrl(), | ~~~~~~~~~~~~~~~~ 68 | new LitResAuthorsParser(myAuthorsList), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | new LitResAuthorsItemRunnable(this, children) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | ); | ~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling LitResAuthorsParser.o ... OK Compiling LitResBookItem.o ...In file included from ../NetworkItems.h:27, from LitResBooksFeedItem.h:23, from LitResBookItem.cpp:23: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_construct.h:166:22: required from 'void std::_Destroy(_Tp*) [with _Tp = shared_ptr]' 166 | __pointer->~_Tp(); | ~~~~~~~~~~~~~~~^~ /usr/include/c++/15/bits/stl_construct.h:212:17: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = shared_ptr*]' 212 | std::_Destroy(std::__addressof(*__first)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/alloc_traits.h:1045:20: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = shared_ptr*; _Tp = shared_ptr]' 1045 | std::_Destroy(__first, __last); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_vector.h:802:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = shared_ptr; _Alloc = std::allocator >]' 802 | std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 803 | _M_get_Tp_allocator()); | ~~~~~~~~~~~~~~~~~~~~~~ LitResBookItem.cpp:46:23: required from here 46 | myAuthorIds(authorIds) | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling LitResBooksFeedItem.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from LitResBooksFeedItem.cpp:22: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ LitResBooksFeedItem.cpp:63:44: required from here 63 | ZLNetworkManager::Instance().performAsync(request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling LitResBooksFeedParser.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLXMLReader.h:27, from LitResBooksFeedParser.h:26, from LitResBooksFeedParser.cpp:25: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ LitResBooksFeedParser.cpp:106:27: required from here 106 | myReferences.push_back(new BuyBookReference( | ^~~~~~~~~~~~~~~~~~~~~ 107 | LitResUtil::generatePurchaseUrl(myLink, myBookId), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | BookReference::FB2_ZIP, | ~~~~~~~~~~~~~~~~~~~~~~~ 109 | BookReference::BUY, | ~~~~~~~~~~~~~~~~~~~ 110 | price | ~~~~~ 111 | )); | ~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling LitResBookshelfItem.o ... OK Compiling LitResByGenresItem.o ... OK Compiling LitResGenre.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from LitResGenre.cpp:24: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ LitResGenre.cpp:123:97: required from here 123 | shared_ptr networkData = ZLNetworkManager::Instance().createXMLParserRequest( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 124 | url, | ~~~~ 125 | new LitResGenresParser(myGenresTree, myGenresMap) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | ); | ~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling LitResGenresParser.o ... OK Compiling LitResRecommendationsItem.o ... OK Compiling LitResUtil.o ... OK Compiling SortedCatalogItem.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/litres' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/tree' Compiling NetworkAuthorTree.o ... OK Compiling NetworkBookTree.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLImage.h:25, from NetworkBookTree.cpp:21: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreePageInfo]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreePageInfo]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreePageInfo]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkBookTree.cpp:42:175: required from here 42 | NetworkBookTree::NetworkBookTree(NetworkTree *parent, shared_ptr book, SummaryType summaryType) : ZLTreePageNode(parent), myBook(book), mySummaryType(summaryType) { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreePageInfo' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkBookTree.cpp:62:21: required from here 62 | if (!book.reference(BookReference::DOWNLOAD_FULL).isNull() || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkBookTree.cpp:172:68: required from here 172 | shared_ptr request = cover->synchronizationData(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkCatalogRootTree.o ... OK Compiling NetworkCatalogTree.o ... OK Compiling NetworkCatalogUtil.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from NetworkCatalogUtil.cpp:21: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkCatalogUtil.cpp:85:76: required from here 85 | shared_ptr downloadRequest = image->synchronizationData(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkLibrary.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLDialogManager.h:25, from NetworkLibrary.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeDialog]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkLibrary.cpp:46:32: required from here 46 | NetworkLibrary::NetworkLibrary() { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeDialog' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeSearcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeSearcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeSearcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkLibrary.cpp:58:24: required from here 58 | myDialog->setSearcher(new NetworkSearcher); | ^~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeSearcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkSearcher.o ...NetworkSearcher.cpp: In member function 'virtual void AllCatalogsSearchItemListener::finished(const std::string&)': NetworkSearcher.cpp:76:42: warning: unused parameter 'error' [-Wunused-parameter] 76 | void finished(const std::string &error) { | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from NetworkSearcher.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkSearcher.cpp:69:59: required from here 69 | shared_ptr request = requestList.at(i); | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkSeriesTree.o ... OK Compiling NetworkTree.o ... OK Compiling NetworkTreeFactory.o ... OK Compiling RootTree.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLUserData.h:26, from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLExecutionUtil.h:23, from NetworkTreeNodes.h:24, from RootTree.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeDialog]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ RootTree.cpp:29:20: required from here 29 | RootTree::RootTree() { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeDialog' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLTreeSearcher]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeSearcher]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeSearcher]' 208 | detachStorage(); | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLTreeDialog.h:27:7: required from 'void shared_ptr_storage::removeReference() [with T = ZLTreeDialog]' 27 | class ZLTreeDialog : public ZLTreeListener { | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLTreeDialog]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLTreeDialog]' 208 | detachStorage(); | ^~~~~~~~~~~~~ RootTree.cpp:29:20: required from here 29 | RootTree::RootTree() { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLTreeSearcher' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling SearchCatalogTree.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/tree' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/authentication/litres' Compiling LitResAuthenticationDataParser.o ... OK Compiling LitResAuthenticationManager.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLNetworkManager.h:25, from LitResAuthenticationManager.cpp:21: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = ZLNetworkRequest]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = ZLNetworkRequest]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = ZLNetworkRequest]' 208 | detachStorage(); | ^~~~~~~~~~~~~ LitResAuthenticationManager.cpp:76:96: required from here 76 | shared_ptr networkData = ZLNetworkManager::Instance().createXMLParserRequest(url, xmlReader); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of abstract class type 'ZLNetworkRequest' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ LitResAuthenticationManager.cpp:159:54: required from here 159 | shared_ptr reference = book.reference(BookReference::BUY); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/network/authentication/litres' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/blockTree' Compiling FBReaderNode.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/blockTree' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/libraryActions' Compiling AuthorInfoDialog.o ... OK Compiling BooksUtil.o ... OK Compiling LibraryAuthorActions.o ... OK Compiling LibraryBookActions.o ...LibraryBookActions.cpp: In member function 'int BookRemoveAction::removeBookDialog() const': LibraryBookActions.cpp:78:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] 78 | const ZLResource &msgResource = ZLResource::resource("dialog")[boxKey]; | ^~~~~~~~~~~ LibraryBookActions.cpp:78:62: note: 'const std::string' {aka 'const std::__cxx11::basic_string'} temporary created here 78 | const ZLResource &msgResource = ZLResource::resource("dialog")[boxKey]; | ^~~~~~~~ LibraryBookActions.cpp: In member function 'virtual void BookRemoveAction::run()': LibraryBookActions.cpp:58:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 58 | } | ^ LibraryBookActions.cpp:60:17: note: here 60 | case Library::REMOVE_FROM_LIBRARY: | ^~~~ OK Compiling LibraryTagActions.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/libraryActions' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/libraryTree' Compiling AuthorNode.o ... OK Compiling BookNode.o ... OK Compiling LibraryByAuthorView.o ... OK Compiling LibraryByTagView.o ... OK Compiling LibraryView.o ... OK Compiling SeriesNode.o ... OK Compiling TagNode.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/libraryTree' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/networkActions' Compiling AuthenticationDialog.o ... OK Compiling AuthenticationDialogManager.o ... OK Compiling NetworkActions.o ...In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLFile.h:26, from NetworkActions.cpp:22: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkActions.cpp:51:22: required from here 51 | !myBook.reference(BookReference::DOWNLOAD_FULL).isNull()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling NetworkOperationRunnable.o ...NetworkOperationRunnable.cpp: In member function 'virtual void DownloadBookRunnableAsync::finished(const std::string&)': NetworkOperationRunnable.cpp:186:61: warning: unused parameter 'error' [-Wunused-parameter] 186 | void DownloadBookRunnableAsync::finished(const std::string &error) { | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/ZLDialogManager.h:25, from NetworkOperationRunnable.cpp:20: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h: In instantiation of 'void shared_ptr_storage::removeReference() [with T = BookReference]': /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:178:30: required from 'void shared_ptr::detachStorage() [with T = BookReference]' 178 | myStorage->removeReference(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:208:2: required from 'shared_ptr::~shared_ptr() [with T = BookReference]' 208 | detachStorage(); | ^~~~~~~~~~~~~ NetworkOperationRunnable.cpp:76:176: required from here 76 | DownloadBookRunnable::DownloadBookRunnable(shared_ptr reference, shared_ptr authManager) : NetworkOperationRunnable("downloadBook") { | ^ /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/core/include/shared_ptr.h:147:17: warning: deleting object of polymorphic class type 'BookReference' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 147 | delete ptr; | ^~~~~~~~~~ OK Compiling PasswordRecoveryDialog.o ... OK Compiling RegisterUserDialog.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/networkActions' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/tree' Compiling FBTree.o ...FBTree.cpp:43:20: warning: 'std::string percent_encoding(const std::string&)' defined but not used [-Wunused-function] 43 | static std::string percent_encoding(const std::string &str) { | ^~~~~~~~~~~~~~~~ OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/tree' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/optionsDialog' Compiling AbstractOptionsDialog.o ... OK Compiling AuthorDisplayNameEntry.o ... OK Compiling BookTagEntry.o ... OK Compiling FormatOptionsPage.o ... OK Compiling IndicatorTab.o ...In file included from ../fbreader/FBView.h:23, from IndicatorTab.cpp:29: /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/../zlibrary/text/include/ZLTextView.h:82:22: warning: 'virtual void ZLTextView::setModel(shared_ptr)' was hidden [-Woverloaded-virtual=] 82 | virtual void setModel(shared_ptr model); | ^~~~~~~~ In file included from IndicatorTab.cpp:30: ../fbreader/BookTextView.h:42:14: note: by 'void BookTextView::setModel(shared_ptr, shared_ptr)' 42 | void setModel(shared_ptr model, shared_ptr book); | ^~~~~~~~ OK Compiling IntegrationTab.o ... OK Compiling KeyBindingsTab.o ... OK Compiling OptionsDialog.o ... OK Compiling OptionsPage.o ... OK Compiling RotationTypeEntry.o ... OK Compiling SeriesIndexEntry.o ... OK Compiling SeriesTitleEntry.o ... OK Compiling StyleOptionsPage.o ... OK make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/src/optionsDialog' Linking FBReader ... OK make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cxp6y0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + mkdir /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fbreader-0.99.5 + '[' 1 -eq 1 ']' + make -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT INSTALLDIR=/usr LIBDIR=/usr/lib64 do_install make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/core' + make -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT INSTALLDIR=/usr LIBDIR=/usr/lib64 do_install make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/text' + make -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt4 DESTDIR=/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT INSTALLDIR=/usr LIBDIR=/usr/lib64 do_install make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/zlibrary/ui' + make -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT INSTALLDIR=/usr LIBDIR=/usr/lib64 do_install make: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/desktop' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader/desktop' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5/fbreader' + desktop-file-install --vendor= --set-icon=FBReader '--add-mime-type=application/epub+zip;application/rtf;' '--add-mime-type=application/x-mobipocket-ebook;application/x-fictionbook+xml;' '--add-mime-type=application/x-zip-compressed-fb2;' '--add-mime-type=text/html;application/xhtml+xml;' --dir=/home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/applications /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/applications/FBReader.desktop /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/applications/FBReader.desktop: warning: value "???? ????? ???????????" for key "Comment[ar]" in group "Desktop Entry" looks the same as that of key "GenericName[ar]" + mkdir -p /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/man/man1 + install -m644 fbreader/desktop/FBReader.1 /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/man/man1 + rm -f /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/lib64/libzlcore.so /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/lib64/libzltext.so /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/lib64/libzlui.so + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.99.5-15.mga10 --unique-debug-suffix -0.99.5-15.mga10.x86_64 --unique-debug-src-base fbreader-0.99.5-15.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/fbreader-0.99.5 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/fbreader-0.99.5-15.mga10.x86_64 cpio: zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/dialogs/ZLQtOptionView.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/library/ZLQApplication.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/network/ZLQtNetworkManager.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/time/ZLQtTime.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/tree/QtWaitingSpinner.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/tree/ZLQtSearchField.moc.cpp: Cannot stat: No such file or directory cpio: zlibrary/ui/src/qt4/view/ZLQtViewWidget.moc.cpp: Cannot stat: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/applications/FBReader.desktop: warning: value "???? ????? ???????????" for key "Comment[ar]" in group "Desktop Entry" looks the same as that of key "GenericName[ar]" /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT/usr/share/applications/FBReader.desktop: hint: value item "Literature" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Education, or Science + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/SPECPARTS/rpm-debuginfo.specpart Processing files: fbreader-0.99.5-15.mga10.x86_64 Provides: application() application(FBReader.desktop) fbreader = 0.99.5-15.mga10 fbreader(x86-64) = 0.99.5-15.mga10 libzlcore.so.0.99()(64bit) libzltext.so.0.99()(64bit) libzlui.so.0.99()(64bit) mimehandler(application/epub+zip) mimehandler(application/rtf) mimehandler(application/x-fictionbook+xml) mimehandler(application/x-mobipocket-ebook) mimehandler(application/x-zip-compressed-fb2) mimehandler(application/xhtml+xml) mimehandler(text/html) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Network.so.5()(64bit) libQt5Network.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libexpat.so.1()(64bit) libfribidi.so.0()(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libunibreak.so.6()(64bit) libz.so.1()(64bit) libzlcore.so.0.99()(64bit) libzltext.so.0.99()(64bit) libzlui.so.0.99()(64bit) Processing files: fbreader-debugsource-0.99.5-15.mga10.x86_64 Provides: fbreader-debugsource = 0.99.5-15.mga10 fbreader-debugsource(x86-64) = 0.99.5-15.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fbreader-debuginfo-0.99.5-15.mga10.x86_64 Provides: debuginfo(build-id) = 214368f6209de8589f0084015839900d6fa183ca debuginfo(build-id) = e73ffe7a70d09a177206d0c1e4ddd53871520fad debuginfo(build-id) = f339c317468be8ffc1f059094e4258039f9d1ff0 fbreader-debuginfo = 0.99.5-15.mga10 fbreader-debuginfo(x86-64) = 0.99.5-15.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fbreader-debugsource(x86-64) = 0.99.5-15.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/fbreader-debugsource-0.99.5-15.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/fbreader-0.99.5-15.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/fbreader-debuginfo-0.99.5-15.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4yPzrT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + test -d /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + rm -rf /home/pterjan/rpmbuild/BUILD/fbreader-0.99.5-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!