Source: pcb2gcode
Version: 1.1.4-git20120902-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build, although maybe this is a boost bug?

In file included from board.hpp:46:0,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
surface.hpp:53:30: error: template argument 1 is invalid
  vector< shared_ptr<icoords> > get_toolpath( shared_ptr<RoutingMill> mill, 
bool mirror, bool mirror_absolute );
                              ^
surface.hpp:53:30: error: template argument 2 is invalid
surface.hpp:53:46: error: reference to ‘shared_ptr’ is ambiguous
  vector< shared_ptr<icoords> > get_toolpath( shared_ptr<RoutingMill> mill, 
bool mirror, bool mirror_absolute );
                                              ^
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 svg_exporter.hpp:32,
                 from svg_exporter.cpp:26:
/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++/5/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/5/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 svg_exporter.hpp:32,
                 from svg_exporter.cpp:26:
/usr/include/c++/5/bits/shared_ptr_base.h:345:11: note:                 
template<class _Tp> class std::shared_ptr
     class shared_ptr;
           ^
In file included from board.hpp:46:0,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
surface.hpp:53:46: error: ‘shared_ptr’ has not been declared
  vector< shared_ptr<icoords> > get_toolpath( shared_ptr<RoutingMill> mill, 
bool mirror, bool mirror_absolute );
                                              ^

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/pcb2gcode.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Reply via email to