Package: src:slic3r
Version: 1.3.0+dfsg1-5.1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: boost1.88

slic3r ftbfs with boost 1.88:

[...]
g++ -I/usr/lib/aarch64-linux-gnu/perl/5.40/CORE -fPIC -xc++ -Isrc/libslic3r -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE -Dexprtk_disable_rtl_io_file -Dexprtk_disable_return_statement -Dexprtk_disable_rtl_vecops -Dexprtk_disable_string_capabilities -Dexprtk_disable_enhanced_features '-std=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -g -O2 '-Werror=implicit-function-declaration' -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' '-mbranch-protection=standard' '-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/slic3r-1.3.0+dfsg1-5.1build1' -g -O2 '-Werror=implicit-function-declaration' -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' '-mbranch-protection=standard' '-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/slic3r-1.3.0+dfsg1-5.1build1' -Wdate-time '-D_FORTIFY_SOURCE=3' -o src/libslic3r/GCodeSender.o src/libslic3r/GCodeSender.cpp cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:22, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:17,
                 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 src/libslic3r/libslic3r.h:11,
                 from src/libslic3r/GCodeSender.hpp:5,
                 from src/libslic3r/GCodeSender.cpp:2:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
src/libslic3r/GCodeSender.hpp:40:11: error: ‘io_service’ in namespace ‘Slic3r::asio’ does not name a type; did you mean ‘use_service’?
   40 |     asio::io_service io;
      |           ^~~~~~~~~~
      |           use_service
src/libslic3r/GCodeSender.cpp: In constructor ‘Slic3r::GCodeSender::GCodeSender()’: src/libslic3r/GCodeSender.cpp:56:7: error: class ‘Slic3r::GCodeSender’ does not have any field named ‘io’ 56 | : io(), serial(io), can_send(false), sent(0), open(false), error(false),
      |       ^~
src/libslic3r/GCodeSender.cpp:56:20: error: ‘io’ was not declared in this scope; did you mean ‘boost::io’? 56 | : io(), serial(io), can_send(false), sent(0), open(false), error(false),
      |                    ^~
      |                    boost::io
In file included from /usr/include/boost/io/ios_state.hpp:11,
                 from /usr/include/boost/thread/detail/thread.hpp:38,
                 from /usr/include/boost/thread/thread_only.hpp:22:
/usr/include/boost/io_fwd.hpp:13:11: note: ‘boost::io’ declared here
   13 | namespace io {
      |           ^~
src/libslic3r/GCodeSender.cpp: In member function ‘bool Slic3r::GCodeSender::connect(std::string, unsigned int)’: src/libslic3r/GCodeSender.cpp:103:11: error: ‘class Slic3r::GCodeSender’ has no member named ‘io’
  103 |     this->io.post(boost::bind(&GCodeSender::do_read, this));
      |           ^~
src/libslic3r/GCodeSender.cpp:106:40: error: ‘Slic3r::asio::io_service’ has not been declared; did you mean ‘Slic3r::asio::use_service’? 106 | boost::thread t(boost::bind(&asio::io_service::run, &this->io));
      |                                        ^~~~~~~~~~
src/libslic3r/GCodeSender.cpp:106:64: error: ‘class Slic3r::GCodeSender’ has no member named ‘io’ 106 | boost::thread t(boost::bind(&asio::io_service::run, &this->io));
      |                                                                ^~
src/libslic3r/GCodeSender.cpp: In member function ‘void Slic3r::GCodeSender::disconnect()’: src/libslic3r/GCodeSender.cpp:161:11: error: ‘class Slic3r::GCodeSender’ has no member named ‘io’
  161 |     this->io.post(boost::bind(&GCodeSender::do_close, this));
      |           ^~
src/libslic3r/GCodeSender.cpp:163:11: error: ‘class Slic3r::GCodeSender’ has no member named ‘io’
  163 |     this->io.reset();
      |           ^~
src/libslic3r/GCodeSender.cpp: In member function ‘void Slic3r::GCodeSender::send()’: src/libslic3r/GCodeSender.cpp:446:11: error: ‘class Slic3r::GCodeSender’ has no member named ‘io’
  446 |     this->io.post(boost::bind(&GCodeSender::do_send, this));
      |           ^~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics error building src/libslic3r/GCodeSender.o from 'src/libslic3r/GCodeSender.cpp' at /usr/share/perl/5.40/ExtUtils/CBuilder/Base.pm line 185. dh_auto_build: error: cd xs && /usr/bin/perl Build --install_path arch=/usr/lib/slic3r/ returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary-arch] Error 2

Reply via email to