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

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



Your message dated Sat, 09 Jul 2016 22:19:36 +0000
with message-id <E1bM0b2-0002Si-G7@franck.debian.org>
and subject line Bug#811642: fixed in fracplanet 0.4.0-4
has caused the Debian Bug report #811642,
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.)


-- 
811642: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811642
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fracplanet
Version: 0.4.0-3
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++ -c -include obj/fracplanet -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFRACPLANET_VERSION="0.4.0" -DFRACPLANET_BUILD="0.4.0 (release build)" -DNDEBUG -DQT_NO_ASCII_CAST -D_REENTRANT -Wall -W -DQT_DLL -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/X11R6/include -Imoc -o obj/triangle_mesh_cloud.o triangle_mesh_cloud.cpp
> image.cpp: In member function 'bool Raster<T>::write_pgmfile(const string&, Progress*) const [with T = unsigned char; std::__cxx11::string = std::__cxx11::basic_string<char>]':
> image.cpp:88:10: error: cannot convert 'std::ofstream {aka std::basic_ofstream<char>}' to 'bool' in return
>    return out;
>           ^~~
> 
> image.cpp: In member function 'bool Raster<T>::write_pgmfile(const string&, Progress*) const [with T = short unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]':
> image.cpp:104:28: warning: narrowing conversion of '(((int)(* it)) >> 8)' from 'int' to 'uchar {aka unsigned char}' inside { } [-Wnarrowing]
>     const uchar p[2]={((*it)>>8),(*it)};
>                       ~~~~~~^~~~
> 
> image.cpp:104:34: warning: narrowing conversion of '(ushort)(* it)' from 'ushort {aka short unsigned int}' to 'uchar {aka unsigned char}' inside { } [-Wnarrowing]
>     const uchar p[2]={((*it)>>8),(*it)};
>                                  ~^~~~
> 
> image.cpp:118:10: error: cannot convert 'std::ofstream {aka std::basic_ofstream<char>}' to 'bool' in return
>    return out;
>           ^~~
> 
> image.cpp: In member function 'bool Raster<T>::write_ppmfile(const string&, Progress*) const [with T = ByteRGBA; std::__cxx11::string = std::__cxx11::basic_string<char>]':
> image.cpp:135:10: error: cannot convert 'std::ofstream {aka std::basic_ofstream<char>}' to 'bool' in return
>    return out;
>           ^~~
> 
> In file included from control_save.cpp:24:0:
> fracplanet_main.h:103:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>    std::auto_ptr<QProgressDialog> progress_dialog;
>         ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> In file included from control_terrain.cpp:24:0:
> fracplanet_main.h:103:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>    std::auto_ptr<QProgressDialog> progress_dialog;
>         ^~~~~~~~
> 
> In file included from fracplanet.cpp:33:0:
> fracplanet_main.h:103:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>    std::auto_ptr<QProgressDialog> progress_dialog;
>         ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> In file included from fracplanet_main.cpp:22:0:
> fracplanet_main.h:103:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>    std::auto_ptr<QProgressDialog> progress_dialog;
>         ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> fracplanet_main.cpp: In member function 'virtual void FracplanetMain::progress_start(uint, const string&)':
> fracplanet_main.cpp:64:28: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>        progress_dialog=std::auto_ptr<QProgressDialog>(new QProgressDialog("Progress","Cancel",0,100,this));
>                             ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> fracplanet_main.cpp: In member function 'void FracplanetMain::regenerate()':
> fracplanet_main.cpp:160:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>   std::auto_ptr<TriangleMeshTerrainPlanet> it(new TriangleMeshTerrainPlanet(parameters_terrain,this));
>        ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> fracplanet_main.cpp:167:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>   std::auto_ptr<TriangleMeshTerrainFlat> it(new TriangleMeshTerrainFlat(parameters_terrain,this));
>        ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> fracplanet_main.cpp:180:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>       std::auto_ptr<TriangleMeshCloudPlanet> it(new TriangleMeshCloudPlanet(parameters_cloud,this));
>            ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> fracplanet_main.cpp:187:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>       std::auto_ptr<TriangleMeshCloudFlat> it(new TriangleMeshCloudFlat(parameters_cloud,this));
>            ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> triangle_mesh.cpp: In member function 'void TriangleMesh::write_blender(std::ofstream&, const string&, const FloatRGBA*) const':
> triangle_mesh.cpp:304:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>    std::auto_ptr<ByteRGBA> byte_faux_alpha;
>         ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 
> triangle_mesh.cpp:305:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
>    if (faux_alpha) byte_faux_alpha=std::auto_ptr<ByteRGBA>(new ByteRGBA(*faux_alpha));
>                                         ^~~~~~~~
> 
> In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/6/locale:43,
>                  from /usr/include/c++/6/iomanip:43,
>                  from common.h:33,
>                  from precompiled.h:23:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^~~~~~~~
> 

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

