Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 455974 Details for
Bug 602414
x11-misc/fracplanet-0.4.0 : image.cpp:88:10: error: cannot convert ‘std::ofstream {aka std::basic_ofstream<char>}’ to ‘bool’ in return
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-misc:fracplanet-0.4.0:20161212-043819.log
x11-misc:fracplanet-0.4.0:20161212-043819.log (text/plain), 15.74 KB, created by
Toralf Förster
on 2016-12-12 08:30:43 UTC
(
hide
)
Description:
x11-misc:fracplanet-0.4.0:20161212-043819.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-12-12 08:30:43 UTC
Size:
15.74 KB
patch
obsolete
> * Package: x11-misc/fracplanet-0.4.0 > * Repository: gentoo > * Maintainer: desktop-misc@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking fracplanet-0.4.0.tar.gz to /var/tmp/portage/x11-misc/fracplanet-0.4.0/work >>>> Source unpacked in /var/tmp/portage/x11-misc/fracplanet-0.4.0/work >>>> Preparing source in /var/tmp/portage/x11-misc/fracplanet-0.4.0/work/fracplanet ... > * Applying fracplanet-0.4.0-gold.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-misc/fracplanet-0.4.0/work/fracplanet ... > * Running qmake ... > * - fixed CONFIG in fracplanet.pro > [ ok ] >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-misc/fracplanet-0.4.0/work/fracplanet ... >make -j1 >x86_64-pc-linux-gnu-g++ -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -x c++-header -c precompiled.h -o obj/fracplanet.gch/c++ >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/common.o common.cpp >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/control_about.o control_about.cpp >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/control.o control.cpp >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/control_render.o control_render.cpp >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/control_save.o control_save.cpp >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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/control_terrain.o control_terrain.cpp >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 /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/dialog_documentation.o dialog_documentation.cpp >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/fracplanet.o fracplanet.cpp >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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/fracplanet_main.o fracplanet_main.cpp >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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/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/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/locale_conv.h:41:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/locale:43, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iomanip:43, > from common.h:33, > from precompiled.h:23: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/geometry.o geometry.cpp >geometry.cpp: In static member function âstatic void Geometry::scan_convert_common(const boost::array<XYZ, 3ul>&, const ScanConvertBackend&)â: >geometry.cpp:82:51: warning: â*((void*)& ky12 +4)â may be used uninitialized in this function [-Wmaybe-uninitialized] > const float yp12=(iy+0.5f-v[sort[1]].y)*ky12.get(); > ^ >x86_64-pc-linux-gnu-g++ -c -include obj/fracplanet -Werror=terminate -march=native -O2 -pipe -DFRACPLANET_VERSION="" -DFRACPLANET_BUILD=" (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++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Imoc -o obj/image.o image.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; > ^~~ >make: *** [Makefile:586: obj/image.o] Error 1 > * ERROR: x11-misc/fracplanet-0.4.0::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-misc/fracplanet-0.4.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-misc/fracplanet-0.4.0::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-misc:fracplanet-0.4.0:20161212-043819.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/fracplanet-0.4.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-misc/fracplanet-0.4.0/temp/environment'. > * Working directory: '/var/tmp/portage/x11-misc/fracplanet-0.4.0/work/fracplanet' > * S: '/var/tmp/portage/x11-misc/fracplanet-0.4.0/work/fracplanet'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 602414
:
455968
|
455970
|
455972
| 455974