Bug#853366: darkradiant: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:30:39 UTC 2017


Package: src:darkradiant
Version: 2.1.0-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/darkradiant_2.1.0-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

[...]
                                                          ^
ce/SpecifierEditCombo.cpp:16:1: error: prototype for 'objectives::ce::SpecifierEditCombo::SpecifierEditCombo(wxWindow*, const std::function<void()>&, const SpecifierTypeSet&)' does not match any in class 'objectives::ce::SpecifierEditCombo'
 SpecifierEditCombo::SpecifierEditCombo(wxWindow* parent,
 ^~~~~~~~~~~~~~~~~~
In file included from ce/SpecifierEditCombo.cpp:1:0:
ce/SpecifierEditCombo.h:30:7: error: candidates are: objectives::ce::SpecifierEditCombo::SpecifierEditCombo(objectives::ce::SpecifierEditCombo&&)
 class SpecifierEditCombo :
       ^~~~~~~~~~~~~~~~~~
ce/SpecifierEditCombo.h:30:7: error:                 objectives::ce::SpecifierEditCombo::SpecifierEditCombo(const objectives::ce::SpecifierEditCombo&)
ce/SpecifierEditCombo.h:67:2: error:                 objectives::ce::SpecifierEditCombo::SpecifierEditCombo(wxWindow*, int)
  SpecifierEditCombo(wxWindow* parent, const std::function<void()>& valueChanged,
  ^~~~~~~~~~~~~~~~~~
ce/SpecifierEditCombo.cpp: In member function 'void objectives::ce::SpecifierEditCombo::setSpecifier(objectives::SpecifierPtr)':
ce/SpecifierEditCombo.cpp:55:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!spec)
     ^~
ce/SpecifierEditCombo.cpp:60:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  wxutil::ChoiceHelper::SelectItemByStoredId(_specifierCombo, spec->getType().getId());
  ^~~~~~
ce/SpecifierEditCombo.cpp: In member function 'void objectives::ce::SpecifierEditCombo::createSpecifierPanel(const string&)':
ce/SpecifierEditCombo.cpp:101:34: error: '_valueChanged' was not declared in this scope
   _specPanel->setChangedCallback(_valueChanged);
                                  ^~~~~~~~~~~~~
ce/SpecifierEditCombo.cpp:101:34: note: suggested alternative: '_onChange'
   _specPanel->setChangedCallback(_valueChanged);
                                  ^~~~~~~~~~~~~
                                  _onChange
ce/SpecifierEditCombo.cpp:107:2: error: '_valueChanged' was not declared in this scope
  _valueChanged();
  ^~~~~~~~~~~~~
ce/SpecifierEditCombo.cpp:107:2: note: suggested alternative: '_onChange'
  _valueChanged();
  ^~~~~~~~~~~~~
  _onChange
Makefile:708: recipe for target 'ce/SpecifierEditCombo.lo' failed
make[4]: *** [ce/SpecifierEditCombo.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/plugins/dm.objectives'
Makefile:447: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/plugins'
Makefile:753: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:494: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:17: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-games-devel mailing list