Bug#957835: springlobby: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:28 BST 2020


Package: src:springlobby
Version: 0.269-1
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/springlobby_0.269-1_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

[...]
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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:33: warning: implicitly-declared ‘constexpr wxStringToNumHashMap_wxImplementation_KeyEx::wxStringToNumHashMap_wxImplementation_KeyEx(const wxStringToNumHashMap_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/hashmap.h:752:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
  752 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxUIntPtr, wxStringToNumHashMap,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:461:16: note: because ‘wxStringToNumHashMap_wxImplementation_KeyEx’ has user-provided ‘wxStringToNumHashMap_wxImplementation_KeyEx& wxStringToNumHashMap_wxImplementation_KeyEx::operator=(const wxStringToNumHashMap_wxImplementation_KeyEx&)’
  461 |     CLASSNAME& operator=(const CLASSNAME&) { return *this; } \
      |                ^~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h:461:16: note: in definition of macro ‘_WX_DECLARE_HASH_MAP_KEY_EX’
  461 |     CLASSNAME& operator=(const CLASSNAME&) { return *this; } \
      |                ^~~~~~~~
/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/hashmap.h:752:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
  752 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxUIntPtr, wxStringToNumHashMap,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/hashmap.h: In member function ‘wxStringToNumHashMap_wxImplementation_HashTable::hasher wxStringToNumHashMap_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:281:34: note: in definition of macro ‘_WX_DECLARE_HASHTABLE’
  281 |     hasher hash_funct() { return m_hasher; } \
      |                                  ^~~~~~~~
/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/hashmap.h:752:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
  752 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxUIntPtr, wxStringToNumHashMap,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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/hashmap.h: In member function ‘wxStringToNumHashMap_wxImplementation_HashTable::key_equal wxStringToNumHashMap_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:282:33: note: in definition of macro ‘_WX_DECLARE_HASHTABLE’
  282 |     key_equal key_eq() { return m_equals; } \
      |                                 ^~~~~~~~
/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/hashmap.h:752:1: note: in expansion of macro ‘WX_DECLARE_STRING_HASH_MAP_WITH_DECL’
  752 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxUIntPtr, wxStringToNumHashMap,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:654: src/CMakeFiles/springlobby.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:155: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-games-devel mailing list