Debian Bug report logs - #667310
opencity: ftbfs with GCC-4.7

version graph

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

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

Date: Tue, 3 Apr 2012 23:33:50 UTC

Severity: serious

Tags: patch, sid, wheezy

Found in version opencity/0.0.6.4stable-1

Fixed in version opencity/0.0.6.4stable-1.1

Done: Matej Vela <vela@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#667310; Package opencity. (Tue, 03 Apr 2012 23:33:58 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:33:58 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: opencity: ftbfs with GCC-4.7
Date: Tue, 03 Apr 2012 23:11:24 +0000
Package: opencity
Version: 0.0.6.4stable-1
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.

node_set.cpp:269:4: error: 'intptr_t' 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/opencity_0.0.6.4stable-1_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.

[...]
mv -f .deps/treestructure.Tpo .deps/treestructure.Po
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/ -I../../src/enum/ -I../../src/mas/ -I../../src/networking/ -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -pedantic-errors -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12    -std=c++98 -g -O2 -MT wegstructure.o -MD -MP -MF .deps/wegstructure.Tpo -c -o wegstructure.o wegstructure.cpp
mv -f .deps/wegstructure.Tpo .deps/wegstructure.Po
rm -f libstruct.a
ar cru libstruct.a pathstructure.o rcistructure.o structure.o treestructure.o wegstructure.o 
ranlib libstruct.a
make[4]: Leaving directory `/«PKGBUILDDIR»/src/structure'
Making all in tinyxpath
make[4]: Entering directory `/«PKGBUILDDIR»/src/tinyxpath'
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..   -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -pedantic-errors -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12    -std=c++98 -g -O2 -MT action_store.o -MD -MP -MF .deps/action_store.Tpo -c -o action_store.o action_store.cpp
mv -f .deps/action_store.Tpo .deps/action_store.Po
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..   -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -pedantic-errors -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12    -std=c++98 -g -O2 -MT lex_util.o -MD -MP -MF .deps/lex_util.Tpo -c -o lex_util.o lex_util.cpp
mv -f .deps/lex_util.Tpo .deps/lex_util.Po
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..   -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -pedantic-errors -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12    -std=c++98 -g -O2 -MT node_set.o -MD -MP -MF .deps/node_set.Tpo -c -o node_set.o node_set.cpp
node_set.cpp: In function 'int TinyXPath::i_compare_ptr_and_flag(const void*, const void*)':
node_set.cpp:269:4: error: 'intptr_t' was not declared in this scope
node_set.cpp:269:13: error: expected ';' before 'n1'
node_set.cpp:270:13: error: expected ';' before 'n2'
node_set.cpp:272:8: error: 'n1' was not declared in this scope
node_set.cpp:272:14: error: 'n2' was not declared in this scope
node_set.cpp:275:8: error: 'n1' was not declared in this scope
node_set.cpp:275:13: error: 'n2' was not declared in this scope
node_set.cpp:279:1: warning: control reaches end of non-void function [-Wreturn-type]
make[4]: *** [node_set.o] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src/tinyxpath'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2




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:23 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#667310; Package opencity. (Fri, 18 May 2012 14:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matej Vela <vela@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Fri, 18 May 2012 14:33:03 GMT) (full text, mbox, link).


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

From: Matej Vela <vela@debian.org>
To: 667310@bugs.debian.org
Cc: control@bugs.debian.org
Subject: opencity: diff for NMU (0.0.6.4stable-1.1)
Date: Fri, 18 May 2012 15:31:38 +0100
[Message part 1 (text/plain, inline)]
tag 667310 patch pending
thanks

Hi,

I'm uploading an NMU for opencity (0.0.6.4stable-1.1) to DELAYED/2-day.
Please let me know if you'd like me to cancel it or delay further.

Cheers,

Matej
[Message part 2 (application/pgp-signature, inline)]
[opencity_0.0.6.4stable-1.1.diff (text/plain, attachment)]

