[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