Package: povray Version: 1:3.7.0.0-8 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-reference-ambiguous
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. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../source/backend -I../source/base > -I../source/frontend -I../unix -I../vfe -I../vfe/unix -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/OpenEXR -Wdate-time > -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/include -pipe > -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -O3 -pthread -c -o > backend/math/hcmplx.o backend/math/hcmplx.cpp > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/scene/atmosph.cpp:35: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/scene/objects.cpp:37: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/scene/threaddata.cpp:33: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/scene/camera.cpp:35: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from backend/scene/atmosph.cpp:35:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/atmosph.cpp:35: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/atmosph.cpp:35: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from backend/scene/threaddata.cpp:33:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from backend/scene/objects.cpp:37:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/objects.cpp:37: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/objects.cpp:37: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from ./backend/control/messagefactory.h:39:0, > from backend/frame.h:58, > from optout.cpp:40: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/scene/scene.cpp:38: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from backend/scene/camera.cpp:35:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/camera.cpp:35: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/camera.cpp:35: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from optout.cpp:40:0: > backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from backend/frame.h:53, > from optout.cpp:40: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from backend/frame.h:53, > from optout.cpp:40: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/parser/parstxtr.cpp:35: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from backend/scene/scene.cpp:38:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/date_time/c_time.hpp:20, > from /usr/include/boost/date_time/time_clock.hpp:16, > from /usr/include/boost/thread/thread_time.hpp:9, > from /usr/include/boost/thread/lock_types.hpp:18, > from /usr/include/boost/thread/pthread/thread_data.hpp:12, > from /usr/include/boost/thread/thread_only.hpp:17, > from /usr/include/boost/thread/thread.hpp:12, > from /usr/include/boost/thread.hpp:13, > from backend/scene/scene.cpp:34: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from /usr/include/boost/date_time/time_clock.hpp:17, > from /usr/include/boost/thread/thread_time.hpp:9, > from /usr/include/boost/thread/lock_types.hpp:18, > from /usr/include/boost/thread/pthread/thread_data.hpp:12, > from /usr/include/boost/thread/thread_only.hpp:17, > from /usr/include/boost/thread/thread.hpp:12, > from /usr/include/boost/thread.hpp:13, > from backend/scene/scene.cpp:34: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from backend/parser/parstxtr.cpp:35:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous > shared_ptr<SubsurfaceInterior> subsurface; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/parser/parstxtr.cpp:35: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/parser/parstxtr.cpp:35: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from ./backend/control/messagefactory.h:39:0, > from ./backend/frame.h:58, > from backend/parser/function.cpp:40: > ./backend/control/renderbackend.h:112:34: error: template argument 2 is > invalid > map<SceneId, shared_ptr<Scene> > scenes; > ^ > > ./backend/control/renderbackend.h:112:34: error: template argument 4 is > invalid > ./backend/control/renderbackend.h:113:32: error: template argument 2 is > invalid > map<ViewId, shared_ptr<View> > views; > ^ > > ./backend/control/renderbackend.h:113:32: error: template argument 4 is > invalid > In file included from backend/scene/threaddata.cpp:34:0: > ./backend/scene/threaddata.h:72:29: error: expected ')' before '<' token > SceneThreadData(shared_ptr<SceneData> sd); > ^ > > In file included from ./backend/render/trace.h:42:0, > from ./backend/interior/media.h:37, > from ./backend/interior/interior.h:37, > from backend/scene/objects.cpp:40: > ./backend/scene/threaddata.h:72:29: error: expected ')' before '<' token > SceneThreadData(shared_ptr<SceneData> sd); > ^ > > ./backend/scene/threaddata.h:156:10: error: reference to 'shared_ptr' is > ambiguous > inline shared_ptr<const SceneData> GetSceneData() const { return > sceneData; } > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from backend/scene/threaddata.cpp:34:0: > ./backend/scene/threaddata.h:160:3: error: reference to 'shared_ptr' is > ambiguous > shared_ptr<SceneData> sceneData; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from ./backend/scene/view.h:40:0, > from backend/scene/threaddata.cpp:35: > ./backend/support/taskqueue.h:60:25: error: expected ')' before '<' token > TaskEntry(shared_ptr<Task> rt) : entryType(kTask), task(rt) { } > ^ > > ./backend/support/taskqueue.h:65:5: error: reference to 'shared_ptr' is > ambiguous > shared_ptr<Task> GetTask() { return task; } > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from ./backend/scene/view.h:40:0, > from backend/scene/threaddata.cpp:35: > ./backend/support/taskqueue.h:72:5: error: reference to 'shared_ptr' is > ambiguous > shared_ptr<Task> task; > ^~~~~~~~~~ > > In file included from /usr/include/boost/throw_exception.hpp:42:0, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:27, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: > template<class T> class boost::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from /usr/include/c++/6/bits/shared_ptr.h:52:0, > from /usr/include/c++/6/memory:82, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from ../vfe/unix/syspovconfig.h:67, > from ../vfe/unix/syspovconfigbase.h:35, > from ./base/configbase.h:40, > from ./backend/frame.h:53, > from backend/scene/threaddata.cpp:33: > /usr/include/c++/6/bits/shared_ptr_base.h:343:11: note: > template<class _Tp> class std::shared_ptr > class shared_ptr; > ^~~~~~~~~~ > > In file included from backend/parser/function.cpp:40:0: > ./backend/frame.h:982:3: error: reference to 'shared_ptr' is ambiguous ... -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise