Debian Bug report logs - #871230
frogatto: FTBFS with GCC-7: error: ISO C++ forbids comparison between pointer and integer

version graph

Package: src:frogatto; Maintainer for src:frogatto is Dmitry E. Oboukhov <unera@debian.org>;

Reported by: Andreas Beckmann <anbe@debian.org>

Date: Mon, 7 Aug 2017 03:06:01 UTC

Severity: serious

Tags: buster, sid

Found in version frogatto/1.3.1+dfsg-3

Fixed in version frogatto/1.3.1+dfsg-4

Done: unera@debian.org (Dmitry E. Oboukhov)

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-bugs-dist@lists.debian.org, Dmitry E. Oboukhov <unera@debian.org>:
Bug#871230; Package src:frogatto. (Mon, 07 Aug 2017 03:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
New Bug report received and forwarded. Copy sent to Dmitry E. Oboukhov <unera@debian.org>. (Mon, 07 Aug 2017 03:06:04 GMT) (full text, mbox, link).


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

From: Andreas Beckmann <anbe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: frogatto: FTBFS with GCC-7: error: ISO C++ forbids comparison between pointer and integer
Date: Mon, 07 Aug 2017 05:04:20 +0200
[Message part 1 (text/plain, inline)]
Source: frogatto
Version: 1.3.1+dfsg-3
Severity: serious
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-7

frogatto FTBFS since GCC-7 was made the default compiler:

[...]
g++ \
        -O2 -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Wignored-qualifiers -Wformat -Wswitch -Wno-narrowing -g -O2 -fdebug-prefix-map=/build/frogatto-1.3.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \
        -c src/surface_cache.cpp
