[Pkg-games-ubuntu] [Bug 1661449] Re: assaultcube ftbfs in zesty

Launchpad Bug Tracker 1661449 at bugs.launchpad.net
Fri Feb 3 11:41:56 UTC 2017


This bug was fixed in the package assaultcube - 1.2.0.2+dfsg1-0ubuntu3

---------------
assaultcube (1.2.0.2+dfsg1-0ubuntu3) zesty; urgency=medium

  * d/p/0010-fix-some-errors-and-warnings-for-GCC6.patch: Cherry picked.
    - "Fix some errors and warnings for GCC 6" (LP: #1661449)

 -- Unit 193 <unit193 at ubuntu.com>  Thu, 02 Feb 2017 19:18:52 -0500

** Changed in: assaultcube (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to assaultcube in Ubuntu.
https://bugs.launchpad.net/bugs/1661449

Title:
  assaultcube ftbfs in zesty

Status in assaultcube package in Ubuntu:
  Fix Released

Bug description:
  assaultcube fails to build from souce:
  https://launchpad.net/ubuntu/+archive/test-
  rebuild-20161202/+build/11293091

  make[3]: Leaving directory '/<<BUILDDIR>>/assaultcube-1.2.0.2+dfsg1/source/enet'
  g++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/assaultcube-1.2.0.2+dfsg1=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -fsigned-char -rdynamic -I. -Ibot -I../enet/include -I/usr/include `sdl-config --cflags` -idirafter ../include -o cube.h.gch.tmp cube.h
  In file included from cube.h:8:0:
  tools.h: In function ‘float round(float)’:
  tools.h:58:34: error: ‘float round(float)’ conflicts with a previous declaration
   static inline float round(float x) { return floor(x + 0.5f); }
                                    ^
  In file included from /usr/include/c++/6/math.h:36:0,
                   from platform.h:9,
                   from cube.h:7:
  /usr/include/c++/6/cmath:1708:3: note: previous declaration ‘constexpr float std::round(float)’
     round(float __x)
     ^~~~~
  In file included from cube.h:69:0:
  protos.h: In member function ‘bool servercommandline::checkarg(const char*)’:
  protos.h:1032:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
                   else if(ai > 0) maxdemos = ai; break;
                   ^~~~
  protos.h:1032:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
                   else if(ai > 0) maxdemos = ai; break;
                                                  ^~~~~
  Makefile:132: recipe for target 'cube.h.gch' failed
  make[2]: *** [cube.h.gch] Error 1
  make[2]: Leaving directory '/<<BUILDDIR>>/assaultcube-1.2.0.2+dfsg1/source/src'
  dh_auto_build: make -j1 CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 CFLAGS=-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/assaultcube-1.2.0.2+dfsg1=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security CXXFLAGS=-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/assaultcube-1.2.0.2+dfsg1=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now returned exit code 2
  debian/rules:15: recipe for target 'override_dh_auto_build' failed
  make[1]: *** [override_dh_auto_build] Error 2
  make[1]: Leaving directory '/<<BUILDDIR>>/assaultcube-1.2.0.2+dfsg1'
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/assaultcube/+bug/1661449/+subscriptions



More information about the Pkg-games-ubuntu mailing list