Debian Bug report logs - #667123
btanks: ftbfs with GCC-4.7

version graph

Package: btanks; Maintainer for btanks is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for btanks is src:btanks (PTS, buildd, popcon).

Reported by: Matthias Klose <doko@debian.org>

Date: Tue, 3 Apr 2012 23:10:54 UTC

Severity: serious

Tags: patch, sid, wheezy

Found in version btanks/0.9.8083-3

Fixed in version btanks/0.9.8083-3.1

Done: Matthias Klose <doko@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667123; Package btanks. (Tue, 03 Apr 2012 23:10:57 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Tue, 03 Apr 2012 23:10:57 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: btanks: ftbfs with GCC-4.7
Date: Tue, 03 Apr 2012 23:08:06 +0000
Package: btanks
Version: 0.9.8083-3
Severity: important
Tags: sid wheezy
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

engine/sl08/sl08.h:449:105: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/btanks_0.9.8083-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
editor/editor.cpp:379:93:   required from here
engine/sl08/sl08.h:974:105: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:974:105: note: declarations in dependent base 'sl08::base_slot5<bool, const int, const int, const int, const int, const int>' are not found by unqualified lookup
engine/sl08/sl08.h:974:105: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot1<void, arg1_type, object_type>::assign(object_type*, sl08::slot1<void, arg1_type, object_type>::func_t, sl08::slot1<void, arg1_type, object_type>::signal_type&) [with arg1_type = const SDL_Event&; object_type = Editor; sl08::slot1<void, arg1_type, object_type>::func_t = void (Editor::*)(const SDL_Event&); sl08::slot1<void, arg1_type, object_type>::signal_type = sl08::base_signal1<void, const SDL_Event&>]':
editor/editor.cpp:380:67:   required from here
engine/sl08/sl08.h:295:98: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:295:98: note: declarations in dependent base 'sl08::base_slot1<void, const SDL_Event&>' are not found by unqualified lookup
engine/sl08/sl08.h:295:98: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot1<void, arg1_type, object_type>::assign(object_type*, sl08::slot1<void, arg1_type, object_type>::func_t, sl08::slot1<void, arg1_type, object_type>::signal_type&) [with arg1_type = const int; object_type = Editor; sl08::slot1<void, arg1_type, object_type>::func_t = void (Editor::*)(int); sl08::slot1<void, arg1_type, object_type>::signal_type = sl08::base_signal1<void, const int>]':
editor/editor.cpp:382:71:   required from here
engine/sl08/sl08.h:295:98: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:295:98: note: declarations in dependent base 'sl08::base_slot1<void, const int>' are not found by unqualified lookup
engine/sl08/sl08.h:295:98: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot2<void, arg1_type, arg2_type, object_type>::assign(object_type*, sl08::slot2<void, arg1_type, arg2_type, object_type>::func_t, sl08::slot2<void, arg1_type, arg2_type, object_type>::signal_type&) [with arg1_type = const int; arg2_type = const char*; object_type = Editor; sl08::slot2<void, arg1_type, arg2_type, object_type>::func_t = void (Editor::*)(int, const char*); sl08::slot2<void, arg1_type, arg2_type, object_type>::signal_type = sl08::base_signal2<void, const int, const char*>]':
editor/editor.cpp:383:74:   required from here
engine/sl08/sl08.h:470:98: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:470:98: note: declarations in dependent base 'sl08::base_slot2<void, const int, const char*>' are not found by unqualified lookup
engine/sl08/sl08.h:470:98: note: use 'this->connect' instead
engine/sl08/sl08.h: In instantiation of 'void sl08::slot1<return_type, arg1_type, object_type>::assign(object_type*, sl08::slot1<return_type, arg1_type, object_type>::func_t, sl08::slot1<return_type, arg1_type, object_type>::signal_type&) [with return_type = bool; arg1_type = float; object_type = Editor; sl08::slot1<return_type, arg1_type, object_type>::func_t = bool (Editor::*)(float); sl08::slot1<return_type, arg1_type, object_type>::signal_type = sl08::base_signal1<bool, float>]':
editor/editor.cpp:388:64:   required from here
engine/sl08/sl08.h:274:105: error: 'connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
engine/sl08/sl08.h:274:105: note: declarations in dependent base 'sl08::base_slot1<bool, float>' are not found by unqualified lookup
engine/sl08/sl08.h:274:105: note: use 'this->connect' instead
scons: *** [build/release/editor/editor.o] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2




Added tag(s) pending. Request was from Vincent Legout <vlegout@debian.org> to control@bugs.debian.org. (Sun, 29 Apr 2012 15:33:08 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Mon, 07 May 2012 16:52:53 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#667123; Package btanks. (Wed, 30 May 2012 05:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Wed, 30 May 2012 05:21:03 GMT) (full text, mbox, link).


Message #14 received at 667123@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: 667123@bugs.debian.org
Subject: add patch, and upload NMU
Date: Wed, 30 May 2012 13:18:50 +0800
[Message part 1 (text/plain, inline)]
tags 667123 + patch
thanks

marked as pending on Sun, 29 Apr 2012, now uploading the attached patch.
[btanks.debdiff (text/plain, attachment)]

Added tag(s) patch. Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Wed, 30 May 2012 05:21:06 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility. (Wed, 30 May 2012 05:33:08 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Wed, 30 May 2012 05:33:08 GMT) (full text, mbox, link).


Message #21 received at 667123-close@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: 667123-close@bugs.debian.org
Subject: Bug#667123: fixed in btanks 0.9.8083-3.1
Date: Wed, 30 May 2012 05:32:14 +0000
Source: btanks
Source-Version: 0.9.8083-3.1

We believe that the bug you reported is fixed in the latest version of
btanks, which is due to be installed in the Debian FTP archive:

btanks-data_0.9.8083-3.1_all.deb
  to main/b/btanks/btanks-data_0.9.8083-3.1_all.deb
btanks_0.9.8083-3.1.debian.tar.gz
  to main/b/btanks/btanks_0.9.8083-3.1.debian.tar.gz
btanks_0.9.8083-3.1.dsc
  to main/b/btanks/btanks_0.9.8083-3.1.dsc
btanks_0.9.8083-3.1_amd64.deb
  to main/b/btanks/btanks_0.9.8083-3.1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 667123@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated btanks package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 30 May 2012 04:35:06 +0000
Source: btanks
Binary: btanks btanks-data
Architecture: source amd64 all
Version: 0.9.8083-3.1
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 btanks     - fast 2D tank arcade game with multiplayer and split-screen modes
 btanks-data - fast 2D tank arcade game -- data
Closes: 667123
Changes: 
 btanks (0.9.8083-3.1) unstable; urgency=low
 .
   * Non maintainer upload.
   * Fix build failure with GCC 4.7. Closes: #667123.
Checksums-Sha1: 
 943ba047322b5f2eadb180bb3b289475ba63c3e8 1666 btanks_0.9.8083-3.1.dsc
 901e67cd0cf91a7296de6dcf722ffa3d69899346 44333 btanks_0.9.8083-3.1.debian.tar.gz
 13d45bbc5bcf11822cb4b19e917fb8a06dcc1560 2898846 btanks_0.9.8083-3.1_amd64.deb
 0580de276f977357070b210f0fc8d770ada797a9 26815512 btanks-data_0.9.8083-3.1_all.deb
Checksums-Sha256: 
 02ccca61eee1f35e7ce2e9bc7c7b2ac2e89e83f790a757211673cb860b15cf1f 1666 btanks_0.9.8083-3.1.dsc
 8c45349e258d55993c614243b87c5cb5ce662a0a01732d4ca66c90137054efc4 44333 btanks_0.9.8083-3.1.debian.tar.gz
 1832ce0a328268f437415fad95b3efef79bb4be0346f05c833fe5b21621f4eb2 2898846 btanks_0.9.8083-3.1_amd64.deb
 b91ede60b10955b828fbd4dc6f2360443b7536803aced2d79685be8f87e634e0 26815512 btanks-data_0.9.8083-3.1_all.deb
Files: 
 6f0f4727b614eb463fad278693d720fd 1666 games extra btanks_0.9.8083-3.1.dsc
 db01525c5a4c6121411bfe7a3d6eba2c 44333 games extra btanks_0.9.8083-3.1.debian.tar.gz
 4ea930ae135c859846763775b2f5c76b 2898846 games extra btanks_0.9.8083-3.1_amd64.deb
 d2ace2f8f242ea9dcd37641edef7efe8 26815512 games extra btanks-data_0.9.8083-3.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk/Fq7QACgkQStlRaw+TLJy12QCfXp8SAc2m7tOfmsHlqaQXq97U
S8EAnRpXHbrAQx5x1IJPtupZRXDy4eWX
=2bTz
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 28 Jun 2012 07:37:59 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 15:24:02 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.