[Debian-med-packaging] Bug#1143692: probabel: FTBFS: phedata.cpp:83:28: error: no match for 'operator>>' (operand types are 'std::stringstream' {aka 'std::__cxx11::basic_stringstream<char>'} and 'char*')

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


Package: src:probabel
Version: 0.5.0+dfsg-6
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:probabel, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: no obvious need to run autopoint
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc

[... snipped ...]

      • error: invalid conversion from ‘char*’ to ‘short int’ [-fpermissive]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(short int)tmp’ to ‘short int&’
    • candidate 3: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /usr/include/c++/16/istream:183:7:
        183 |       operator>>(unsigned short& __n)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘short unsigned int’ [-fpermissive]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(short unsigned int)tmp’ to ‘short unsigned int&’
    • candidate 4: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
      /usr/include/c++/16/istream:187:7:
        187 |       operator>>(int& __n);
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(int)tmp’ to ‘int&’
    • candidate 5: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /usr/include/c++/16/istream:190:7:
        190 |       operator>>(unsigned int& __n)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘unsigned int’ [-fpermissive]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(unsigned int)tmp’ to ‘unsigned int&’
    • candidate 6: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /usr/include/c++/16/istream:194:7:
        194 |       operator>>(long& __n)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘long int’ [-fpermissive]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(long int)tmp’ to ‘long int&’
    • candidate 7: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /usr/include/c++/16/istream:198:7:
        198 |       operator>>(unsigned long& __n)
            |       ^~~~~~~~
      • conversion of argument 1 would be ill-formed:
      • error: invalid conversion from ‘char*’ to ‘long unsigned int’ [-fpermissive]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(long unsigned int)tmp’ to ‘long unsigned int&’
    • candidate 8: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
      /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]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(long long int)tmp’ 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]
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
              |                           |
              |                           char*
      • error: cannot bind rvalue ‘(long long unsigned int)tmp’ 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*’
        phedata.cpp:247:27:
          247 |                 infile >> tmp;
              |                           ^~~
    • 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*’ 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*’ 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*’ 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*’ 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*’ 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*’ 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*’ 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*’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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 ‘infile’ (type ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’}) to type ‘std::byte’
          phedata.cpp:247:17:
            247 |                 infile >> tmp;
                |                 ^~~~~~
    • 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*’)
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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 ‘tmp’ (type ‘char*’) to type ‘unsigned char&’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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 ‘tmp’ (type ‘char*’) to type ‘signed char&’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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:
        •   mismatched types ‘_CharT [_Num]’ and ‘char*’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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 [_Num]’ and ‘char*’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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 [_Num]’ and ‘char*’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
    • 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:
        • /usr/include/c++/16/istream: In substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’:
        • required from here
          phedata.cpp:247:27:   
            247 |                 infile >> tmp;
                |                           ^~~
        • error: template constraint failure for ‘template<class _Is, class _Tp>  requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&&’
          /usr/include/c++/16/istream:1112:5:
           1112 |     operator>>(_Istream&& __is, _Tp&& __x)
                |     ^~~~~~~~
        • constraints not satisfied
          • /usr/include/c++/16/bits/ostream.h: In substitution of ‘template<class _Is, class _Tp>  requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&& [with _Is = std::basic_ifstream<char>&; _Tp = char*&]’:
          • required by substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’
            /usr/include/c++/16/istream:1112:5:   
          • required from here
            phedata.cpp:247:27:   
              247 |                 infile >> tmp;
                  |                           ^~~
          • required for the satisfaction of ‘__derived_from_ios_base<_Is>’ [with _Is = std::basic_ifstream<char, std::char_traits<char> >&]
            /usr/include/c++/16/bits/ostream.h:803:13:   
              803 |     concept __derived_from_ios_base = is_class_v<_Tp>
                  |             ^~~~~~~~~~~~~~~~~~~~~~~
          • the expression ‘is_class_v<_Tp> [with _Tp = std::basic_ifstream<char, std::char_traits<char> >&]’ evaluated to ‘false’
            /usr/include/c++/16/bits/ostream.h:803:39:
              803 |     concept __derived_from_ios_base = is_class_v<_Tp>
                  |                                       ^~~~~~~~~~~~~~~
          • ‘std::basic_ifstream<char>&’ is not a class
    • candidate 27: ‘template<class _Tp, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, complex<_Tp>&)’
      /usr/include/c++/16/complex:543:5:
        543 |     operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
            |     ^~~~~~~~
      • template argument deduction/substitution failed:
        •   mismatched types ‘std::complex<_Tp>’ and ‘char*’
          phedata.cpp:247:27:
            247 |                 infile >> tmp;
                |                           ^~~
make[3]: *** [Makefile:2087: palinear-phedata.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:1204: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:353: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Debian-med-packaging mailing list