Debian Bug report logs - #667121
brutalchess: ftbfs with GCC-4.7

version graph

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

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

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

Severity: important

Tags: sid, wheezy

Found in version brutalchess/0.5.2+dfsg-3

Fixed in version brutalchess/0.5.2+dfsg-4

Done: Vincent Legout <vlegout@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#667121; Package brutalchess. (Tue, 03 Apr 2012 23:10:50 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:50 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: brutalchess: ftbfs with GCC-4.7
Date: Tue, 03 Apr 2012 23:08:04 +0000
Package: brutalchess
Version: 0.5.2+dfsg-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.

faileplayer.cpp:27:28: error: 'write' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/brutalchess_0.5.2+dfsg-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.

[...]
piece.h:62:8: warning: 'Piece::m_color' will be initialized after [-Wreorder]
piece.h:60:7: warning:   'Piece::Type Piece::m_type' [-Wreorder]
piece.h:36:2: warning:   when initialized here [-Wreorder]
faileplayer.cpp: In destructor 'virtual FailePlayer::~FailePlayer()':
faileplayer.cpp:27:28: error: 'write' was not declared in this scope
faileplayer.cpp: In member function 'virtual void FailePlayer::startGame()':
faileplayer.cpp:42:27: error: 'write' was not declared in this scope
faileplayer.cpp: In member function 'void FailePlayer::runChessEngine()':
faileplayer.cpp:48:13: error: 'pipe' was not declared in this scope
faileplayer.cpp:51:11: error: 'fork' was not declared in this scope
faileplayer.cpp:53:12: error: 'nice' was not declared in this scope
faileplayer.cpp:54:20: error: 'dup2' was not declared in this scope
faileplayer.cpp:56:18: error: 'close' was not declared in this scope
faileplayer.cpp:59:27: error: 'execvp' was not declared in this scope
faileplayer.cpp:62:31: error: 'write' was not declared in this scope
faileplayer.cpp: In member function 'virtual void FailePlayer::think(const ChessGameState&)':
faileplayer.cpp:76:34: error: 'read' was not declared in this scope
faileplayer.cpp: In member function 'virtual void FailePlayer::opponentMove(const BoardMove&, const ChessGameState&)':
faileplayer.cpp:131:36: error: 'write' was not declared in this scope
faileplayer.cpp: In member function 'virtual void FailePlayer::undoMove()':
faileplayer.cpp:137:32: error: 'write' was not declared in this scope
In file included from faileplayer.cpp:10:0:
board.h: At global scope:
board.h:248:12: warning: 'pow2' defined but not used [-Wunused-variable]
make[3]: *** [faileplayer.o] Error 1
make[3]: Leaving directory `/«BUILDDIR»/brutalchess-0.5.2+dfsg/src'
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2




Added tag(s) pending. Request was from Vincent Legout <vlegout@debian.org> to control@bugs.debian.org. (Wed, 04 Apr 2012 19:24:13 GMT) (full text, mbox, link).


Reply sent to Vincent Legout <vlegout@debian.org>:
You have taken responsibility. (Sun, 15 Apr 2012 10:03:54 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Sun, 15 Apr 2012 10:03:59 GMT) (full text, mbox, link).


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

From: Vincent Legout <vlegout@debian.org>
To: 667121-close@bugs.debian.org
Subject: Bug#667121: fixed in brutalchess 0.5.2+dfsg-4
Date: Sun, 15 Apr 2012 10:02:12 +0000
Source: brutalchess
Source-Version: 0.5.2+dfsg-4

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

brutalchess_0.5.2+dfsg-4.debian.tar.gz
  to main/b/brutalchess/brutalchess_0.5.2+dfsg-4.debian.tar.gz
brutalchess_0.5.2+dfsg-4.dsc
  to main/b/brutalchess/brutalchess_0.5.2+dfsg-4.dsc
brutalchess_0.5.2+dfsg-4_amd64.deb
  to main/b/brutalchess/brutalchess_0.5.2+dfsg-4_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 667121@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Legout <vlegout@debian.org> (supplier of updated brutalchess 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: SHA256

Format: 1.8
Date: Sun, 15 Apr 2012 11:29:50 +0200
Source: brutalchess
Binary: brutalchess
Architecture: source amd64
Version: 0.5.2+dfsg-4
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Vincent Legout <vlegout@debian.org>
Description: 
 brutalchess - 3D chess game with reflection of the chessmen
Closes: 667121
Changes: 
 brutalchess (0.5.2+dfsg-4) unstable; urgency=low
 .
   [ Iain Lane ]
   * debian/watch: Mangle version correctly
 .
   [ Vincent Legout ]
   * Fix ftbfs with gcc-4.7, add patches/06_gcc-4.7.patch (Closes: #667121)
   * debhelper 9 (debian/compat, debhelper Build-Depends)
   * debian/control:
     - Drop quilt, automake1.9 and libtool in Build-Depends. Add dh-autoreconf.
     - Add myself as uploader
     - Fix Vcs-Browser field
     - Update short and long descriptions
     - Standards-Version 3.9.3
   * debian/dirs: Drop, not needed.
   * Use 3.0 (quilt) source format (Add debian/source/format).
   * debian/rules: Use dh()
     - Enable hardening build flags
     - Add debian/brutalchess.install
   * debian/copyright: Explicitly refer to GPL-2
Checksums-Sha1: 
 b60b9a235e97e000b8981e8d424d6e6e5b0b6a83 2129 brutalchess_0.5.2+dfsg-4.dsc
 ccda16eb89335fe45a38cadbed4f152bd878feab 6494 brutalchess_0.5.2+dfsg-4.debian.tar.gz
 d58f9db8e05c4f1e325477e23154c36011275486 753582 brutalchess_0.5.2+dfsg-4_amd64.deb
Checksums-Sha256: 
 8daa479fefff6b5bd8a112d15da21f113d1e917d3036f6371e44a7357dcf9940 2129 brutalchess_0.5.2+dfsg-4.dsc
 b4437ffcb0cc0a6e15e176d32d618064a3196a1bda730173656b598a3e100aeb 6494 brutalchess_0.5.2+dfsg-4.debian.tar.gz
 4e09a0d177c22f5d954b651d304a1e50b55cfd262ec8097236a529fed6e8efc2 753582 brutalchess_0.5.2+dfsg-4_amd64.deb
Files: 
 d0d15214e9659a38026aef809727e31c 2129 games optional brutalchess_0.5.2+dfsg-4.dsc
 a9ff782f1e90de84cbcea4146163f3c7 6494 games optional brutalchess_0.5.2+dfsg-4.debian.tar.gz
 39fc911bb9ca554ffc7c9513dc3bc71f 753582 games optional brutalchess_0.5.2+dfsg-4_amd64.deb

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

iQIcBAEBCAAGBQJPipbVAAoJEGWYeJBYoj3p0PoP/RlTiW0zBxnp1RIkG2BVqL7H
tWcN2IxtwcTv2juJnB+3A3VZr/FDeEbFFtI0ehEXITA6R7WkWdCAg4Tv74Ome8gq
utVoKkcGJwLgu5QU4hWczVT/HsN6WWYrXll5T2LtLKlrNs68Kxl6DVIdeA1D+oi6
sEw2OjBHx691Wtx/sOnl650AaM59X8EfywaVAAsVwcJmHX9YzQ5KGgOEGsSwW2Wu
QN13JSDYlS29/9bXYAxHj7/1k7TvPTL/xp4IDf9UMgOoiTSK//2fKEogqE4a9a0J
P8SGVvrcQcNFLmQN0vtJubFMZlQ41d+iiqFPZf2hCXzRU8foltRLl9VJrhGMFsMy
Sn63hRjhQTq/q+Ktq13U38elipcbpBvRNJkiZTFo1ZCShCuqfQG4SqxS1uJVt4Af
HMAerHVm7TDjVZc39y2HvgSgwOQk30VxSNLSUXPW//fITqI9Q1vOAA0QdORJ+mRW
9i6ISAg0eksEREPNh71yzlMRF/AsKwxJ+rzYw5DRIXEtpzQpzuiBcQuctKdJc6Mp
ZsBSdzuz9kptfM4XCpxW5DfjcEAoGG6JCon0iuXDZw5jGHxefj2AElbb8OLtjaOG
QI8d/BnPqNpjKzHyHBpYdLhwOIqt3Gc54NzHdLyggIHdbQ8bbELEveYChUmhZq3p
Y/V4Mh/uE1kAYWEGnsEm
=W+KO
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 01 Jun 2012 07:37:27 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 10:50:29 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.