Added tag(s) pending and patch. Request was from Matej Vela <vela@debian.org> to control@bugs.debian.org. (Fri, 18 May 2012 14:33:15 GMT) (full text, mbox, link).


Reply sent to Matej Vela <vela@debian.org>:
You have taken responsibility. (Sun, 20 May 2012 15:15:18 GMT) (full text, mbox, link).


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


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

From: Matej Vela <vela@debian.org>
To: 667310-close@bugs.debian.org
Subject: Bug#667310: fixed in opencity 0.0.6.4stable-1.1
Date: Sun, 20 May 2012 15:13:44 +0000
Source: opencity
Source-Version: 0.0.6.4stable-1.1

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

opencity-data_0.0.6.4stable-1.1_all.deb
  to main/o/opencity/opencity-data_0.0.6.4stable-1.1_all.deb
opencity_0.0.6.4stable-1.1.debian.tar.gz
  to main/o/opencity/opencity_0.0.6.4stable-1.1.debian.tar.gz
opencity_0.0.6.4stable-1.1.dsc
  to main/o/opencity/opencity_0.0.6.4stable-1.1.dsc
opencity_0.0.6.4stable-1.1_i386.deb
  to main/o/opencity/opencity_0.0.6.4stable-1.1_i386.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 667310@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <vela@debian.org> (supplier of updated opencity 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: Fri, 18 May 2012 15:19:25 +0100
Source: opencity
Binary: opencity opencity-data
Architecture: source all i386
Version: 0.0.6.4stable-1.1
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 opencity   - 3D city simulator game
 opencity-data - data for opencity, a 3D city simulator game
Closes: 667310
Changes: 
 opencity (0.0.6.4stable-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * gcc-4.7-fixes: Fix build failure with GCC 4.7.  Closes: #667310.
     - src/tinyxpath/node_set.cpp: Include "../main.h" for HAVE_STDINT_H.
Checksums-Sha1: 
 87d8962df9e2c0883bdca6c678f58759cd1c4f49 1593 opencity_0.0.6.4stable-1.1.dsc
 ad33073e007025273ff7505891be6b824478efdc 10431 opencity_0.0.6.4stable-1.1.debian.tar.gz
 24bfb60f26e7bc35f26617e8df978ba5f9bdb9bd 7996450 opencity-data_0.0.6.4stable-1.1_all.deb
 c6edee689d22212471e3e18ebe2bd1abbd627a67 209350 opencity_0.0.6.4stable-1.1_i386.deb
Checksums-Sha256: 
 f6b6d185ed90788a10d517ea52fa83b434044bb564af0bf06315bfccaaf06e44 1593 opencity_0.0.6.4stable-1.1.dsc
 7a7442a440f1e1a4759101685e3d415d10b87b3ebd5e2203e59c5b3474ef7a6b 10431 opencity_0.0.6.4stable-1.1.debian.tar.gz
 b6a6be3ad0fad5535250020e0b04d9a9c61f2c86213c8a85529b1820d691fcfd 7996450 opencity-data_0.0.6.4stable-1.1_all.deb
 5bb3a91cddcd1457d7bda5ae5e5e46351480e8daab4a22385d2c2a6c30054604 209350 opencity_0.0.6.4stable-1.1_i386.deb
Files: 
 c53997209d0c254233456efcde008304 1593 games optional opencity_0.0.6.4stable-1.1.dsc
 82ebae26a1d1787e98e07831ebc5daa0 10431 games optional opencity_0.0.6.4stable-1.1.debian.tar.gz
 93e24b7d72cf012dabce67436008706d 7996450 games optional opencity-data_0.0.6.4stable-1.1_all.deb
 17a4faaa77a7722a49d82af4efb513d6 209350 games optional opencity_0.0.6.4stable-1.1_i386.deb

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

iEYEARECAAYFAk+2XF8ACgkQqbYs6sQrY8rh9gCeL0FsT4ygbQqQ6RVgmxLwsrFG
fLMAniN7XhwvKLr/x2/KCyJvCou+t3U+
=cAqc
-----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:35:49 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:01 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.