Wxparaver broken in NixOS 25.05 #8

Closed
opened 2025-07-21 12:36:54 +02:00 by rarias · 7 comments
Owner
error: builder for '/nix/store/8vahimn23xil886f82274i2f7xmbj19p-wxparaver-4.11.2.drv' failed with exit code 2;
       last 25 log lines:
       >   164 |         boost::asio::async_connect( socket_.lowest_layer(),
       >   165 |                                     endpoint_iterator,
       >   166 |                                     boost::bind( &client::handle_connect,
       >   167 |                                                  this,
       >   168 |                                                  boost::asio::placeholders::error ) );
       > include/boost/asio/connect.hpp:855:13: note: candidate: 'template<class Protocol, class Executor, class EndpointSequence, class ConnectCondition, class RangeConnectToken> decltype (async_initiate<RangeConnectToken, void(boost::system::error_code, typename Protocol::endpoint)>(declval<boost::asio::detail::initiate_async_range_connect<Protocol, Executor> >(), token, endpoints, connect_condition)) boost::asio::async_connect(basic_socket<Protocol, Executor>&, const EndpointSequence&, ConnectCondition, RangeConnectToken&&, constraint_t<((bool)is_endpoint_sequence<EndpointSequence>::value)>, constraint_t<((bool)is_connect_condition<ConnectCondition, decltype (declval<const EndpointSequence&>().begin())>::value)>)'
       > include/boost/asio/connect.hpp:855:13: note:   template argument deduction/substitution failed:
       > include/boost/asio/connect.hpp:995:13: note: candidate: 'template<class Protocol, class Executor, class Iterator, class ConnectCondition, class IteratorConnectToken> decltype (async_initiate<IteratorConnectToken, void(boost::system::error_code, Iterator)>(declval<boost::asio::detail::initiate_async_iterator_connect<Protocol, Executor> >(), token, begin, end, connect_condition)) boost::asio::async_connect(basic_socket<Protocol, Executor>&, Iterator, Iterator, ConnectCondition, IteratorConnectToken&&, constraint_t<((bool)is_connect_condition<ConnectCondition, Iterator>::value)>)'
       > include/boost/asio/connect.hpp:995:13: note:   candidate expects 4 arguments, 3 provided
       > tutorialsdownload.cpp: In member function 'bool TutorialsDownload::downloadTutorialsList() const':
       > tutorialsdownload.cpp:539: error: 'io_service' is not a member of 'boost::asio'; did you mean 'use_service'?
       >   539 |     boost::asio::io_service io_service;
       > tutorialsdownload.cpp:540: error: 'io_service' was not declared in this scope
       >   540 |     client c( io_service, ctx, server, path, storeFile, nullptr );
       > tutorialsdownload.cpp: In member function 'bool TutorialsDownload::download(const TutorialData&, std::string&, TutorialsProgress&) const':
       > tutorialsdownload.cpp:583: error: 'io_service' is not a member of 'boost::asio'; did you mean 'use_service'?
       >   583 |     boost::asio::io_service io_service;
       > tutorialsdownload.cpp:584: error: 'io_service' was not declared in this scope
       >   584 |     client c( io_service, ctx, std::string( server.mb_str() ), std::string( path.mb_str() ), storeFile, &progress );
       > make[2]: *** [Makefile:495: tutorialsdownload.o] Error 1
       > make[2]: *** Waiting for unfinished jobs....
       > make[2]: Leaving directory '/build/source/src'
       > make[1]: *** [Makefile:399: all-recursive] Error 1
       > make[1]: Leaving directory '/build/source'
       > make: *** [Makefile:340: all] Error 2
       For full logs, run:
         nix log /nix/store/8vahimn23xil886f82274i2f7xmbj19p-wxparaver-4.11.2.drv

``` error: builder for '/nix/store/8vahimn23xil886f82274i2f7xmbj19p-wxparaver-4.11.2.drv' failed with exit code 2; last 25 log lines: > 164 | boost::asio::async_connect( socket_.lowest_layer(), > 165 | endpoint_iterator, > 166 | boost::bind( &client::handle_connect, > 167 | this, > 168 | boost::asio::placeholders::error ) ); > include/boost/asio/connect.hpp:855:13: note: candidate: 'template<class Protocol, class Executor, class EndpointSequence, class ConnectCondition, class RangeConnectToken> decltype (async_initiate<RangeConnectToken, void(boost::system::error_code, typename Protocol::endpoint)>(declval<boost::asio::detail::initiate_async_range_connect<Protocol, Executor> >(), token, endpoints, connect_condition)) boost::asio::async_connect(basic_socket<Protocol, Executor>&, const EndpointSequence&, ConnectCondition, RangeConnectToken&&, constraint_t<((bool)is_endpoint_sequence<EndpointSequence>::value)>, constraint_t<((bool)is_connect_condition<ConnectCondition, decltype (declval<const EndpointSequence&>().begin())>::value)>)' > include/boost/asio/connect.hpp:855:13: note: template argument deduction/substitution failed: > include/boost/asio/connect.hpp:995:13: note: candidate: 'template<class Protocol, class Executor, class Iterator, class ConnectCondition, class IteratorConnectToken> decltype (async_initiate<IteratorConnectToken, void(boost::system::error_code, Iterator)>(declval<boost::asio::detail::initiate_async_iterator_connect<Protocol, Executor> >(), token, begin, end, connect_condition)) boost::asio::async_connect(basic_socket<Protocol, Executor>&, Iterator, Iterator, ConnectCondition, IteratorConnectToken&&, constraint_t<((bool)is_connect_condition<ConnectCondition, Iterator>::value)>)' > include/boost/asio/connect.hpp:995:13: note: candidate expects 4 arguments, 3 provided > tutorialsdownload.cpp: In member function 'bool TutorialsDownload::downloadTutorialsList() const': > tutorialsdownload.cpp:539: error: 'io_service' is not a member of 'boost::asio'; did you mean 'use_service'? > 539 | boost::asio::io_service io_service; > tutorialsdownload.cpp:540: error: 'io_service' was not declared in this scope > 540 | client c( io_service, ctx, server, path, storeFile, nullptr ); > tutorialsdownload.cpp: In member function 'bool TutorialsDownload::download(const TutorialData&, std::string&, TutorialsProgress&) const': > tutorialsdownload.cpp:583: error: 'io_service' is not a member of 'boost::asio'; did you mean 'use_service'? > 583 | boost::asio::io_service io_service; > tutorialsdownload.cpp:584: error: 'io_service' was not declared in this scope > 584 | client c( io_service, ctx, std::string( server.mb_str() ), std::string( path.mb_str() ), storeFile, &progress ); > make[2]: *** [Makefile:495: tutorialsdownload.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory '/build/source/src' > make[1]: *** [Makefile:399: all-recursive] Error 1 > make[1]: Leaving directory '/build/source' > make: *** [Makefile:340: all] Error 2 For full logs, run: nix log /nix/store/8vahimn23xil886f82274i2f7xmbj19p-wxparaver-4.11.2.drv ```
Collaborator

