[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811656: marked as done (FTBFS with GCC 6: cannot convert x to y)



Your message dated Sun, 07 Aug 2016 11:04:39 +0000
with message-id <E1bWLsl-0001MM-6h@franck.debian.org>
and subject line Bug#811656: fixed in starvoyager 0.4.4-8
has caused the Debian Bug report #811656,
regarding FTBFS with GCC 6: cannot convert x to y
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
811656: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811656
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: starvoyager
Version: 0.4.4-5.1
Severity: important
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> c++ `sdl-config --cflags` -Wall -ggdb3 -O2 -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o ship.o ship.cc
> ship.cc: In constructor 'ship::ship(cord, ship*, alliance*, int)':
> ship.cc:27:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Null alliance given");
>                                     ^
> 
> ship.cc:29:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Null ship template given");
>                                          ^
> 
> ship.cc: In member function 'void ship::accel(int, bool)':
> ship.cc:254:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
>    if(nsp<100)
>      ^
> 
> ship.cc: In member function 'int ship::interact(char*, short int, short int, ship*)':
> ship.cc:645:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
>    if(opr==1)
>      ^
> 
> ship.cc:650:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
>    if(opr==2)
>      ^
> 
> ship.cc: In member function 'void ship::hit(int, cord, vect, ship*)':
> ship.cc:1019:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     server::hail(NULL,src->ply,"Target destroyed; bounty paid");
>                                                               ^
> 
> ship.cc:1024:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     server::bulletin("%s has been destroyed",ply->nam);
>                                                      ^
> 
> ship.cc:1031:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     server::hail(NULL,src->ply,"Target crippled");
>                                                 ^
> 
> ship.cc: In member function 'void ship::transport(planet*)':
> ship.cc:1133:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Cannot transport with shields up");
>                                                  ^
> 
> ship.cc:1135:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Not enough power to transport");
>                                               ^
> 
> ship.cc:1137:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Cannot transport while cloaked");
>                                                ^
> 
> ship.cc:1148:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   throw error("No available transporters ready or powered");
>                                                           ^
> 
> ship.cc: In member function 'void ship::transport(ship*)':
> ship.cc:1160:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Cannot transport with shields up");
>                                                  ^
> 
> ship.cc:1162:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Not enough power to transport");
>                                               ^
> 
> ship.cc:1164:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Cannot transport while cloaked");
>                                                ^
> 
> ship.cc:1166:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Cannot transport through destination's shields");
>                                                                ^
> 
> ship.cc:1168:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("Cannot transport through destination's cloak");
>                                                              ^
> 
> ship.cc:1179:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   throw error("No available transporters ready or powered");
>                                                           ^
> 
> ship.cc: In member function 'void ship::save()':
> ship.cc:1186:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   database::putvalue("Class",cls);
>                                 ^
> 
> ship.cc:1187:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   database::putvalue("Type",typ);
>                                ^
> 
> ship.cc:1188:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   database::putvalue("ShipSprite",spr);
>                                      ^
> 
> ship.cc:1189:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   database::putvalue("Width",w[0]);
>                                  ^
> 
> ship.cc:1190:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   database::putvalue("Height",h[0]);
>                                   ^
> 
> ship.cc:1192:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    database::putvalue("FragSprite",fspr);
>                                        ^
> 
> ship.cc:1194:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    database::putvalue("FragSound",fsnd);
>                                       ^
> 
> ship.cc:1196:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    database::putvalue("DeathSound",dsnd);
>                                        ^
> 
> ship.cc:1198:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    database::putvalue("Team",all->self);
>                                       ^
> 
> ship.cc:1199:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   database::putvalue("AIType",aity);
...
> 
> ship.cc:1323:6: error: cannot convert 'bool' to 'player*' in assignment
>   ply=false;
>       ^~~~~
> 
> ship.cc: In member function 'void ship::insert()':
> ship.cc:1354:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    throw error("No free ship index available");
>                                              ^
> 
> ship.cc: In member function 'void ship::loadlink()':
> ship.cc:1613:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   frnd=get(database::getvalue("FriendTarget"));
>                                             ^
> 
> ship.cc:1614:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   enem=get(database::getvalue("EnemyTarget"));
>                                            ^
> 
> ship.cc:1615:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   plnt=planet::get(database::getvalue("PlanetTarget"));
>                                                     ^
> 
> ship.cc: In member function 'void ship::behave()':
> ship.cc:1873:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
>     if(!enem)
>       ^
> 
> Makefile:37: recipe for target 'ship.o' failed
> make[1]: *** [ship.o] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

--- End Message ---
--- Begin Message ---
Source: starvoyager
Source-Version: 0.4.4-8

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

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated starvoyager 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: SHA256

Format: 1.8
Date: Sun, 07 Aug 2016 12:38:44 +0200
Source: starvoyager
Binary: starvoyager starvoyager-data
Architecture: source
Version: 0.4.4-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Description:
 starvoyager - 2D space arcade game, themed around 'Star Trek' - binary
 starvoyager-data - 2D space arcade game, themed around 'Star Trek' - data files
Closes: 811656
Changes:
 starvoyager (0.4.4-8) unstable; urgency=medium
 .
   * QA upload.
   * ship.cc: Use NULL instead of false (which is bool) as the null pointer.
     Package now builds with GCC 6. Closes: #811656.
   * Makefile: Use CFLAGS and friends as provided by debian/rules via dh.
     This should make dpkg-buildflags to work, which in turn enables hardening.
Checksums-Sha1:
 06b6ad636f5321019a3e0f1831ef2c265b0f82c0 1482 starvoyager_0.4.4-8.dsc
 c79cec4fbd4f687add5459f72445a5b3af480833 5948 starvoyager_0.4.4-8.debian.tar.xz
Checksums-Sha256:
 bcd7e7e19e6b4c9408b1c4282712604fbe54a9ae21ec0d9091c10bab7227aaa0 1482 starvoyager_0.4.4-8.dsc
 ee3cfd7289685c9cc3e51a734df60de5b7b47f74214f9472621051f554e4d321 5948 starvoyager_0.4.4-8.debian.tar.xz
Files:
 448c5b761c3d8d30b1649887a69e0e69 1482 games optional starvoyager_0.4.4-8.dsc
 50993cb3e594fa3df29fab0921806e25 5948 games optional starvoyager_0.4.4-8.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXpxATAAoJEEHOfwufG4syAcIIAJ0J7AFJUj0I19QWGyKmckBT
6l/X5qkINHEtVELhhYE8qPAvFNS8un2y00BEdle/aH/OE8BN7zGVVjcdr18XLAK0
ZxVa/OVmXPuHlC82QxA4RCBbKvsOaF3H2yaS3FJtCYkvhsmASV8pdk5B2KLUj5kX
jZt3QJbxfbNuOa3gjxOH6vg9ON7KwODgesfBxJw4nq91TPxmB7A4yeZLI8LRFs+M
in5WuXVROxbwruLB3ft9uN6ZtS13F04VgwABK8ybwrjGgd7t+YQ2965SEvg0OcQ7
NY5skKUEkBI0DX4/r05OdpLyjKkCatYJzSI0NQFr85rD+H5QX0XNZNU3ZW4xRZA=
=FdJy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: