--- Begin Message ---
Package: src:fbreader
Version: 0.12.10dfsg2-4
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/fbreader_0.12.10dfsg2-4_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include HtmlDCTagsReader.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Migration.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Migration_0_10_4.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Migration_0_11_0.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Migration_0_8_11.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Migration_0_8_13.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Migration_0_8_16.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include OEBMigrationReader.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include migrate.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fbreader/src/migration'
make[3]: Entering directory '/<<PKGBUILDDIR>>/fbreader/src/constants'
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include XMLNamespace.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fbreader/src/constants'
make[3]: Entering directory '/<<PKGBUILDDIR>>/fbreader/src/options'
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include FBCategoryKey.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include FBOptions.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include FBTextStyle.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fbreader/src/options'
make[3]: Entering directory '/<<PKGBUILDDIR>>/fbreader/src/library'
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Author.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Book.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Comparators.cpp
gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DIMAGEDIR=\"/usr/share/pixmaps\" -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include Library.cpp
In file included from /usr/include/c++/11/map:60,
from Author.h:24,
from Author.cpp:23:
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = shared_ptr<Author>; _Val = shared_ptr<Author>; _KeyOfValue = std::_Identity<shared_ptr<Author> >; _Compare = AuthorComparator; _Alloc = std::allocator<shared_ptr<Author> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<shared_ptr<Author> >*]’:
/usr/include/c++/11/bits/stl_tree.h:1903:36: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr, const _Key&) [with _Key = shared_ptr<Author>; _Val = shared_ptr<Author>; _KeyOfValue = std::_Identity<shared_ptr<Author> >; _Compare = AuthorComparator; _Alloc = std::allocator<shared_ptr<Author> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<shared_ptr<Author>, shared_ptr<Author>, std::_Identity<shared_ptr<Author> >, AuthorComparator, std::allocator<shared_ptr<Author> > >::iterator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<shared_ptr<Author> >*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr = std::_Rb_tree_node_base*]’
/usr/include/c++/11/bits/stl_tree.h:2521:36: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = shared_ptr<Author>; _Val = shared_ptr<Author>; _KeyOfValue = std::_Identity<shared_ptr<Author> >; _Compare = AuthorComparator; _Alloc = std::allocator<shared_ptr<Author> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<shared_ptr<Author>, shared_ptr<Author>, std::_Identity<shared_ptr<Author> >, AuthorComparator, std::allocator<shared_ptr<Author> > >::iterator]’
/usr/include/c++/11/bits/stl_set.h:795:25: required from ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = shared_ptr<Author>; _Compare = AuthorComparator; _Alloc = std::allocator<shared_ptr<Author> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree<shared_ptr<Author>, shared_ptr<Author>, std::_Identity<shared_ptr<Author> >, AuthorComparator, std::allocator<shared_ptr<Author> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::key_type = shared_ptr<Author>]’
Author.cpp:62:27: required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
770 | is_invocable_v<const _Compare&, const _Key&, const _Key&>,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const AuthorComparator&, const shared_ptr<Author>&, const shared_ptr<Author>&>’ evaluates to false
make[3]: *** [/<<PKGBUILDDIR>>/fbreader/../makefiles/subdir.mk:14: Author.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/c++/11/map:60,
from /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include/ZLFile.h:24,
from Library.cpp:25:
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = shared_ptr<Author>; _Val = std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > >; _KeyOfValue = std::_Select1st<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >; _Compare = AuthorComparator; _Alloc = std::allocator<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >*]’:
/usr/include/c++/11/bits/stl_tree.h:2433:62: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<shared_ptr<Author>&&>, std::tuple<>}; _Key = shared_ptr<Author>; _Val = std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > >; _KeyOfValue = std::_Select1st<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >; _Compare = AuthorComparator; _Alloc = std::allocator<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<shared_ptr<Author>, std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > >, std::_Select1st<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >, AuthorCo
mparator, std::allocator<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > > >::iterator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree<shared_ptr<Author>, std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > >, std::_Select1st<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >, AuthorComparator, std::allocator<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > > >::const_iterator]’
/usr/include/c++/11/bits/stl_map.h:520:37: required from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = shared_ptr<Author>; _Tp = std::vector<shared_ptr<Book> >; _Compare = AuthorComparator; _Alloc = std::allocator<std::pair<const shared_ptr<Author>, std::vector<shared_ptr<Book> > > >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = std::vector<shared_ptr<Book> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = shared_ptr<Author>]’
Library.cpp:210:21: required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
770 | is_invocable_v<const _Compare&, const _Key&, const _Key&>,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const AuthorComparator&, const shared_ptr<Author>&, const shared_ptr<Author>&>’ evaluates to false
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = shared_ptr<Tag>; _Val = std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > >; _KeyOfValue = std::_Select1st<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >; _Compare = TagComparator; _Alloc = std::allocator<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >*]’:
/usr/include/c++/11/bits/stl_tree.h:2433:62: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<shared_ptr<Tag>&&>, std::tuple<>}; _Key = shared_ptr<Tag>; _Val = std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > >; _KeyOfValue = std::_Select1st<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >; _Compare = TagComparator; _Alloc = std::allocator<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<shared_ptr<Tag>, std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > >, std::_Select1st<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >, TagComparator, std::allocator<std::
pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > > >::iterator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree<shared_ptr<Tag>, std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > >, std::_Select1st<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >, TagComparator, std::allocator<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > > >::const_iterator]’
/usr/include/c++/11/bits/stl_map.h:520:37: required from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = shared_ptr<Tag>; _Tp = std::vector<shared_ptr<Book> >; _Compare = TagComparator; _Alloc = std::allocator<std::pair<const shared_ptr<Tag>, std::vector<shared_ptr<Book> > > >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = std::vector<shared_ptr<Book> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = shared_ptr<Tag>]’
Library.cpp:219:18: required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const TagComparator&, const shared_ptr<Tag>&, const shared_ptr<Tag>&>’ evaluates to false
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = shared_ptr<Book>; _Val = shared_ptr<Book>; _KeyOfValue = std::_Identity<shared_ptr<Book> >; _Compare = BookByFileNameComparator; _Alloc = std::allocator<shared_ptr<Book> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<shared_ptr<Book> >*]’:
/usr/include/c++/11/bits/stl_tree.h:2069:47: required from ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = shared_ptr<Book>; _Val = shared_ptr<Book>; _KeyOfValue = std::_Identity<shared_ptr<Book> >; _Compare = BookByFileNameComparator; _Alloc = std::allocator<shared_ptr<Book> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = shared_ptr<Book>]’
/usr/include/c++/11/bits/stl_tree.h:2122:4: required from ‘std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = const shared_ptr<Book>&; _Key = shared_ptr<Book>; _Val = shared_ptr<Book>; _KeyOfValue = std::_Identity<shared_ptr<Book> >; _Compare = BookByFileNameComparator; _Alloc = std::allocator<shared_ptr<Book> >]’
/usr/include/c++/11/bits/stl_set.h:512:25: required from ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = shared_ptr<Book>; _Compare = BookByFileNameComparator; _Alloc = std::allocator<shared_ptr<Book> >; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator = std::_Rb_tree<shared_ptr<Book>, shared_ptr<Book>, std::_Identity<shared_ptr<Book> >, BookByFileNameComparator, std::allocator<shared_ptr<Book> > >::const_iterator; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other = std::allocator<shared_ptr<Book> >; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key> = __gnu_cxx::__alloc_traits<std::allocator<shared_ptr<Book> >, shared_ptr<Book> >::rebind<shared_ptr<Book> >; typ
ename _Allocator::value_type = shared_ptr<Book>; std::set<_Key, _Compare, _Alloc>::value_type = shared_ptr<Book>]’
Library.cpp:133:32: required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const BookByFileNameComparator&, const shared_ptr<Book>&, const shared_ptr<Book>&>’ evaluates to false
make[3]: *** [/<<PKGBUILDDIR>>/fbreader/../makefiles/subdir.mk:14: Library.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fbreader/src/library'
make[2]: *** [Makefile:18: all] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/fbreader'
dh_auto_build: error: make -j1 -j4 LD=\$\(CXX\) -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy returned exit code 2
make[1]: *** [debian/rules:24: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---