Using boost186 should solve it

Using `boost186` should solve it
Collaborator

I have added the fix in #6, but you can include it in #5 instead

I have added the fix in #6, but you can include it in #5 instead
Author
Owner

Using boost186 should solve it

I have added the fix in #6, but you can include it in #5 instead

Thanks, I have cherry picked it and it builds fine. Do you want to try luck upstream so they support the newer boost? Nothing here https://github.com/bsc-performance-tools/paraver-kernel/commits/devel/ or here https://github.com/bsc-performance-tools/wxparaver/commits/devel/

> Using `boost186` should solve it > > I have added the fix in #6, but you can include it in #5 instead Thanks, I have cherry picked it and it builds fine. Do you want to try luck upstream so they support the newer boost? Nothing here https://github.com/bsc-performance-tools/paraver-kernel/commits/devel/ or here https://github.com/bsc-performance-tools/wxparaver/commits/devel/
Collaborator

Do you want to try luck upstream so they support the newer boost? Nothing here https://github.com/bsc-performance-tools/paraver-kernel/commits/devel/ or here https://github.com/bsc-performance-tools/wxparaver/commits/devel/

Someone already filled an issue back in March.

Looking at repology, from major distros only rolling release ones seem to be on +1.87 (arch and tumbleweed), so builds should already be breaking there.

In fact, the AUR package has a proper patch for asio

> Do you want to try luck upstream so they support the newer boost? Nothing here https://github.com/bsc-performance-tools/paraver-kernel/commits/devel/ or here https://github.com/bsc-performance-tools/wxparaver/commits/devel/ Someone already filled an [issue back in March][1]. Looking at [repology][2], from major distros only rolling release ones seem to be on +1.87 (arch and tumbleweed), so builds should already be breaking there. In fact, the AUR package [has a proper patch for asio][3] [1]: https://github.com/bsc-performance-tools/wxparaver/issues/21 [2]: https://repology.org/project/boost/versions [3]: https://aur.archlinux.org/cgit/aur.git/commit/?h=wxparaver&id=b0dcd08c472536e0a1a3cc1dfbc4c77d9f5e0d47
Author
Owner

Do you want to try luck upstream so they support the newer boost? Nothing here https://github.com/bsc-performance-tools/paraver-kernel/commits/devel/ or here https://github.com/bsc-performance-tools/wxparaver/commits/devel/

Someone already filled an issue back in March.

Nice!

Looking at repology, from major distros only rolling release ones seem to be on +1.87 (arch and tumbleweed), so builds should already be breaking there.

In fact, the AUR package has a proper patch for asio

We should consider adding Joan on the payroll, he has fixed so many issues that are not even merged and I believe he is not even actively using it.

Would it be a good idea to apply it and use the latest boost?

> > Do you want to try luck upstream so they support the newer boost? Nothing here https://github.com/bsc-performance-tools/paraver-kernel/commits/devel/ or here https://github.com/bsc-performance-tools/wxparaver/commits/devel/ > > Someone already filled an [issue back in March][1]. Nice! > Looking at [repology][2], from major distros only rolling release ones seem to be on +1.87 (arch and tumbleweed), so builds should already be breaking there. > > In fact, the AUR package [has a proper patch for asio][3] > > [1]: https://github.com/bsc-performance-tools/wxparaver/issues/21 > [2]: https://repology.org/project/boost/versions > [3]: https://aur.archlinux.org/cgit/aur.git/commit/?h=wxparaver&id=b0dcd08c472536e0a1a3cc1dfbc4c77d9f5e0d47 We should consider adding Joan on the payroll, he has fixed so many issues that are not even merged and I believe he is not even actively using it. Would it be a good idea to apply it and use the latest boost?
Collaborator

Would it be a good idea to apply it and use the latest boost?

I think so. Mainly as a "canary", so we don't have to remember to change boost back once upstream fixes it.

> Would it be a good idea to apply it and use the latest boost? I think so. Mainly as a "canary", so we don't have to remember to change boost back once upstream fixes it.
Author
Owner

Fixed in #5 and #6

Fixed in https://jungle.bsc.es/git/rarias/bscpkgs/pulls/5 and https://jungle.bsc.es/git/rarias/bscpkgs/pulls/6
This repo is archived. You cannot comment on issues.
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/bscpkgs#8
No description provided.