[Debian-med-packaging] Bug#957567: mrs: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:06:37 BST 2020
Package: src:mrs
Version: 6.0.5+dfsg-7
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/mrs_6.0.5+dfsg-7_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/streambuf:41,
from /usr/include/c++/10/bits/streambuf_iterator.h:35,
from /usr/include/c++/10/iterator:66,
from src/M6Tokenizer.cpp:11:
/usr/include/c++/10/bits/basic_string.h:6428:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
6428 | operator<<(basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/usr/include/c++/10/bits/basic_string.h:6428:5: note: template argument deduction/substitution failed:
src/M6Tokenizer.cpp:55:32: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char [16]’
55 | case eM6TokenDocNr: os << "document number"; break;
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/bits/ios_base.h:46,
from /usr/include/c++/10/streambuf:41,
from /usr/include/c++/10/bits/streambuf_iterator.h:35,
from /usr/include/c++/10/iterator:66,
from src/M6Tokenizer.cpp:11:
/usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
262 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
| ^~~~~~~~
/usr/include/c++/10/system_error:262:5: note: template argument deduction/substitution failed:
src/M6Tokenizer.cpp:55:32: note: cannot convert ‘"document number"’ (type ‘const char [16]’) to type ‘const std::error_code&’
55 | case eM6TokenDocNr: os << "document number"; break;
| ^~~~~~~~~~~~~~~~~
src/M6Tokenizer.cpp:56:27: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [4]’)
56 | case eM6TokenNOT: os << "NOT"; break;
| ~~ ^~ ~~~~~
| | |
| | const char [4]
| std::ostream {aka std::basic_ostream<char>}
src/M6Tokenizer.cpp:28:10: note: candidate: ‘std::ostream& operator<<(std::ostream&, M6Token)’
28 | ostream& operator<<(ostream& os, M6Token inToken)
| ^~~~~~~~
src/M6Tokenizer.cpp:28:42: note: no known conversion for argument 2 from ‘const char [4]’ to ‘M6Token’
28 | ostream& operator<<(ostream& os, M6Token inToken)
| ~~~~~~~~^~~~~~~
In file included from /usr/include/c++/10/string:55,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/streambuf:41,
from /usr/include/c++/10/bits/streambuf_iterator.h:35,
from /usr/include/c++/10/iterator:66,
from src/M6Tokenizer.cpp:11:
/usr/include/c++/10/bits/basic_string.h:6428:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
6428 | operator<<(basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/usr/include/c++/10/bits/basic_string.h:6428:5: note: template argument deduction/substitution failed:
src/M6Tokenizer.cpp:56:30: note: mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const char [4]’
56 | case eM6TokenNOT: os << "NOT"; break;
| ^~~~~
In file included from /usr/include/c++/10/bits/ios_base.h:46,
from /usr/include/c++/10/streambuf:41,
from /usr/include/c++/10/bits/streambuf_iterator.h:35,
from /usr/include/c++/10/iterator:66,
from src/M6Tokenizer.cpp:11:
/usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
262 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
| ^~~~~~~~
/usr/include/c++/10/system_error:262:5: note: template argument deduction/substitution failed:
src/M6Tokenizer.cpp:56:30: note: cannot convert ‘"NOT"’ (type ‘const char [4]’) to type ‘const std::error_code&’
56 | case eM6TokenNOT: os << "NOT"; break;
| ^~~~~
make[1]: *** [GNUmakefile:104: obj/M6Tokenizer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:12: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list