src/surface_cache.cpp: In function 'graphics::surface graphics::surface_cache::get_no_cache(const string&, std::__cxx11::string*)':
src/surface_cache.cpp:119:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  if(surf.get() == false || surf->w == 0) {
                   ^~~~~
Makefile:49: recipe for target 'surface_cache.o' failed
make[1]: *** [surface_cache.o] Error 1


Cheers,

Andreas
[frogatto_1.3.1+dfsg-3.log.gz (application/gzip, attachment)]

Reply sent to unera@debian.org (Dmitry E. Oboukhov):
You have taken responsibility. (Wed, 16 Aug 2017 11:06:06 GMT) (full text, mbox, link).


Notification sent to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer. (Wed, 16 Aug 2017 11:06:06 GMT) (full text, mbox, link).


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

From: unera@debian.org (Dmitry E. Oboukhov)
To: 871230-close@bugs.debian.org
Subject: Bug#871230: fixed in frogatto 1.3.1+dfsg-4
Date: Wed, 16 Aug 2017 11:04:34 +0000
Source: frogatto
Source-Version: 1.3.1+dfsg-4

We believe that the bug you reported is fixed in the latest version of
frogatto, 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 871230@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry E. Oboukhov <unera@debian.org> (supplier of updated frogatto 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: Wed, 16 Aug 2017 11:23:08 +0300
Source: frogatto
Binary: frogatto
Architecture: source amd64
Version: 1.3.1+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Dmitry E. Oboukhov <unera@debian.org>
Changed-By: Dmitry E. Oboukhov <unera@debian.org>
Description:
 frogatto   - 2D platformer game starring a quixotic frog
Closes: 871230
Changes:
 frogatto (1.3.1+dfsg-4) unstable; urgency=medium
 .
   * Fix gcc7 FTBFS (forbids comparison between pointer and integer),
     closes: #871230.
Checksums-Sha1:
 ff3fa20e5dffea6fa28bfd8e0d7c085019b4d22e 2258 frogatto_1.3.1+dfsg-4.dsc
 2774f1828b5927a61d8eab8007b1568edb7b0db9 9912 frogatto_1.3.1+dfsg-4.debian.tar.xz
 3475f1254a24dd51744cfdef7fcb23897eeebfec 38552950 frogatto-dbgsym_1.3.1+dfsg-4_amd64.deb
 3229aae0a828b82f93d673c41162f7b13a884114 9527 frogatto_1.3.1+dfsg-4_amd64.buildinfo
 ec4b8e3ca3b20c7e4426dba0a8cce04f17a1a4f8 1953144 frogatto_1.3.1+dfsg-4_amd64.deb
Checksums-Sha256:
 22b44b0b0f693cf26adaf348f538de129adc2fd6e6851d69ed1e6b77c9c3c912 2258 frogatto_1.3.1+dfsg-4.dsc
 c6b7f12e6dd9b45a0c51386b032b9881844f5a0d447e46119e66f874b570802d 9912 frogatto_1.3.1+dfsg-4.debian.tar.xz
 93459f953d3a6b7c2caf37d8e9a0c411b0f5897838b02103f43786fb9eef6cca 38552950 frogatto-dbgsym_1.3.1+dfsg-4_amd64.deb
 65289f932098b7af514fb848c2961041e7b1154a18d1f55ddc0fc4fe09a68e7d 9527 frogatto_1.3.1+dfsg-4_amd64.buildinfo
 2833e20957be766ffe1ee3cf8e1173252ce56193b3a13bb4187825aff42a0d78 1953144 frogatto_1.3.1+dfsg-4_amd64.deb
Files:
 c6f3b86701fbdb91efd32d542e7da39a 2258 contrib/games extra frogatto_1.3.1+dfsg-4.dsc
 822f4609d50d2c9c1f1009456421237b 9912 contrib/games extra frogatto_1.3.1+dfsg-4.debian.tar.xz
 fd90c83daab5fef254c05038f2185d83 38552950 contrib/debug extra frogatto-dbgsym_1.3.1+dfsg-4_amd64.deb
 36d358eab0bae81e0f9d11ee2dc7d8e6 9527 contrib/games extra frogatto_1.3.1+dfsg-4_amd64.buildinfo
 ea70dbc6b83f7c27c6ea646508dbd3b3 1953144 contrib/games extra frogatto_1.3.1+dfsg-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJZlB3VAAoJEI0flpoI7qdWkU8QAL3HL3b/O+ObGfZMfSPqYGtk
iVrszKTazivy6/SLG1iRnxXz1DLOipHuC02QeF/vRC6dJ89jjKQ0h2KGn8xGnMle
NlLB9vnZt922x9BIiJY6DgIOhjkX/22yJkuYZTktWUx8QuoNqQXswwypxrOh4S4l
640Anh89ySpFSOpdT+LQDucXFVrTsf9aJ8+B/Bt8UuTz32XOEjh3oPALllh2ZcrY
gXj2ESyKRGXboCZnGht45/OIZ602Yy1CmYt9VLhn36aB5ZrwwyxQZaGxy7chZ/Aa
8D4AqZA+SC+WQGqG+ErZKpmU41gQ3YkK/9my+vxfPnliQ3MfRJsF61Q922ou5J/K
bdumgHAPWfqvyizSLAXICjFZZZgFOCBhkruOO1/MVyVItKhZf6CZba//A5GCqpGc
KaE/3hno+ASM3Wcf+ei1/LbOoMD7YuLqJQKGKKlvKY8kIDaEcKDklnL9R5XLOP+y
zk5t/4sLL+4Us1diwEaVoEeRIkBT+FJcnJ+HfEv5/QWuXvbY5U1V2H1Cj7p3ROzX
yTW5mXsz2u4ykkNQo7iXxeULzJWLPBV9wEFNJXthBuqQOh8A0eFVUgmHZwCfVjIz
chacQDM8b+kpUHz9i8Dzh3DHVjJY6osOYHTCXC7/mG/BStP9IfbX0tHuiTNe6Zb1
spatofxY3On62hm4LeAi
=NueE
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 18 Sep 2017 07:26:18 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 12:41:12 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.