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

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



Your message dated Wed, 29 Jun 2016 10:27:14 +0000
with message-id <E1bICiA-0008Qx-UE@franck.debian.org>
and subject line Bug#811648: fixed in rlplot 1.5-3
has caused the Debian Bug report #811648,
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.)


-- 
811648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811648
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: rlplot
Version: 1.5-2
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
...
> g++ -I/usr/include/qt4/Qt -I/usr/include/qt4 -pipe -O2 -o rlplot.o -c rlplot.cpp
> In file included from rlplot.cpp:19:0:
> rlplot.h:398:2: warning: 'typedef' was ignored in this declaration
>   typedef struct edge {
>   ^~~~~~~
> 
> rlplot.cpp: In member function 'bool Label::CalcRect(anyOutput*)':
> rlplot.cpp:5829:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(!(o->oGetTextExtent("A", 1, &rx, &ry))) return false;
>                                           ^
> 
> rlplot.cpp: In member function 'void TextFrame::AddChar(anyOutput*, int)':
> rlplot.cpp:6850:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(c == 8) ReplMark(o, "");
>                             ^
> 
> rlplot.cpp: In member function 'void TextFrame::DelChar(anyOutput*)':
> rlplot.cpp:6911:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    ReplMark(o, ""); return;
>                  ^
> 
> rlplot.cpp: In member function 'bool TextFrame::CopyText(anyOutput*, bool)':
> rlplot.cpp:7163:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   if(b_cut) ReplMark(o, "");
>                           ^
> 
> rlplot.cpp: In destructor 'virtual Graph::~Graph()':
> rlplot.cpp:8950:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   Undo.InvalidGO(this);  DoZoom("reset");
>                                        ^
> 
> rlplot.cpp: In member function 'virtual bool Graph::Command(int, void*, anyOutput*)':
> rlplot.cpp:9151:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>      "a graph before you can add a legend.");
>                                            ^
> 
> rlplot.cpp:9280:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>      "a graph before you can add an axis.");
>                                           ^
> 
> rlplot.cpp:9363:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>      InfoBox("Axes used for scaling\ncan not be deleted.");
>                                                          ^
> 
> rlplot.cpp:9413:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>      "a graph before you can add a plot.");
>                                          ^
> 
> g++ -I/usr/include/qt4/Qt -I/usr/include/qt4 -pipe -O2 -o Fileio.o -c Fileio.cpp
> Fileio.cpp:96:39: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "\" created by RLPlot version "SZ_VERSION" for ", 0);
>                                        ^
> 
> In file included from Fileio.cpp:20:0:
> rlplot.h:398:2: warning: 'typedef' was ignored in this declaration
>   typedef struct edge {
>   ^~~~~~~
> 
> Fileio.cpp: In function 'int OpenOutputFile(char*)':
> Fileio.cpp:88:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     ErrorBox("Open failed for output file");
>                                           ^
> 
> Fileio.cpp:94:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    cbOut = rlp_strcpy(ptr, 20, ";RLP 1.0\n;File \"");
>                                                    ^
> 
> Fileio.cpp:96:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "\" created by RLPlot version "SZ_VERSION" for ", 0);
>                                                                                           ^
> 
> Fileio.cpp:100:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "Qt", 2);
>                                               ^
> 
> Fileio.cpp:102:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "\n;Date/Time: ", 13);
>                                                            ^
> 
> Fileio.cpp: In function 'void WriteTypObjLst(GraphObj**, int)':
> Fileio.cpp:144:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "(", 1);
>                                             ^
> 
> Fileio.cpp:146:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "){", 2);
>                                              ^
> 
> Fileio.cpp:148:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(i) add_to_buff(&ptr, &cbOut, &sizeOut, "   ", 3);
>                                                      ^
> 
> Fileio.cpp:152:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(n >= no) add_to_buff(&ptr, &cbOut, &sizeOut, "}", 1);
>                                                          ^
> 
> Fileio.cpp:153:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    else add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                    ^
> 
> Fileio.cpp: In function 'void WriteTypIpLst(POINT*, int)':
> Fileio.cpp:162:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "(", 1);
>                                             ^
> 
> Fileio.cpp:164:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "){", 2);
>                                              ^
> 
> Fileio.cpp:170:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(n >= count) add_to_buff(&ptr, &cbOut, &sizeOut, "}", 1);
>                                                             ^
> 
> Fileio.cpp:171:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    else add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                    ^
> 
> Fileio.cpp: In function 'void WriteTypFpLst(lfPOINT*, long int, bool)':
> Fileio.cpp:181:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "(", 1);
>                                              ^
> 
> Fileio.cpp:183:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "){", 2);
>                                               ^
> 
> Fileio.cpp:189:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                ^
> 
> Fileio.cpp:192:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, " {", 2);
>                                               ^
> 
> Fileio.cpp:199:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(n >= count) add_to_buff(&ptr, &cbOut, &sizeOut, "}", 1);
>                                                             ^
> 
> Fileio.cpp:200:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    else add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                    ^
> 
> Fileio.cpp: In function 'void WriteTypFpLst3D(fPOINT3D*, int)':
> Fileio.cpp:209:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "(", 1);
>                                             ^
> 
> Fileio.cpp:211:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "){", 2);
>                                              ^
> 
> Fileio.cpp:218:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(n >= count) add_to_buff(&ptr, &cbOut, &sizeOut, "}", 1);
>                                                             ^
> 
> Fileio.cpp:219:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    else add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                    ^
> 
> Fileio.cpp: In function 'bool ExecOutput(int, char*, descIO*)':
> Fileio.cpp:266:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "\n[", 2);
>                                               ^
> 
> Fileio.cpp:268:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "=", 1);
>                                             ^
> 
> Fileio.cpp:270:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   add_to_buff(&ptr, &cbOut, &sizeOut, "]\n", 2);
>                                               ^
> 
> Fileio.cpp:273:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    if(ptr[cbOut-1] != '\n') add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                                        ^
> 
> Fileio.cpp:276:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    add_to_buff(&ptr, &cbOut, &sizeOut, "=", 1);
>                                              ^
> 
> Fileio.cpp:351:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     add_to_buff(&ptr, &cbOut, &sizeOut, " 0x0", 4);
>                                                  ^
> 
> Fileio.cpp:402:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>      add_to_buff(&ptr, &cbOut, &sizeOut, " \"", 2);
>                                                  ^
> 
> Fileio.cpp:404:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>      add_to_buff(&ptr, &cbOut, &sizeOut, "\"\n", 2);
>                                                   ^
> 
> Fileio.cpp:410:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>   if(ptr[cbOut-1] != '\n') add_to_buff(&ptr, &cbOut, &sizeOut, "\n", 1);
>                                                                       ^
> 
> Fileio.cpp: In function 'bool SaveGraphAs(GraphObj*)':
> Fileio.cpp:820:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    ErrorBox("Output pending or\nno graph.");
>                                           ^
> 
> Fileio.cpp:841:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>     else ErrorBox("Could not write\ndata to file.");
>                                                   ^
> 
> Fileio.cpp:843:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    else ErrorBox("Open failed for\noutput file.");
>                                                 ^
> 
> Fileio.cpp: In function 'char* GraphToMem(GraphObj*, long int*)':
> Fileio.cpp:856:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>    ErrorBox("Output pending or\nno graph.");
>                                           ^
> 
> Fileio.cpp:857:10: error: cannot convert 'bool' to 'char*' in return
>    return false;
>           ^~~~~
...

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

