Debian Bug report logs -
#750330
opencity: FTBFS: extensionmanager.cpp:45:86: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
Reported by: David Suárez <david.sephirot@gmail.com>
Date: Mon, 2 Jun 2014 19:34:47 UTC
Severity: serious
Tags: jessie, sid
Found in version opencity/0.0.6.4stable-3
Fixed in version opencity/0.0.6.4stable-4
Done: Markus Koschany <apo@gambaru.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#750330; Package src:opencity.
(Mon, 02 Jun 2014 19:34:52 GMT) (full text, mbox, link).
Acknowledgement sent
to David Suárez <david.sephirot@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Mon, 02 Jun 2014 19:34:52 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: opencity
Version: 0.0.6.4stable-3
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20140601 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I.. -I../src/ -I../src/binreloc/ -I../src/enum/ -I../src/mas/ -I../src/mapgen/ -I../src/model/ -I../src/networking/ -I../src/pngfuncs/ -I../src/simulator/ -I../src/structure/ -I../src/tinyxpath/ -I../src/triangulation/ -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -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 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o extensionmanager.o extensionmanager.cpp
> extensionmanager.cpp: In member function 'bool ExtensionManager::Load()':
> extensionmanager.cpp:45:86: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
> this->glTexImage3D = (PFNGLTEXIMAGE3DEXTPROC)SDL_GL_GetProcAddress("glTexImage3DEXT");
> ^
> extensionmanager.cpp:49:84: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
> this->glTexImage3D = (PFNGLTEXIMAGE3DEXTPROC)SDL_GL_GetProcAddress("glTexImage3D");
> ^
> cc1plus: some warnings being treated as errors
> make[4]: *** [extensionmanager.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/06/01/opencity_0.0.6.4stable-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply sent
to Markus Koschany <apo@gambaru.de>:
You have taken responsibility.
(Tue, 03 Jun 2014 00:39:05 GMT) (full text, mbox, link).
Notification sent
to David Suárez <david.sephirot@gmail.com>:
Bug acknowledged by developer.
(Tue, 03 Jun 2014 00:39:05 GMT) (full text, mbox, link).
Message #10 received at 750330-close@bugs.debian.org (full text, mbox, reply):
Source: opencity
Source-Version: 0.0.6.4stable-4
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.
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 750330@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Markus Koschany <apo@gambaru.de> (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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 02 Jun 2014 23:54:16 +0200
Source: opencity
Binary: opencity opencity-data
Architecture: source amd64 all
Version: 0.0.6.4stable-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@gambaru.de>
Description:
opencity - 3D city simulator game
opencity-data - data for opencity, a 3D city simulator game
Closes: 750330
Changes:
opencity (0.0.6.4stable-4) unstable; urgency=medium
.
* Add no-pedantic-errors.patch.
- Remove -pedantic-errors compiler option to avoid a FTBFS.
(Closes: #750330)
* debian/menu: Change section from Action to Simulation.
* Build with dh-autoreconf instead of autotools-dev.
* Update remove-use-of-embedded-tinyxml.patch and really use the tinyxml
system shared library.
* debian/rules: Add CPPFLAGS also to CFLAGS to ensure that all hardening
build flags are passed to binreloc and pngfuncs.
Checksums-Sha1:
8915696c7576f7afeafbf006a6d70c9c7d52fabb 2333 opencity_0.0.6.4stable-4.dsc
def78cd013ee1cca69a6cc25ae70ce1adb4c58df 9644 opencity_0.0.6.4stable-4.debian.tar.xz
65caf25d3348e918df6b5ad87a76da2b0c26f067 175444 opencity_0.0.6.4stable-4_amd64.deb
c6307859d3a6ae874cd7d0882891071e517231ce 7880260 opencity-data_0.0.6.4stable-4_all.deb
Checksums-Sha256:
f8ffc35c87330f8609ed052bacb89907412e921a48d5aa3fff3ef9644e4b66c6 2333 opencity_0.0.6.4stable-4.dsc
398c7cceb2f74290745feab9ced85fde91576136af3425cdd748b1f70b233f27 9644 opencity_0.0.6.4stable-4.debian.tar.xz
705142e69a69ed1a5649a4aeff993a8b2fec03bc4c1c6cb746e33ef47af9abdc 175444 opencity_0.0.6.4stable-4_amd64.deb
e221574ea9b9cfd4ce054d3316b6eb5d54c3adffb2da6667e337cb7b8477e339 7880260 opencity-data_0.0.6.4stable-4_all.deb
Files:
377041b6ff40d5f3ce00d7411c56c91d 175444 games optional opencity_0.0.6.4stable-4_amd64.deb
7a2e7d598a5f086ccba2762f6e62f8ca 7880260 games optional opencity-data_0.0.6.4stable-4_all.deb
87629a2a509044ec4bb6602b4a17760d 2333 games optional opencity_0.0.6.4stable-4.dsc
5fb9732c9bbafd0574898934ced31eb3 9644 games optional opencity_0.0.6.4stable-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJ8BAEBCgBmBQJTjROrXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE
OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1HkioEQAMZ1BwFckcDnRhqGtKOcmLtU
jnybmkHMnYlT8e5hGFaKWta4ebWfKTRgrmSy62sgmv1+nBY23CnChVg0AOQwTXy1
7pCAcwmH4TNAWh6Ez8rTAGXZSzz+DVN42dzjsJftdONY4ecEyrKXOCO5vRzqJMNf
k6e8qslpdZ/4kZUvgV4oqnZ4lm6JZqYG+6Ca0ClWyR6yK3kvXc/FeDHAUabKaQlO
sLkXkqqIB8REWKGTtyQVw7fUDwZKqgsj2QDCn3hdO2V2OfZkWvzFL2HDv7pfx4ea
UBeCff2gvaQGHVIVLBGORqqUDoqcPfGZrpGm77P6SMQRimcxav+Nmxm9GSq7gGyx
vRrIyHDv8Cjpq4oUAVkUn/zghIAiDxUTH40kfVm0hJxgUGBHciVkorAW7ZVgmLT8
W80M9ooczM+9+WPGrgoPpIv+K4M+bvrcu8dYYXbUNstcqA1lgemypTo/2gybmNAq
yLZqzckWlotryBxxDle2/1DoMviin7wyOY95N55pzEF3owV8RdI3NhKdKQ6Wjt8J
FgI9YwUvnulkvQ1oJzRPY8L6ztAqeESXTVOCZmXKhtN9Jv58pDzdt5Mu6wsPD+fx
R1m0gWRtcgPMuvr/QsycFyAYH/0H09eXGleiexcZQ7ydRGa8U/Dvqhp1orbFaPBs
1gJq3qZhDdojW+mSidRJ
=yYzY
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 06 Jul 2014 07:27:00 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 14:40:49 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.