#934619 libmaus2 FTBFS (mostly 32bit): error: no matching function for call

Package:
src:libmaus2
Source:
libmaus2
Submitter:
Helmut Grohne
Date:
2026-11-02 08:37:05 UTC
Severity:
normal
Tags:
#934619#5
Date:
2019-08-12 14:02:40 UTC
From:
To:
libmaus2 fails to build from source on the buildds for most 32bit
architectures. For instance:

| g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2   -W -Wall -Wnon-virtual-dtor -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -pthread  -std=gnu++0x -pthread -fopenmp -c -o test/testmapperm-testmapperm.o `test -f 'test/testmapperm.cpp' || echo './'`test/testmapperm.cpp
| In file included from /usr/include/c++/8/map:61,
|                  from ./libmaus2/serialize/Serialize.hpp:25,
|                  from ./libmaus2/autoarray/AutoArray.hpp:27,
|                  from ./libmaus2/bambam/BamAuxSortingBuffer.hpp:23,
|                  from ./libmaus2/bambam/BamAlignmentDecoderBase.hpp:23,
|                  from ./libmaus2/bambam/BamAlignment.hpp:24,
|                  from ./libmaus2/bambam/parallel/PushBackSpace.hpp:22,
|                  from ./libmaus2/bambam/parallel/AlignmentBuffer.hpp:22,
|                  from ./libmaus2/bambam/parallel/FragmentAlignmentBufferRewriteUpdateInterval.hpp:22,
|                  from test/testparallelbamrewrite.cpp:20:
| /usr/include/c++/8/bits/stl_map.h: In member function ‘void libmaus2::bambam::parallel::RewriteControl::checkValidatedRewritePending()’:
| /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> >, std::_Select1st<std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> > >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> > > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> > >’} changed in GCC 7.1
|     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
| In file included from test/testparallelbamblocksort.cpp:19:
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp: In instantiation of ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::enqueHeader() [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName]’:
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:571:6:   required from ‘libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::BlockMergeControl(libmaus2::parallel::SimpleThreadPool&, std::ostream&, libmaus2::autoarray::AutoArray<char>&, const std::vector<libmaus2::bambam::parallel::GenericInputControlStreamInfo>&, libmaus2::bitio::BitVector*, int, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, const string&, const string&, libmaus2::digest::DigestInterface*, libmaus2::bambam::parallel::BlockMergeControlTypeBase::block_merge_output_format_t, bool, bool, bool, uint64_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; std::ostream = std::basic_ostream<char>; libmaus2::bitio::BitVector = libmaus2::bitio::BitVectorTemplate<long long unsigned int>; uint64_t = long long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]’
| test/testparallelbamblocksort.cpp:223:68:   required from ‘int parallelbamblocksort(const libmaus2::util::ArgInfo&, bool, bool, const string&, bool) [with order_type = libmaus2::bambam::parallel::FragmentAlignmentBufferQueryNameComparator; heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; bool create_dup_mark_info = false; std::__cxx11::string = std::__cxx11::basic_string<char>]’
| test/testparallelbamblocksort.cpp:273:4:   required from here
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:346:49: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>::sam_allocate_encoder(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>*, const char*&, int, <unresolved overloaded function type>)’
|         samsupport.context = sam_allocate_encoder(this,ptext.first,ptext.second-ptext.first,sam_data_write_function);
|                              ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1260:18: note: candidate: ‘static void* libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::sam_allocate_encoder(void*, const char*, size_t, cram_data_write_function_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; size_t = unsigned int; cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type]’
|      static void *sam_allocate_encoder(
|                   ^~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1260:18: note:   no known conversion for argument 4 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:364:28: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>::cram_allocate_encoder(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>*, const char*&, int, <unresolved overloaded function type>)’
|         cramsupport.context = cram_allocate_encoder(this,ptext.first,ptext.second-ptext.first,sam_data_write_function);
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:428:12: note: candidate: ‘void* libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::cram_allocate_encoder(void*, const char*, size_t, cram_data_write_function_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; size_t = unsigned int; cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type]’
|      void * cram_allocate_encoder(void *userdata, char const *header, size_t const headerlength, cram_data_write_function_t writefunc)
|             ^~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:428:12: note:   no known conversion for argument 4 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp: In instantiation of ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::enqueHeader() [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate]’:
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:571:6:   required from ‘libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::BlockMergeControl(libmaus2::parallel::SimpleThreadPool&, std::ostream&, libmaus2::autoarray::AutoArray<char>&, const std::vector<libmaus2::bambam::parallel::GenericInputControlStreamInfo>&, libmaus2::bitio::BitVector*, int, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, const string&, const string&, libmaus2::digest::DigestInterface*, libmaus2::bambam::parallel::BlockMergeControlTypeBase::block_merge_output_format_t, bool, bool, bool, uint64_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; std::ostream = std::basic_ostream<char>; libmaus2::bitio::BitVector = libmaus2::bitio::BitVectorTemplate<long long unsigned int>; uint64_t = long long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]’
| test/testparallelbamblocksort.cpp:223:68:   required from ‘int parallelbamblocksort(const libmaus2::util::ArgInfo&, bool, bool, const string&, bool) [with order_type = libmaus2::bambam::parallel::FragmentAlignmentBufferPosComparator; heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; bool create_dup_mark_info = true; std::__cxx11::string = std::__cxx11::basic_string<char>]’
| test/testparallelbamblocksort.cpp:283:4:   required from here
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:346:49: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>::sam_allocate_encoder(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>*, const char*&, int, <unresolved overloaded function type>)’
|         samsupport.context = sam_allocate_encoder(this,ptext.first,ptext.second-ptext.first,sam_data_write_function);
|                              ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1260:18: note: candidate: ‘static void* libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::sam_allocate_encoder(void*, const char*, size_t, cram_data_write_function_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; size_t = unsigned int; cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type]’
|      static void *sam_allocate_encoder(
|                   ^~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1260:18: note:   no known conversion for argument 4 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:364:28: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>::cram_allocate_encoder(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>*, const char*&, int, <unresolved overloaded function type>)’
|         cramsupport.context = cram_allocate_encoder(this,ptext.first,ptext.second-ptext.first,sam_data_write_function);
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:428:12: note: candidate: ‘void* libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::cram_allocate_encoder(void*, const char*, size_t, cram_data_write_function_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; size_t = unsigned int; cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type]’
|      void * cram_allocate_encoder(void *userdata, char const *header, size_t const headerlength, cram_data_write_function_t writefunc)
|             ^~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:428:12: note:   no known conversion for argument 4 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| /usr/include/c++/8/bits/stl_map.h: In member function ‘virtual void libmaus2::bambam::parallel::RewriteControl::validateBlockFragmentFinished(libmaus2::bambam::parallel::ValidationFragment&, bool)’:
| /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, bool>, std::_Select1st<std::pair<const long long unsigned int, bool> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, bool> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, bool> >’} changed in GCC 7.1
|     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
| /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, bool>, std::_Select1st<std::pair<const long long unsigned int, bool> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, bool> > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, bool> >’} changed in GCC 7.1
|     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
| In file included from /usr/include/c++/8/vector:69,
|                  from ./libmaus2/util/StackTrace.hpp:32,
|                  from ./libmaus2/exception/LibMausException.hpp:25,
|                  from ./libmaus2/bambam/DecoderBase.hpp:23,
|                  from ./libmaus2/bambam/CigarRunLengthDecoder.hpp:21,
|                  from ./libmaus2/bambam/CigarDecoder.hpp:21,
|                  from ./libmaus2/bambam/BamAlignmentDecoderBase.hpp:22,
|                  from ./libmaus2/bambam/BamAlignment.hpp:24,
|                  from ./libmaus2/bambam/parallel/PushBackSpace.hpp:22,
|                  from ./libmaus2/bambam/parallel/AlignmentBuffer.hpp:22,
|                  from ./libmaus2/bambam/parallel/FragmentAlignmentBufferRewriteUpdateInterval.hpp:22,
|                  from test/testparallelbamrewrite.cpp:20:
| /usr/include/c++/8/bits/vector.tcc: In member function ‘virtual void libmaus2::bambam::parallel::RewriteControl::addWritePendingBgzfBlock(int64_t, int64_t, libmaus2::lz::BgzfDeflateOutputBufferBase::shared_ptr_type, const libmaus2::lz::BgzfDeflateZStreamBaseFlushInfo&)’:
| /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<libmaus2::bambam::parallel::WritePendingObject*, std::vector<libmaus2::bambam::parallel::WritePendingObject> >’ changed in GCC 7.1
|     _M_realloc_insert(end(), std::forward<_Args>(__args)...);
|     ^~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp: In instantiation of ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::checkRewriteReorderQueue() [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate]’:
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1597:7:   required from ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::genericInputControlReorderWorkPackageFinished(libmaus2::bambam::parallel::AlignmentBuffer::shared_ptr_type, libmaus2::bambam::parallel::FragmentAlignmentBuffer::shared_ptr_type) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; libmaus2::bambam::parallel::AlignmentBuffer::shared_ptr_type = std::shared_ptr<libmaus2::bambam::parallel::AlignmentBuffer>; libmaus2::bambam::parallel::FragmentAlignmentBuffer::shared_ptr_type = std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer>]’
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1573:10:   required from here
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1384:50: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>::sam_enque_compression_block(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>*, void*&, uint64_t&, const char**, unsigned int*, unsigned int*, size_t&, bool&, <unresolved overloaded function type>, <unresolved overloaded function type>, <unresolved overloaded function type>)’
|          int const r = sam_enque_compression_block(this,
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
|           supportdata.context /* context */,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->block->id,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->D->begin(),
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->S->begin(),
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->L->begin(),
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->numblocks,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->block->final,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           sam_enque_compression_work_package_function,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           sam_data_write_function,
|           ~~~~~~~~~~~~~~~~~~~~~~~~
|           sam_compression_work_package_finished_function
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|          );
|          ~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1316:16: note: candidate: ‘static int libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::sam_enque_compression_block(void*, void*, size_t, const char**, const size_t*, const size_t*, size_t, int, cram_enque_compression_work_package_function_t, cram_data_write_function_t, cram_compression_work_package_finished_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; size_t = unsigned int; cram_enque_compression_work_package_function_t = void (*)(void*, void*); cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type; cram_compression_work_package_finished_t = void (*)(void*, unsigned int, int)]’
|      static int sam_enque_compression_block(
|                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1316:16: note:   no known conversion for argument 10 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1437:19: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>::cram_enque_compression_block(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate>*, void*&, uint64_t&, const char**, unsigned int*, unsigned int*, size_t&, bool&, <unresolved overloaded function type>, <unresolved overloaded function type>, <unresolved overloaded function type>)’
|          int const r = cram_enque_compression_block(
|                    ^
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:438:9: note: candidate: ‘int libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::cram_enque_compression_block(void*, void*, size_t, const char**, const size_t*, const size_t*, size_t, int, cram_enque_compression_work_package_function_t, cram_data_write_function_t, cram_compression_work_package_finished_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryCoordinate; size_t = unsigned int; cram_enque_compression_work_package_function_t = void (*)(void*, void*); cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type; cram_compression_work_package_finished_t = void (*)(void*, unsigned int, int)]’
|      int cram_enque_compression_block(
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:438:9: note:   no known conversion for argument 10 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp: In instantiation of ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::checkRewriteReorderQueue() [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName]’:
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1597:7:   required from ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::genericInputControlReorderWorkPackageFinished(libmaus2::bambam::parallel::AlignmentBuffer::shared_ptr_type, libmaus2::bambam::parallel::FragmentAlignmentBuffer::shared_ptr_type) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; libmaus2::bambam::parallel::AlignmentBuffer::shared_ptr_type = std::shared_ptr<libmaus2::bambam::parallel::AlignmentBuffer>; libmaus2::bambam::parallel::FragmentAlignmentBuffer::shared_ptr_type = std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer>]’
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1573:10:   required from here
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1384:50: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>::sam_enque_compression_block(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>*, void*&, uint64_t&, const char**, unsigned int*, unsigned int*, size_t&, bool&, <unresolved overloaded function type>, <unresolved overloaded function type>, <unresolved overloaded function type>)’
|          int const r = sam_enque_compression_block(this,
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
|           supportdata.context /* context */,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->block->id,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->D->begin(),
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->S->begin(),
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->L->begin(),
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->numblocks,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           passPointerObject->block->final,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           sam_enque_compression_work_package_function,
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|           sam_data_write_function,
|           ~~~~~~~~~~~~~~~~~~~~~~~~
|           sam_compression_work_package_finished_function
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|          );
|          ~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1316:16: note: candidate: ‘static int libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::sam_enque_compression_block(void*, void*, size_t, const char**, const size_t*, const size_t*, size_t, int, cram_enque_compression_work_package_function_t, cram_data_write_function_t, cram_compression_work_package_finished_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; size_t = unsigned int; cram_enque_compression_work_package_function_t = void (*)(void*, void*); cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type; cram_compression_work_package_finished_t = void (*)(void*, unsigned int, int)]’
|      static int sam_enque_compression_block(
|                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1316:16: note:   no known conversion for argument 10 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:1437:19: error: no matching function for call to ‘libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>::cram_enque_compression_block(libmaus2::bambam::parallel::BlockMergeControl<libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName>*, void*&, uint64_t&, const char**, unsigned int*, unsigned int*, size_t&, bool&, <unresolved overloaded function type>, <unresolved overloaded function type>, <unresolved overloaded function type>)’
|          int const r = cram_enque_compression_block(
|                    ^
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:438:9: note: candidate: ‘int libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::cram_enque_compression_block(void*, void*, size_t, const char**, const size_t*, const size_t*, size_t, int, cram_enque_compression_work_package_function_t, cram_data_write_function_t, cram_compression_work_package_finished_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; size_t = unsigned int; cram_enque_compression_work_package_function_t = void (*)(void*, void*); cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type; cram_compression_work_package_finished_t = void (*)(void*, unsigned int, int)]’
|      int cram_enque_compression_block(
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ./libmaus2/bambam/parallel/BlockMergeControl.hpp:438:9: note:   no known conversion for argument 10 from ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
| In file included from /usr/include/c++/8/map:61,
|                  from ./libmaus2/serialize/Serialize.hpp:25,
|                  from ./libmaus2/autoarray/AutoArray.hpp:27,
|                  from ./libmaus2/bambam/BamAuxSortingBuffer.hpp:23,
|                  from ./libmaus2/bambam/BamAlignmentDecoderBase.hpp:23,
|                  from ./libmaus2/bambam/BamAlignment.hpp:24,
|                  from ./libmaus2/bambam/parallel/PushBackSpace.hpp:22,
|                  from ./libmaus2/bambam/parallel/AlignmentBuffer.hpp:22,
|                  from ./libmaus2/bambam/parallel/FragmentAlignmentBufferRewriteUpdateInterval.hpp:22,
|                  from test/testparallelbamrewrite.cpp:20:
| /usr/include/c++/8/bits/stl_map.h: In member function ‘void libmaus2::bambam::parallel::RewriteControl::checkLargeBlockCompressionPending()’:
| /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> >, std::_Select1st<std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> > >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> > > >::const_iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<const long long unsigned int, std::shared_ptr<libmaus2::bambam::parallel::FragmentAlignmentBuffer> > >’} changed in GCC 7.1
|     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
| In file included from /usr/include/c++/8/vector:69,
|                  from ./libmaus2/util/StackTrace.hpp:32,
|                  from ./libmaus2/exception/LibMausException.hpp:25,
|                  from ./libmaus2/bambam/DecoderBase.hpp:23,
|                  from ./libmaus2/bambam/CigarRunLengthDecoder.hpp:21,
|                  from ./libmaus2/bambam/CigarDecoder.hpp:21,
|                  from ./libmaus2/bambam/BamAlignmentDecoderBase.hpp:22,
|                  from ./libmaus2/bambam/BamAlignment.hpp:24,
|                  from ./libmaus2/bambam/parallel/PushBackSpace.hpp:22,
|                  from ./libmaus2/bambam/parallel/AlignmentBuffer.hpp:22,
|                  from ./libmaus2/bambam/parallel/FragmentAlignmentBufferRewriteUpdateInterval.hpp:22,
|                  from test/testparallelbamrewrite.cpp:20:
| /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<libmaus2::bambam::parallel::SmallLinearBlockCompressionPendingObject*, std::vector<libmaus2::bambam::parallel::SmallLinearBlockCompressionPendingObject> >’ changed in GCC 7.1
|     _M_realloc_insert(end(), std::forward<_Args>(__args)...);
|     ^~~~~~~~~~~~~~~~~

libmaus2 previously built on e.g. armhf, so the correct severity is
serious.

Helmut

#934619#10
Date:
2019-12-01 10:53:20 UTC
From:
To:
Hi,

I've tried to build the latest upstream version but it also has issues
for 32bit architectures:


g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2   -W -Wall -Wnon-virtual-dtor -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3  -std=gnu++0x -pthread -fopenmp -c -o test/testmapperm-testmapperm.o `test -f 'test/testmapperm.cpp' || echo './'`test/testmapperm.cpp
In file included from test/testparallelbamblocksort.cpp:19:
./libmaus2/bambam/parallel/BlockMergeControl.hpp: In instantiation of ‘void libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::enqueHeader() [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName]’:
./libmaus2/bambam/parallel/BlockMergeControl.hpp:571:6:   required from ‘libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::BlockMergeControl(libmaus2::parallel::SimpleThreadPool&, std::ostream&, libmaus2::autoarray::AutoArray<char>&, const std::vector<libmaus2::bambam::parallel::GenericInputControlStreamInfo>&, libmaus2::bitio::BitVector*, int, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, const string&, const string&, libmaus2::digest::DigestInterface*, libmaus2::bambam::parallel::BlockMergeControlTypeBase::block_merge_output_format_t, bool, bool, bool, uint64_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; std::ostream = std::basic_ostream<char>; libmaus2::bitio::BitVector = libmaus2::bitio::BitVectorTemplate<long long unsigned int>; uint64_t = long long unsigned int; std::string = std::__cxx11::basic_string<char>]’
test/testparallelbamblocksort.cpp:216:68:   required from ‘int parallelbamblocksort(const libmaus2::util::ArgInfo&, bool, bool, const string&, bool) [with order_type = libmaus2::bambam::parallel::FragmentAlignmentBufferQueryNameComparator; heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; bool create_dup_mark_info = false; std::string = std::__cxx11::basic_string<char>]’
test/testparallelbamblocksort.cpp:259:4:   required from here
./libmaus2/bambam/parallel/BlockMergeControl.hpp:346:92: error: cannot convert ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
  346 |        samsupport.context = sam_allocate_encoder(this,ptext.first,ptext.second-ptext.first,sam_data_write_function);
      |                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                            |
      |                                                                                            <unresolved overloaded function type>
./libmaus2/bambam/parallel/BlockMergeControl.hpp:1264:33: note:   initializing argument 4 of ‘static void* libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::sam_allocate_encoder(void*, const char*, size_t, cram_data_write_function_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; size_t = unsigned int; cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type]’
 1264 |      cram_data_write_function_t write_func
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
./libmaus2/bambam/parallel/BlockMergeControl.hpp:364:94: error: cannot convert ‘<unresolved overloaded function type>’ to ‘cram_data_write_function_t’ {aka ‘void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type)’}
  364 |        cramsupport.context = cram_allocate_encoder(this,ptext.first,ptext.second-ptext.first,sam_data_write_function);
      |                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                              |
      |                                                                                              <unresolved overloaded function type>
./libmaus2/bambam/parallel/BlockMergeControl.hpp:428:124: note:   initializing argument 4 of ‘void* libmaus2::bambam::parallel::BlockMergeControl<_heap_element_type>::cram_allocate_encoder(void*, const char*, size_t, cram_data_write_function_t) [with _heap_element_type = libmaus2::bambam::parallel::GenericInputControlMergeHeapEntryQueryName; size_t = unsigned int; cram_data_write_function_t = void (*)(void*, int, unsigned int, const char*, unsigned int, _cram_data_write_block_type); ssize_t = int; cram_data_write_block_type = _cram_data_write_block_type]’
  428 |     void * cram_allocate_encoder(void *userdata, char const *header, size_t const headerlength, cram_data_write_function_t writefunc)
      |                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~

Any hint how to fix this would be very welcome.

Kind regards

      Andreas.

#934619#21
Date:
2020-07-28 20:49:39 UTC
From:
To:
The outdated 32-bit binaries have been removed from the archive,
so this is no longer a regression.


Andreas

#934619#28
Date:
2026-11-01 18:58:22 UTC
From:
To:
Hello,

Bug #934619 in libmaus2 reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/libmaus2/-/commit/1910321f0dc9cca42a4e23d8377c4274f9ece97a
------------------------------------------------------------------------
Close #934619, whose compile errors no longer occur

The 32 bit build failures reported in #934619 were
"no matching function for call to BlockMergeControl::sam_allocate_encoder()
/ cram_allocate_encoder()" when compiling test/testparallelbamblocksort.cpp.
That file builds without any such diagnostic now (checked in the i386 build
log for 2.0.813+ds-6), and the 32 bit architectures m68k, sh4 and x32 built
this version successfully, so the bug was fixed upstream.

Closes: #934619
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/934619

#934619#35
Date:
2026-11-02 08:34:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libmaus2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 934619@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated libmaus2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 02 Nov 2026 08:26:36 +0100
Source: libmaus2
Architecture: source
Version: 2.0.813+ds-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 934619 1069691 1091144 1091568
Changes:
 libmaus2 (2.0.813+ds-7) unstable; urgency=medium
 .
   * Drop redundant fields from watch file
   * Reflow Uploaders field (cme)
   * largefile-cppflags.patch: new: add the large file flag found by
     AC_SYS_LARGEFILE to LIBMAUSCPPFLAGS
     Closes: #1091568
   * cacheline-size-fallback.patch: new: fix the cache line size detection
     Closes: #1069691, #1091144
   * Do not enable autoarray tracing for arm64 any more
   * Failure was fixed upstream thus Closes: #934619
   * Use upstream test as autopkgtest
Checksums-Sha1:
 561104cb2d1dc8739fe9fcb458e40e0b38d80833 2260 libmaus2_2.0.813+ds-7.dsc
 865b0517a4aeaa15c6d41005548a41fa0ebae2d4 12672 libmaus2_2.0.813+ds-7.debian.tar.xz
 5d6334861f77a3ff9680e15a016ea16716372d6a 7920 libmaus2_2.0.813+ds-7_amd64.buildinfo
Checksums-Sha256:
 1fbc1cc31fd49ed3f6bf5c5070c53275d4e2f9bb2d876ee4ddc3d75b14d6ac5e 2260 libmaus2_2.0.813+ds-7.dsc
 09e68b2449eca841d6acea2ca5ca80e14fd4855ea866f4a7372a24367e314173 12672 libmaus2_2.0.813+ds-7.debian.tar.xz
 7d9dfd8c03f98da9d7511c0122b5aebcf461d829e04716096de39736e500bb5d 7920 libmaus2_2.0.813+ds-7_amd64.buildinfo
Files:
 9317f192c0170e7261bae1291e195247 2260 science optional libmaus2_2.0.813+ds-7.dsc
 0b663acf7810d32e9f1cdb9552361881 12672 science optional libmaus2_2.0.813+ds-7.debian.tar.xz
 81c84ba9f0df2be076ef1f30261f1953 7920 science optional libmaus2_2.0.813+ds-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmroRmARHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF0pA//Xpld1NhVEnl5YrebDJZWS/mNtgEh64XE
sNHpXhjUc5NR/uvf8MrE7NWm6ODtPDjDqQCGZa1Puwkngs9XrT/MLlwCZSjoZi6f
059AbuquEMnWQJsbjLOEN6JQUe6otM66yqLCa1UEoFSZOyBZf25JQaTj82H1SLNL
j4O33jmbsWW1J6LFGwE/8oEhLEYLuuPXkm8xtRKDOoRD3citFn+o9JRiWHgXWl9+
24OqnO9E0sYV8/SFrdWmTGbHOLXk7kIsGOXLdTP03Pv5gtgHv9XFJXK63/px59lN
KpV7eiIhUHC4RzZj5wAC9yhazRiIrsvKgPtv9sMdBO/J0dRVhdOGEZgzimxceJt6
tIi8sd9wAZRPyAbUTWH/BomwLsAr5JQLyMuMpW3Tb0uRB5pS4dapAHjSFHlZOpC4
MHrEpSMg7Rm5EUpSTB9e4IM/YAnNVuHycf5gX3jwaTDGE2FXYjahXn8lqTQlQp/A
ecZXE1Is4n6fLd0HWFeTO0uAXnvmNL1uHkfOYaTFs1nLPBmFFmEg1dcaw14oXye8
2XHzJm9q2U4UmK9ellVieN7sAttF6wc006waMw7a4D26y3xQMP7A1GBqIs3fnW3H
RRFl+WPeGAorQYgTP8MaNVv87HMF+q+8x8dZ1eFhkatGyZYIqxp+OFoCVKpjB6Yt
xyziUmyx7pU=
=fr3P
-----END PGP SIGNATURE-----