--- End Message ---
--- Begin Message ---
Source: rlplot
Source-Version: 1.5-3

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

Debian distribution maintenance software
pp.
Gert Wollny <gw.fossdev@gmail.com> (supplier of updated rlplot 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: Tue, 28 Jun 2016 10:59:27 +0000
Source: rlplot
Binary: rlplot
Architecture: source amd64
Version: 1.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Gert Wollny <gw.fossdev@gmail.com>
Description:
 rlplot     - GUI application for generating publication quality graphs
Closes: 811648
Changes:
 rlplot (1.5-3) unstable; urgency=medium
 .
   * Team upload
 .
   [ Gert Wollny ]
   * d/p/gcc-6.patch: Add patch to fix compilation with g++-6
     Closes: #811648
   * run "cme fix dpkg-control"
   * remove d/menu file to quell command-in-menu-file-and-desktop-file
   * d/rules: add debug flag to create proper automatic debug symbols
     file
   * d/p/hardening..: Add hardening flags to the build
   * d/rlplot.desktop: add keywords
 .
   [ Andreas Tille ]
   * Move package from QA to Debian Science maintenance
   * debhelper 9
   * DEP5
Checksums-Sha1:
 64c0af42d855b9652efe2976810fa230793eb6b8 1925 rlplot_1.5-3.dsc
 e0628ddb9d5748982efd8ece05cc4489c72e96aa 7000 rlplot_1.5-3.debian.tar.xz
 00898e8decf0e53020bed86a7c7bb62a94b03596 2104366 rlplot-dbgsym_1.5-3_amd64.deb
 2819b47b9136d29922265ea60a14ed1a6abf8923 680678 rlplot_1.5-3_amd64.deb
Checksums-Sha256:
 37cb5158cf15f3c3cc28e83395f65f02ed201dea3cf3a049b5001bbb22d570e8 1925 rlplot_1.5-3.dsc
 a0ea4f3ba48c6c930cdfec6a8714a3d294c21d2bbc23ce9c14fa3c1f50e3276e 7000 rlplot_1.5-3.debian.tar.xz
 ad9fca1eada59a18c03cf8652dd828ded7a0b25191356d34f89caf8faf1878fd 2104366 rlplot-dbgsym_1.5-3_amd64.deb
 a1a61c565d177d6987599ca6e8c574ad60149ed274365a3508ed7e8b0756913b 680678 rlplot_1.5-3_amd64.deb
Files:
 39b65a36a9f1502e095ee70426ee4bb0 1925 math optional rlplot_1.5-3.dsc
 16b279060b8f39816f0e0c66226e195d 7000 math optional rlplot_1.5-3.debian.tar.xz
 29b6bca206c286f7dde93b74bdd0e26a 2104366 debug extra rlplot-dbgsym_1.5-3_amd64.deb
 95eb6b5b258e2edf12ad99ed39a34a9c 680678 math optional rlplot_1.5-3_amd64.deb

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

iQIcBAEBCAAGBQJXc5yYAAoJEFeKBJTRxkbRi8YP/1GGfTHCT8IcwqspxS8zb885
7Cqb+REtX6pAofh+UoTcnnGjhu2HauKSxcDFj5AtJW0AiCbwAB+pOwvkVC7NHgQh
gHb+cipPb2bTMEakuOAbInqKoA+FYT2FSMx6O3x5uDOoWMd2PrVkRa3bGRKDft8K
mCV0JVg3eAaugTW/VfGRcQNw5US27p3YmhNHaT7VAABDyaOKeu+VovrpEXjgX77z
Djhr/RdsKoO+MjvTEMBdIw1DvRM5DZrXnJ/ZkB3tCTQIvTngSP+JNWvEotxvhEjF
SuakmdXik1okDh/zquOd45FUXHltA8wO2ICv92dESZuAfef95OZVluHAIy1fHjSm
0glhZkxTvslcnKiPfWds0duXuaIZyB3heWlCdBpFNyFB8V5fowQqHT8VSNZ+QFQu
4Am2kVIxefrpvzvmqvmMVkYcARnHfu80nEhrg4rc7A+AX3aJgelkhKyMbFibLJjz
q7n+ngMW6OtfOu2CFlaeo3l4uNyNXipUEi1i2ynBCCDAuhIlP6A7TBK7DGEzRDqv
moDFqQN1aeaE3cHrYGP+E0XkWjEioTjDZ8lhUN3O7wWjXQaE9kJx/Uu+JSJ3gzMW
S2eLVMMbI1FfTjz0gZp1y4s6zqSfAKMqFm5s2yXh4Bup890CXmsYigBICkONYz4Y
/Jobeas+Yi4dKPgZ17Z0
=nDka
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: