Source: mysql-workbench
Version: 8.0.17+dfsg-1
Severity: serious
Tags: upstream
Justification: makes the package in question unusable or mostly so
User: debian-...@lists.debian.org
Usertags: gdal-3

Dear Maintainer,

Your package FTBFS during a rebuild test with GDAL 3 from experimental
in preparation for the transition.

 /build/mysql-workbench-8.0.17+dfsg/library/base/utf8string.cpp: In static 
member function 'static base::utf8string base::utf8string::strfmt(const char*, 
...)':
 /build/mysql-workbench-8.0.17+dfsg/library/base/utf8string.cpp:368:14: error: 
implicitly-declared 'base::utf8string& base::utf8string::operator=(const 
base::utf8string&)' is deprecated [-Werror=deprecated-copy]
   368 |     result = str;
       |              ^~~
 /build/mysql-workbench-8.0.17+dfsg/library/base/utf8string.cpp:215:3: note: 
because 'base::utf8string' has user-provided 
'base::utf8string::utf8string(const base::utf8string&)'
   215 |   utf8string::utf8string(const utf8string& s) : 
_inner_string(s.to_string()) {
       |   ^~~~~~~~~~
 /build/mysql-workbench-8.0.17+dfsg/library/base/utf8string.cpp: In member 
function 'std::vector<base::utf8string> base::utf8string::split(const 
base::utf8string&, int)':
 /build/mysql-workbench-8.0.17+dfsg/library/base/utf8string.cpp:399:36: error: 
implicitly-declared 'base::utf8string& base::utf8string::operator=(const 
base::utf8string&)' is deprecated [-Werror=deprecated-copy]
   399 |       ss = ss.substr(p + sep.size());
       |                                    ^
 /build/mysql-workbench-8.0.17+dfsg/library/base/utf8string.cpp:215:3: note: 
because 'base::utf8string' has user-provided 
'base::utf8string::utf8string(const base::utf8string&)'
   215 |   utf8string::utf8string(const utf8string& s) : 
_inner_string(s.to_string()) {
       |   ^~~~~~~~~~

This seems to be caused by the new defaults in gcc-9.

Consider adding -Wno-error=deprecated-copy until upstream fixes the
issue. Or perhaps remove -Werror entirely to not get these FTBFS issues
everytime gcc is updated.

Kind Regards,

Bas

Reply via email to