[Debian-med-packaging] Bug#1143666: jellyfish1: FTBFS: jellyfish/query_main.cc:38:28: error: no match for 'operator>>' (operand types are 'std::basic_istream<char>' and 'char [(width + 1)]')

Santiago Vila sanvila at debian.org
Wed Aug 5 12:24:09 BST 2026


Package: src:jellyfish1
Version: 1.1.11-10
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:jellyfish1, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
if [ -d debian/tmp_save_tests ] ; then \
    mv debian/tmp_save_tests/* tests ; \
    rmdir debian/tmp_save_tests ; \
fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: export WARNINGS=

[... snipped ...]

      /usr/include/c++/16/istream:205:7:
        205 |       operator>>(long long& __n)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘long long int’ [-fpermissive]
        jellyfish/query_main.cc:38:31:
           38 |     in >> std::setw(width) >> mer;
              |                               ^~~
              |                               |
              |                               char*
      • error: cannot bind rvalue ‘(long long int)((char*)(& mer))’ to ‘long long int&’
    • candidate 9: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /usr/include/c++/16/istream:209:7:
        209 |       operator>>(unsigned long long& __n)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘long long unsigned int’ [-fpermissive]
        jellyfish/query_main.cc:38:31:
           38 |     in >> std::setw(width) >> mer;
              |                               ^~~
              |                               |
              |                               char*
      • error: cannot bind rvalue ‘(long long unsigned int)((char*)(& mer))’ to ‘long long unsigned int&’
    • candidate 10: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /usr/include/c++/16/istream:334:7:
        334 |       operator>>(void*& __p)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: cannot bind non-const lvalue reference of type ‘void*&’ to an rvalue of type ‘void*’
        jellyfish/query_main.cc:38:31:
           38 |     in >> std::setw(width) >> mer;
              |                               ^~~
    • candidate 11: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
      /usr/include/c++/16/istream:225:7:
        225 |       operator>>(float& __f)
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘float&’
        /usr/include/c++/16/istream:225:25:
          225 |       operator>>(float& __f)
              |                  ~~~~~~~^~~
    • candidate 12: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
      /usr/include/c++/16/istream:229:7:
        229 |       operator>>(double& __f)
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘double&’
        /usr/include/c++/16/istream:229:26:
          229 |       operator>>(double& __f)
              |                  ~~~~~~~~^~~
    • candidate 13: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
      /usr/include/c++/16/istream:233:7:
        233 |       operator>>(long double& __f)
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘long double&’
        /usr/include/c++/16/istream:233:31:
          233 |       operator>>(long double& __f)
              |                  ~~~~~~~~~~~~~^~~
    • candidate 14: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__istream_type& (*)(__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
      /usr/include/c++/16/istream:128:7:
        128 |       operator>>(__istream_type& (*__pf)(__istream_type&))
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&)’ {aka ‘std::basic_istream<char>& (*)(std::basic_istream<char>&)’}
        /usr/include/c++/16/istream:128:36:
          128 |       operator>>(__istream_type& (*__pf)(__istream_type&))
              |                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
    • candidate 15: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __ios_type = std::basic_ios<char>]’
      /usr/include/c++/16/istream:132:7:
        132 |       operator>>(__ios_type& (*__pf)(__ios_type&))
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&)’ {aka ‘std::basic_ios<char>& (*)(std::basic_ios<char>&)’}
        /usr/include/c++/16/istream:132:32:
          132 |       operator>>(__ios_type& (*__pf)(__ios_type&))
              |                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
    • candidate 16: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
      /usr/include/c++/16/istream:139:7:
        139 |       operator>>(ios_base& (*__pf)(ios_base&))
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘std::ios_base& (*)(std::ios_base&)’
        /usr/include/c++/16/istream:139:30:
          139 |       operator>>(ios_base& (*__pf)(ios_base&))
              |                  ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
    • candidate 17: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]’
      /usr/include/c++/16/istream:358:7:
        358 |       operator>>(__streambuf_type* __sb);
            |       ^~~~~~~~
      • no known conversion for argument 1 from ‘char [(width + 1)]’ to ‘std::basic_istream<char>::__streambuf_type*’ {aka ‘std::basic_streambuf<char>*’}
        /usr/include/c++/16/istream:358:36:
          358 |       operator>>(__streambuf_type* __sb);
              |                  ~~~~~~~~~~~~~~~~~~^~~~
    • candidate 18: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
      /usr/include/c++/16/bits/basic_string.tcc:898:5:
        898 |     operator>>(basic_istream<_CharT, _Traits>& __in,
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char [(width + 1)]’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 19: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)’
      /usr/include/c++/16/cstddef:136:5:
        136 |     operator>>(byte __b, _IntegerType __shift) noexcept
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘std::operator>><char, char_traits<char> >((* & in), std::setw(((int)width)))’ (type ‘std::basic_istream<char>’) to type ‘std::byte’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 20: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)’
      /usr/include/c++/16/bits/istream.tcc:983:5:
        983 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘char [(width + 1)]’)
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 21: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)’
      /usr/include/c++/16/istream:862:5:
        862 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘unsigned char&’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 22: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)’
      /usr/include/c++/16/istream:867:5:
        867 |     operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘signed char&’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 23: ‘template<class _CharT, class _Traits, long unsigned int _Num> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT (&)[_Num])’
      /usr/include/c++/16/istream:965:5:
        965 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT (&__s)[_Num])
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   variable-sized array type ‘long int’ is not a valid template argument
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 24: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char (&)[_Num])’
      /usr/include/c++/16/istream:974:5:
        974 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char (&__s)[_Num])
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘unsigned char’ and ‘char’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 25: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char (&)[_Num])’
      /usr/include/c++/16/istream:979:5:
        979 |     operator>>(basic_istream<char, _Traits>& __in, signed char (&__s)[_Num])
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘signed char’ and ‘char’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 26: ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)’
      /usr/include/c++/16/istream:1112:5:
       1112 |     operator>>(_Istream&& __is, _Tp&& __x)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   variable-sized array type ‘char (&)[(width + 1)]’ is not a valid template argument
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 27: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Resetiosflags)’
      /usr/include/c++/16/iomanip:81:5:
         81 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘std::_Resetiosflags’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 28: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setiosflags)’
      /usr/include/c++/16/iomanip:111:5:
        111 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘std::_Setiosflags’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 29: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setbase)’
      /usr/include/c++/16/iomanip:142:5:
        142 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘std::_Setbase’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 30: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setfill<_CharT>)’
      /usr/include/c++/16/iomanip:182:5:
        182 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘std::_Setfill<_CharT>’ and ‘char*’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 31: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setprecision)’
      /usr/include/c++/16/iomanip:212:5:
        212 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘std::_Setprecision’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 32: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Setw)’
      /usr/include/c++/16/iomanip:242:5:
        242 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   cannot convert ‘mer’ (type ‘char [(width + 1)]’) to type ‘std::_Setw’
          jellyfish/query_main.cc:38:31:
             38 |     in >> std::setw(width) >> mer;
                |                               ^~~
    • candidate 33: ‘template<class _CharT, class _Traits, class _MoneyT> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Get_money<_MoneyT>)’
      /usr/include/c++/16/iomanip:276:5:
        276 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘std::_Get_money<_MoneyT>’ and ‘char*’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    • candidate 34: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _Get_time<_CharT>)’
      /usr/include/c++/16/iomanip:430:5:
        430 |     operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘std::_Get_time<_CharT>’ and ‘char*’
          jellyfish/query_main.cc:38:28:
             38 |     in >> std::setw(width) >> mer;
                |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
./jellyfish/err.hpp: In instantiation of ‘err::raise_t<err_t>::~raise_t() [with err_t = jellyfish::simple_growing_array<char>::SimpleGrowingArrayError]’:
./jellyfish/simple_growing_array.hpp:55:9:   required from ‘void jellyfish::simple_growing_array<T>::resize() [with T = char]’
  139 | #define eraise(e) if(1) err::raise_t<e>()
      |                              ^~~~~~~~~~~~
./jellyfish/simple_growing_array.hpp:27:53:   required from ‘jellyfish::simple_growing_array<T>::simple_growing_array(size_t) [with T = char; size_t = long unsigned int]’
   27 |       _capacity(capacity / 2), _size(0), _data(0) { resize(); }
      |                                                     ^~~~~~
./jellyfish/seq_qual_parser.hpp:53:41:   required from here
   53 |       seq_qual_parser(fd, path, str, len) {}
      |                                         ^
./jellyfish/err.hpp:123:18: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  123 |     ~raise_t() { throw err_t(oss.str()); }
      |                  ^~~~~~~~~~~~~~~~~~~~~~
./jellyfish/err.hpp:123:18: note: in C++11 destructors default to ‘noexcept’
./jellyfish/err.hpp: In instantiation of ‘err::raise_t<err_t>::~raise_t() [with err_t = jellyfish::raw_hash::ErrorReading]’:
./jellyfish/raw_dumper.hpp:169:11:   required from ‘static jellyfish::raw_hash::query<_storage_t>::storage_t* jellyfish::raw_hash::query<_storage_t>::init(mapped_file&, SquareBinaryMatrix&, SquareBinaryMatrix&) [with _storage_t = jellyfish::invertible_hash::array<long unsigned int, atomic::gcc, allocators::mmap>; storage_t = jellyfish::invertible_hash::array<long unsigned int, atomic::gcc, allocators::mmap>]’
  139 | #define eraise(e) if(1) err::raise_t<e>()
      |                              ^~~~~~~~~~~~
./jellyfish/raw_dumper.hpp:98:20:   required from ‘jellyfish::raw_hash::query<_storage_t>::query(mapped_file&) [with _storage_t = jellyfish::invertible_hash::array<long unsigned int, atomic::gcc, allocators::mmap>]’
   98 |         _ary = init(_file, hash_matrix, hash_inverse_matrix);
      |                ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jellyfish/query_main.cc:63:34:   required from here
   63 |     raw_inv_hash_query_t hash(dbf);
      |                                  ^
./jellyfish/err.hpp:123:18: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  123 |     ~raise_t() { throw err_t(oss.str()); }
      |                  ^~~~~~~~~~~~~~~~~~~~~~
./jellyfish/err.hpp:123:18: note: in C++11 destructors default to ‘noexcept’
make[3]: *** [Makefile:1222: jellyfish/query_main.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:872: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 all bin/generate_sequence bin/test_all returned exit code 2
make[1]: *** [debian/rules:22: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Debian-med-packaging mailing list