--- End Message ---
--- Begin Message ---
Source: fracplanet
Source-Version: 0.4.0-4

We believe that the bug you reported is fixed in the latest version of
fracplanet, 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 811642@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 fracplanet 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: Sat, 09 Jul 2016 17:41:22 +0000
Source: fracplanet
Binary: fracplanet
Architecture: source
Version: 0.4.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Gert Wollny <gw.fossdev@gmail.com>
Description:
 fracplanet - Fractal planet generator
Closes: 811642
Changes:
 fracplanet (0.4.0-4) unstable; urgency=medium
 .
   [ Gert Wollny ]
   * QA upload.
   * cme fix dpkg-control
   * d/p/gcc-6: Add patch to fix compilation with gcc-6, Closes: #811642
   * Bump std-version to 3.9.8
 .
   [ Gianfranco Costamagna ]
   * Bump compat level to 9.
Checksums-Sha1:
 9647f3ceaf8c5dd0ec63e12c9f0db1c49a5a0319 1820 fracplanet_0.4.0-4.dsc
 7496af84f095adbbe74313b2414c873e8336220c 3920 fracplanet_0.4.0-4.debian.tar.xz
Checksums-Sha256:
 7712b5d1f3fc22eac1168192b99f5504dbfadb93f3f1cba70a974ef0da24b1f0 1820 fracplanet_0.4.0-4.dsc
 303e1a8724e233660d972a7538c43fe8c1b566808955dae00c3ce17ec0080485 3920 fracplanet_0.4.0-4.debian.tar.xz
Files:
 3b74ab03bf69c94a57a9e61cfa963f2e 1820 graphics optional fracplanet_0.4.0-4.dsc
 c679d15499beb050ffb0777663ce3cbd 3920 graphics optional fracplanet_0.4.0-4.debian.tar.xz

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

iQIcBAEBCAAGBQJXgVepAAoJEPNPCXROn13Z3SkP/1qfLd7T3iK7C5pBT9dSpQrG
Cq+R35LWyjuqL9VhhihAAN/wlLb9H0EamzydT5XyYu2smw7SVj9IT+chwOj41BYh
ja1m+PynDt2rRTW/3MZStYS6XEvRoMuGiSP7UOlw+RwW6O8A05z56jGBnJd7YKRz
g4J0fdEAvPToRBuR4hoI6rJwzAlolH3vw0tCcO+RnaNpa/ZnMo2k6C0IpCWOl0GZ
1kQqNgay+LGkwoxlanjAu82t1PLovVSID2WMOkafx+6Wt1jxf/cH7IiO5bbFaebT
3/Ij0kkZSyyYjTciO3iZgsSqKXiJqpgkxgZ9Vk4ubcYOczaKihTe4XYIQXtqKC8G
XClwvrAjbDvkzXD/W/ELMdjTV+A8wKEA3Ok1gv1yHGYBLfIabylHQNSohOQPFUGB
vFj4bN6i5qbadNjjjY/+7+DMGPd3XfKXakGPKNiHEgaPmU6o73nUcNKByNw1ZxdZ
m6ooD+D727xrRPtPs31ET47Cf9dy3Pc1J5pu7e7jH8031WjPI5mcH2kFF5AJ5f9k
FhAJSknZBRSzbG278O0t+4OwbzlT3tNYdhkJ/R6+vqtOVLSzKptUVVJRKGU7f05f
fxc+YwNMtJhcLMXU/SMb1sCtBneBpi9dG19d5Dt5uMBHxRCtmxbqjTMNNXOJ8Ko3
RGGtRNF5a0W4Gv1IzfSV
=plhw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: