Bug#1128109: asymptote: FTBFS with boost 1.90

[email protected]
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <[email protected]>
Package: src:asymptote
Version: 3.05+ds-2
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: boost1.90

asymptote FTBFS with boost 1.90. Note that the FTBFS may not necessarily be
connected to boost - please check the build log for the actual cause.

Ubuntu has started the rebuild and the status can be tracked here:
https://transitions.ubuntu.com/html/boost1.90.html#!good,bad,partial,unknown,!notintesting
Thanks to them. Please find your package there, after that you can see the logs from
the failing build.

Note: This ticket severity will be increased to RC bug when
boost-defaults is switched to 1.90.

Additional information: The boost system library was removed upstream in 1.89 and is empty since 1.69.
If your package depends on or build-depends on libboost-system-dev, remove it from
build-depends and the build system. See https://www.boost.org/releases/1.89.0/ for cmake instructions.

Note that libboost-system-dev is "virtually" provided by libboost-dev_1.90,
but it is better to drop it from build-depends as this will be removed in the future.


Here is the most probably relevant part of the failing build log:

[ 83%] Building CXX object CMakeFiles/lspcpp.dir/src/lsp/ParentProcessWatcher.cpp.o
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o runpair.o -c runpair.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
In file included from /<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:24:
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/SimpleTimer.h:7:49: error: ‘milliseconds’ in namespace ‘boost::posix_time’ does not name a type
    7 | template<typename Duration = boost::posix_time::milliseconds>
      |                                                 ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/SimpleTimer.h:47:18: error: ‘deadline_timer’ in namespace ‘boost::asio’ does not name a type [-Wtemplate-body]
   47 |     boost::asio::deadline_timer _deadline_timer;
      |                  ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/SimpleTimer.h: In constructor ‘SimpleTimer<Duration>::SimpleTimer(unsigned int, const std::function<void()>&)’:
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/SimpleTimer.h:12:53: error: class ‘SimpleTimer<Duration>’ does not have any field named ‘_deadline_timer’ [-Wtemplate-body]
   12 |         : is_running_(true), call_back(_call_back), _deadline_timer(_ios, Duration(duration))
      |                                                     ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/SimpleTimer.h:14:9: error: ‘_deadline_timer’ was not declared in this scope [-Wtemplate-body]
   14 |         _deadline_timer.async_wait(
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp: At global scope:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:31:52: error: ‘seconds’ is not a member of ‘boost::posix_time’
   31 |     std::unique_ptr<SimpleTimer<boost::posix_time::seconds>> timer;
      |                                                    ^~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:31:52: note: suggested alternatives:
In file included from /usr/include/c++/15/chrono:45,
                 from /usr/include/boost/process/v1/detail/child_decl.hpp:21,
                 from /usr/include/boost/process/v1/child.hpp:21,
                 from /<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:7:
/usr/include/c++/15/bits/chrono.h:901:11: note:   ‘std::chrono::seconds’
  901 |     using seconds       = duration<_GLIBCXX_CHRONO_INT64_T>;
      |           ^~~~~~~
/usr/include/c++/15/bits/chrono.h:901:11: note:   ‘std::chrono::seconds’
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:31:52: error: template argument 1 is invalid
   31 |     std::unique_ptr<SimpleTimer<boost::posix_time::seconds>> timer;
      |                                                    ^~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:31:59: error: template argument 1 is invalid
   31 |     std::unique_ptr<SimpleTimer<boost::posix_time::seconds>> timer;
      |                                                           ^~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:31:59: error: template argument 2 is invalid
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp: In lambda function:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:87: error: ‘seconds’ is not a member of ‘boost::posix_time’
   96 |                         self->timer = std::make_unique<SimpleTimer<boost::posix_time::seconds>>(
      |                                                                                       ^~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:87: note: suggested alternatives:
/usr/include/c++/15/bits/chrono.h:901:11: note:   ‘std::chrono::seconds’
  901 |     using seconds       = duration<_GLIBCXX_CHRONO_INT64_T>;
      |           ^~~~~~~
/usr/include/c++/15/bits/chrono.h:901:11: note:   ‘std::chrono::seconds’
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:87: error: template argument 1 is invalid
   96 |                         self->timer = std::make_unique<SimpleTimer<boost::posix_time::seconds>>(
      |                                                                                       ^~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:96: error: no matching function for call to ‘make_unique<<expression error> >(const int&, ParentProcessWatcher::ParentProcessWatcherData::run()::<lambda(int, const std::error_code&)>::<lambda()>)’
   96 |                         self->timer = std::make_unique<SimpleTimer<boost::posix_time::seconds>>(
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
   97 |                             self->_poll_delay_secs, [=]() { self->run(); }
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
   98 |                         );
      |                         ~                                                                       
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:96: note: there are 3 candidates
In file included from /usr/include/c++/15/memory:80,
                 from /<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/ParentProcessWatcher.h:4,
                 from /<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:1:
/usr/include/c++/15/bits/unique_ptr.h:1083:5: note: candidate 1: ‘template<class _Tp, class ... _Args> std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...)’
 1083 |     make_unique(_Args&&... __args)
      |     ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1083:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:96: error: template argument 1 is invalid
   96 |                         self->timer = std::make_unique<SimpleTimer<boost::posix_time::seconds>>(
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
   97 |                             self->_poll_delay_secs, [=]() { self->run(); }
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
   98 |                         );
      |                         ~                                                                       
/usr/include/c++/15/bits/unique_ptr.h:1098:5: note: candidate 2: ‘template<class _Tp> std::__detail::__unique_ptr_array_t<_Tp> std::make_unique(size_t)’
 1098 |     make_unique(size_t __num)
      |     ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1098:5: note: candidate expects 1 argument, 2 provided
/usr/include/c++/15/bits/unique_ptr.h:1108:5: note: candidate 3: ‘template<class _Tp, class ... _Args> std::__detail::__invalid_make_unique_t<_Tp> std::make_unique(_Args&& ...)’ (deleted)
 1108 |     make_unique(_Args&&...) = delete;
      |     ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1108:5: note: template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:96:96: error: template argument 1 is invalid
   96 |                         self->timer = std::make_unique<SimpleTimer<boost::posix_time::seconds>>(
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
   97 |                             self->_poll_delay_secs, [=]() { self->run(); }
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
   98 |                         );
      |                         ~                                                                       
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp: In destructor ‘ParentProcessWatcher::~ParentProcessWatcher()’:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:123:21: error: base operand of ‘->’ is not a pointer
  123 |         d_ptr->timer->Stop();
      |                     ^~
make[5]: *** [CMakeFiles/lspcpp.dir/build.make:289: CMakeFiles/lspcpp.dir/src/lsp/ParentProcessWatcher.cpp.o] Error 1
make[5]: *** Waiting for unfinished jobs....
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o runtriple.o -c runtriple.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o runpath.o -c runpath.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o runpath3d.o -c runpath3d.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o runstring.o -c runstring.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o runmath.o -c runmath.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -DHAVE_CONFIG_H  -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -Wdate-time -D_FORTIFY_SOURCE=3 -I.  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -I/usr/include/eigen3  -I/usr/include/tirpc  -I/usr/include/gc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -std=c++17 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
 -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/asymptote-3.05+ds-2build1 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include 
 -o types.o -c types.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
make[4]: *** [CMakeFiles/Makefile2:130: CMakeFiles/lspcpp.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/LspCpp'
make[2]: *** [Makefile:173: LspCpp/liblspcpp.a] Error 2
make[2]: *** Waiting for unfinished jobs....

Thanks,

Anton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.