#1110586 asymptote ftbfs with boost1.88

#1110586#5
Date:
2025-08-09 07:36:23 UTC
From:
To:
asymptote ftbfs with boost1.88:

[...]
[ 86%] Building CXX object
CMakeFiles/lspcpp.dir/src/lsp/ProtocolJsonHandler.cpp.o
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:25:37: error:
‘opstream’ is not a member of ‘boost::process’
    25 |     std::shared_ptr<boost::process::opstream> write_to_service;
       |                                     ^~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:25:45: error:
template argument 1 is invalid
    25 |     std::shared_ptr<boost::process::opstream> write_to_service;
       |                                             ^
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:26:37: error:
‘ipstream’ is not a member of ‘boost::process’
    26 |     std::shared_ptr<boost::process::ipstream> read_from_service;
       |                                     ^~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:26:45: error:
template argument 1 is invalid
    26 |     std::shared_ptr<boost::process::ipstream> read_from_service;
       |                                             ^
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:30:37: error:
‘child’ is not a member of ‘boost::process’
    30 |     std::shared_ptr<boost::process::child> c;
       |                                     ^~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:30:42: error:
template argument 1 is invalid
    30 |     std::shared_ptr<boost::process::child> c;
       |                                          ^
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp: In member
function ‘void ParentProcessWatcher::ParentProcessWatcherData::run()’:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:45:61: error:
‘opstream’ is not a member of ‘boost::process’
    45 |         write_to_service =
std::make_shared<boost::process::opstream>();
       |
^~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:45:70: error:
no matching function for call to ‘make_shared<<expression error> >()’
    45 |         write_to_service =
std::make_shared<boost::process::opstream>();
       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:45:70: note:
there is 1 candidate
In file included from /usr/include/c++/15/memory:82,
                  from
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/ParentProcessWatcher.h:4,
                  from
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:1:
/usr/include/c++/15/bits/shared_ptr.h:1003:5: note: candidate 1:
‘template<class _Tp, class ... _Args> std::shared_ptr<typename
std::enable_if<(! std::is_array<_Tp>::value), _Tp>::type>
std::make_shared(_Args&& ...)’
  1003 |     make_shared(_Args&&... __args)
       |     ^~~~~~~~~~~
/usr/include/c++/15/bits/shared_ptr.h:1003:5: note: template argument
deduction/substitution failed:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:45:70: error:
template argument 1 is invalid
    45 |         write_to_service =
std::make_shared<boost::process::opstream>();
       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:46:62: error:
‘ipstream’ is not a member of ‘boost::process’
    46 |         read_from_service =
std::make_shared<boost::process::ipstream>();
       |
^~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:46:71: error:
no matching function for call to ‘make_shared<<expression error> >()’
    46 |         read_from_service =
std::make_shared<boost::process::ipstream>();
       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:46:71: note:
there is 1 candidate
/usr/include/c++/15/bits/shared_ptr.h:1003:5: note: candidate 1:
‘template<class _Tp, class ... _Args> std::shared_ptr<typename
std::enable_if<(! std::is_array<_Tp>::value), _Tp>::type>
std::make_shared(_Args&& ...)’
  1003 |     make_shared(_Args&&... __args)
       |     ^~~~~~~~~~~
/usr/include/c++/15/bits/shared_ptr.h:1003:5: note: template argument
deduction/substitution failed:
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:46:71: error:
template argument 1 is invalid
    46 |         read_from_service =
std::make_shared<boost::process::ipstream>();
       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:52:34: error:
‘child’ is not a member of ‘bp’
    52 |         c = std::make_shared<bp::child>(
       |                                  ^~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:57:17: error:
‘std_out’ is not a member of ‘bp’
    57 |             bp::std_out > *read_from_service, bp::std_in <
*write_to_service,
       |                 ^~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:57:27: error:
invalid type argument of unary ‘*’ (have ‘int’)
    57 |             bp::std_out > *read_from_service, bp::std_in <
*write_to_service,
       |                           ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:57:51: error:
‘std_in’ is not a member of ‘bp’
    57 |             bp::std_out > *read_from_service, bp::std_in <
*write_to_service,
       |                                                   ^~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:57:60: error:
invalid type argument of unary ‘*’ (have ‘int’)
    57 |             bp::std_out > *read_from_service, bp::std_in <
*write_to_service,
       |
^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/LspCpp/src/lsp/ParentProcessWatcher.cpp:58:17: error:
‘on_exit’ is not a member of ‘bp’; did you mean ‘on_exit’?
    58 |             bp::on_exit(
       |                 ^~~~~~~
In file included from /usr/include/c++/15/cstdlib:83,
                  from /usr/include/c++/15/ext/string_conversions.h:45,
                  from /usr/include/c++/15/bits/basic_string.h:4444,
                  from /usr/include/c++/15/string:56,
                  from
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/JsonRpc/MessageIssue.h:2,
                  from
/<<PKGBUILDDIR>>/LspCpp/include/LibLsp/lsp/ParentProcessWatcher.h:3:
/usr/include/stdlib.h:749:12: note: ‘on_exit’ declared here
   749 | extern int on_exit (void (*__func) (int __status, void *__arg),
void *__arg)
       |            ^~~~~~~
make[5]: *** [CMakeFiles/lspcpp.dir/build.make:289:
CMakeFiles/lspcpp.dir/src/lsp/ParentProcessWatcher.cpp.o] Error 1

#1110586#10
Date:
2025-08-12 21:01:09 UTC
From:
To:
forwarded -1 https://github.com/vectorgraphics/asymptote/issues/557

Already reported.

09.08.2025 09:39:21 Matthias Klose <doko@debian.org>:

#1110586#15
Date:
2025-08-12 21:02:01 UTC
From:
To:
Already reported.

09.08.2025 09:39:21 Matthias Klose <doko@debian.org>: