--- Begin Message ---
Package: src:bamtools
Version: 2.5.1+dfsg-8
Severity: normal
Tags: sid bookworm
User: debian-...@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/bamtools_2.5.1+dfsg-8_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.
[...]
/usr/include/c++/11/bits/stl_multiset.h:503:36: required from
‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare,
_Alloc>::insert(const value_type&) [with _Key = BamTools::Internal::MergeItem;
_Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>; _Alloc
= std::allocator<BamTools::Internal::MergeItem>; std::multiset<_Key, _Compare,
_Alloc>::iterator = std::_Rb_tree<BamTools::Internal::MergeItem,
BamTools::Internal::MergeItem, std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>,
std::allocator<BamTools::Internal::MergeItem> >::const_iterator;
std::multiset<_Key, _Compare, _Alloc>::value_type =
BamTools::Internal::MergeItem]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:135:18: required
from ‘void
BamTools::Internal::MultiMerger<Compare>::Add(BamTools::Internal::MergeItem)
[with Compare = BamTools::Algorithms::Sort::ByName]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:128:13: 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
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>&, const
BamTools::Internal::MergeItem&, const BamTools::Internal::MergeItem&>’
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 = BamTools::Internal::MergeItem; _Val =
BamTools::Internal::MergeItem; _KeyOfValue =
std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const
std::_Rb_tree_node<BamTools::Internal::MergeItem>*]’:
/usr/include/c++/11/bits/stl_tree.h:2100:44: 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_equal_pos(const key_type&) [with _Key =
BamTools::Internal::MergeItem; _Val = BamTools::Internal::MergeItem;
_KeyOfValue = std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::key_type = BamTools::Internal::MergeItem]’
/usr/include/c++/11/bits/stl_tree.h:2149:4: required from
‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_insert_equal(_Arg&&) [with _Arg = const
BamTools::Internal::MergeItem&; _Key = BamTools::Internal::MergeItem; _Val =
BamTools::Internal::MergeItem; _KeyOfValue =
std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::iterator =
std::_Rb_tree<BamTools::Internal::MergeItem, BamTools::Internal::MergeItem,
std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>,
std::allocator<BamTools::Internal::MergeItem> >::iterator]’
/usr/include/c++/11/bits/stl_multiset.h:503:36: required from
‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare,
_Alloc>::insert(const value_type&) [with _Key = BamTools::Internal::MergeItem;
_Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::multiset<_Key,
_Compare, _Alloc>::iterator = std::_Rb_tree<BamTools::Internal::MergeItem,
BamTools::Internal::MergeItem, std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>,
std::allocator<BamTools::Internal::MergeItem> >::const_iterator;
std::multiset<_Key, _Compare, _Alloc>::value_type =
BamTools::Internal::MergeItem]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:135:18: required
from ‘void
BamTools::Internal::MultiMerger<Compare>::Add(BamTools::Internal::MergeItem)
[with Compare = BamTools::Algorithms::Sort::ByPosition]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:128:13: 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
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>&,
const BamTools::Internal::MergeItem&, const BamTools::Internal::MergeItem&>’
evaluates to false
make[3]: *** [src/api/CMakeFiles/BamTools.dir/build.make:241:
src/api/CMakeFiles/BamTools.dir/internal/bam/BamMultiReader_p.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 23%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/SamReadGroup.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/SamReadGroup.cpp.o -c
/<<PKGBUILDDIR>>/src/api/SamReadGroup.cpp
[ 24%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/SamReadGroupDictionary.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/SamReadGroupDictionary.cpp.o -c
/<<PKGBUILDDIR>>/src/api/SamReadGroupDictionary.cpp
[ 25%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/SamSequence.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/SamSequence.cpp.o -c
/<<PKGBUILDDIR>>/src/api/SamSequence.cpp
[ 26%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/SamSequenceDictionary.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/SamSequenceDictionary.cpp.o -c
/<<PKGBUILDDIR>>/src/api/SamSequenceDictionary.cpp
[ 27%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/internal/bam/BamHeader_p.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/internal/bam/BamHeader_p.cpp.o -c
/<<PKGBUILDDIR>>/src/api/internal/bam/BamHeader_p.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:327: src/api/CMakeFiles/BamTools.dir/all]
Error 2
make[2]: *** Waiting for unfinished jobs....
[ 28%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/internal/bam/BamMultiReader_p.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/internal/bam/BamMultiReader_p.cpp.o -c
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiReader_p.cpp
[ 29%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/internal/bam/BamRandomAccessController_p.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/internal/bam/BamRandomAccessController_p.cpp.o
-c /<<PKGBUILDDIR>>/src/api/internal/bam/BamRandomAccessController_p.cpp
[ 30%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/internal/bam/BamReader_p.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/internal/bam/BamReader_p.cpp.o -c
/<<PKGBUILDDIR>>/src/api/internal/bam/BamReader_p.cpp
[ 31%] Building CXX object
src/api/CMakeFiles/BamTools_static.dir/internal/bam/BamWriter_p.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/api && /usr/bin/c++
-DBAMTOOLS_API_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o
CMakeFiles/BamTools_static.dir/internal/bam/BamWriter_p.cpp.o -c
/<<PKGBUILDDIR>>/src/api/internal/bam/BamWriter_p.cpp
In file included from /usr/include/c++/11/map:60,
from /<<PKGBUILDDIR>>/src/api/BamMultiReader.h:13,
from
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiReader_p.h:25,
from
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiReader_p.cpp:10:
/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 = BamTools::Internal::MergeItem; _Val =
BamTools::Internal::MergeItem; _KeyOfValue =
std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>; _Alloc
= std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const
std::_Rb_tree_node<BamTools::Internal::MergeItem>*]’:
/usr/include/c++/11/bits/stl_tree.h:2100:44: 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_equal_pos(const key_type&) [with _Key =
BamTools::Internal::MergeItem; _Val = BamTools::Internal::MergeItem;
_KeyOfValue = std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>; _Alloc
= std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::key_type = BamTools::Internal::MergeItem]’
/usr/include/c++/11/bits/stl_tree.h:2149:4: required from
‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_insert_equal(_Arg&&) [with _Arg = const
BamTools::Internal::MergeItem&; _Key = BamTools::Internal::MergeItem; _Val =
BamTools::Internal::MergeItem; _KeyOfValue =
std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>; _Alloc
= std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::iterator =
std::_Rb_tree<BamTools::Internal::MergeItem, BamTools::Internal::MergeItem,
std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>,
std::allocator<BamTools::Internal::MergeItem> >::iterator]’
/usr/include/c++/11/bits/stl_multiset.h:503:36: required from
‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare,
_Alloc>::insert(const value_type&) [with _Key = BamTools::Internal::MergeItem;
_Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>; _Alloc
= std::allocator<BamTools::Internal::MergeItem>; std::multiset<_Key, _Compare,
_Alloc>::iterator = std::_Rb_tree<BamTools::Internal::MergeItem,
BamTools::Internal::MergeItem, std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>,
std::allocator<BamTools::Internal::MergeItem> >::const_iterator;
std::multiset<_Key, _Compare, _Alloc>::value_type =
BamTools::Internal::MergeItem]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:135:18: required
from ‘void
BamTools::Internal::MultiMerger<Compare>::Add(BamTools::Internal::MergeItem)
[with Compare = BamTools::Algorithms::Sort::ByName]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:128:13: 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
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByName>&, const
BamTools::Internal::MergeItem&, const BamTools::Internal::MergeItem&>’
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 = BamTools::Internal::MergeItem; _Val =
BamTools::Internal::MergeItem; _KeyOfValue =
std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const
std::_Rb_tree_node<BamTools::Internal::MergeItem>*]’:
/usr/include/c++/11/bits/stl_tree.h:2100:44: 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_equal_pos(const key_type&) [with _Key =
BamTools::Internal::MergeItem; _Val = BamTools::Internal::MergeItem;
_KeyOfValue = std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::key_type = BamTools::Internal::MergeItem]’
/usr/include/c++/11/bits/stl_tree.h:2149:4: required from
‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_insert_equal(_Arg&&) [with _Arg = const
BamTools::Internal::MergeItem&; _Key = BamTools::Internal::MergeItem; _Val =
BamTools::Internal::MergeItem; _KeyOfValue =
std::_Identity<BamTools::Internal::MergeItem>; _Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::iterator =
std::_Rb_tree<BamTools::Internal::MergeItem, BamTools::Internal::MergeItem,
std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>,
std::allocator<BamTools::Internal::MergeItem> >::iterator]’
/usr/include/c++/11/bits/stl_multiset.h:503:36: required from
‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare,
_Alloc>::insert(const value_type&) [with _Key = BamTools::Internal::MergeItem;
_Compare =
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>;
_Alloc = std::allocator<BamTools::Internal::MergeItem>; std::multiset<_Key,
_Compare, _Alloc>::iterator = std::_Rb_tree<BamTools::Internal::MergeItem,
BamTools::Internal::MergeItem, std::_Identity<BamTools::Internal::MergeItem>,
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>,
std::allocator<BamTools::Internal::MergeItem> >::const_iterator;
std::multiset<_Key, _Compare, _Alloc>::value_type =
BamTools::Internal::MergeItem]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:135:18: required
from ‘void
BamTools::Internal::MultiMerger<Compare>::Add(BamTools::Internal::MergeItem)
[with Compare = BamTools::Algorithms::Sort::ByPosition]’
/<<PKGBUILDDIR>>/src/api/internal/bam/BamMultiMerger_p.h:128:13: 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
BamTools::Internal::MergeItemSorter<BamTools::Algorithms::Sort::ByPosition>&,
const BamTools::Internal::MergeItem&, const BamTools::Internal::MergeItem&>’
evaluates to false
make[3]: *** [src/api/CMakeFiles/BamTools_static.dir/build.make:241:
src/api/CMakeFiles/BamTools_static.dir/internal/bam/BamMultiReader_p.cpp.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:300:
src/api/CMakeFiles/BamTools_static.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---