[Debian-med-packaging] Bug#984080: lamarc: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:13:53 GMT 2021


Package: src:lamarc
Version: 2.1.10.1+dfsg-5
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/lamarc_2.1.10.1+dfsg-5_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:714:5: note: in expansion of macro ‘_WX_DECLARE_HASH_MAP’
  714 |     _WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h:24:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
   24 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:626:20: note: because ‘wxStringEqual’ has user-provided ‘wxStringEqual& wxStringEqual::operator=(const wxStringEqual&)’
  626 |     wxStringEqual& operator=(const wxStringEqual&) { return *this; }
      |                    ^~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:255:11: warning: implicitly-declared ‘constexpr wxShadowObjectFields_wxImplementation_KeyEx::wxShadowObjectFields_wxImplementation_KeyEx(const wxShadowObjectFields_wxImplementation_KeyEx&)’ is deprecated [-Wdeprecated-copy]
  255 |           m_getKey( ht.m_getKey ) \
      |           ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:638:1: note: in expansion of macro ‘_WX_DECLARE_HASHTABLE’
  638 | _WX_DECLARE_HASHTABLE( CLASSNAME##_wxImplementation_Pair, KEY_T, HASH_T, \
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:714:5: note: in expansion of macro ‘_WX_DECLARE_HASH_MAP’
  714 |     _WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h:24:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
   24 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:461:16: note: because ‘wxShadowObjectFields_wxImplementation_KeyEx’ has user-provided ‘wxShadowObjectFields_wxImplementation_KeyEx& wxShadowObjectFields_wxImplementation_KeyEx::operator=(const wxShadowObjectFields_wxImplementation_KeyEx&)’
  461 |     CLASSNAME& operator=(const CLASSNAME&) { return *this; } \
      |                ^~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:637:1: note: in expansion of macro ‘_WX_DECLARE_HASH_MAP_KEY_EX’
  637 | _WX_DECLARE_HASH_MAP_KEY_EX( KEY_T, CLASSNAME##_wxImplementation_Pair, CLASSNAME##_wxImplementation_KeyEx, CLASSEXP ) \
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:714:5: note: in expansion of macro ‘_WX_DECLARE_HASH_MAP’
  714 |     _WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h:24:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
   24 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::hasher wxShadowObjectFields_wxImplementation_HashTable::hash_funct()’:
/usr/include/wx-3.0/wx/hashmap.h:281:34: warning: implicitly-declared ‘constexpr wxStringHash::wxStringHash(const wxStringHash&)’ is deprecated [-Wdeprecated-copy]
  281 |     hasher hash_funct() { return m_hasher; } \
      |                                  ^~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:638:1: note: in expansion of macro ‘_WX_DECLARE_HASHTABLE’
  638 | _WX_DECLARE_HASHTABLE( CLASSNAME##_wxImplementation_Pair, KEY_T, HASH_T, \
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:714:5: note: in expansion of macro ‘_WX_DECLARE_HASH_MAP’
  714 |     _WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h:24:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
   24 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:611:19: note: because ‘wxStringHash’ has user-provided ‘wxStringHash& wxStringHash::operator=(const wxStringHash&)’
  611 |     wxStringHash& operator=(const wxStringHash&) { return *this; }
      |                   ^~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::key_equal wxShadowObjectFields_wxImplementation_HashTable::key_eq()’:
/usr/include/wx-3.0/wx/hashmap.h:282:33: warning: implicitly-declared ‘constexpr wxStringEqual::wxStringEqual(const wxStringEqual&)’ is deprecated [-Wdeprecated-copy]
  282 |     key_equal key_eq() { return m_equals; } \
      |                                 ^~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:638:1: note: in expansion of macro ‘_WX_DECLARE_HASHTABLE’
  638 | _WX_DECLARE_HASHTABLE( CLASSNAME##_wxImplementation_Pair, KEY_T, HASH_T, \
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:714:5: note: in expansion of macro ‘_WX_DECLARE_HASH_MAP’
  714 |     _WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/clntdata.h:24:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
   24 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:626:20: note: because ‘wxStringEqual’ has user-provided ‘wxStringEqual& wxStringEqual::operator=(const wxStringEqual&)’
  626 |     wxStringEqual& operator=(const wxStringEqual&) { return *this; }
      |                    ^~~~~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list