Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

games-emulation/citra: Compilation fails #394

Closed
catfromplan9 opened this issue Nov 5, 2024 · 3 comments
Closed

games-emulation/citra: Compilation fails #394

catfromplan9 opened this issue Nov 5, 2024 · 3 comments

Comments

@catfromplan9
Copy link

In file included from /usr/include/boost/asio.hpp:69,
                 from /var/tmp/portage/games-emulation/citra-20241012/work/citra-cdce02607abf1b43cdf93c6f367825158f23a467/src/input_common/udp/client.cpp:11:
/usr/include/boost/asio/co_composed.hpp:849:13: error: ‘async_operation’ has not been declared
  849 |   template <async_operation Op>
      |             ^~~~~~~~~~~~~~~
/usr/include/boost/asio/co_composed.hpp:850:24: error: ‘Op’ has not been declared
  850 |   auto await_transform(Op&& op
      |                        ^~
/usr/include/boost/asio/co_composed.hpp: In member function ‘auto boost::asio::detail::co_composed_promise<Executors, Handler, Return>::await_transform(int&&)’:
/usr/include/boost/asio/co_composed.hpp:862:19: error: expected ‘)’ before ‘&&’ token
  862 |       awaitable(Op&& op, co_composed_promise& promise
      |                   ^~
/usr/include/boost/asio/co_composed.hpp:862:16: note: to match this ‘(’
  862 |       awaitable(Op&& op, co_composed_promise& promise
      |                ^
/usr/include/boost/asio/co_composed.hpp:915:7: error: ‘Op’ does not name a type
  915 |       Op&& op_;
      |       ^~
/usr/include/boost/asio/co_composed.hpp:925:34: error: ‘Op’ was not declared in this scope; did you mean ‘op’?
  925 |     return awaitable{static_cast<Op&&>(op), *this
      |                                  ^~
      |                                  op
/usr/include/boost/asio/co_composed.hpp:925:21: error: expected primary-expression before ‘{’ token
  925 |     return awaitable{static_cast<Op&&>(op), *this
      |                     ^
/usr/include/boost/asio/co_composed.hpp:925:21: error: expected ‘;’ before ‘{’ token
/usr/include/boost/asio/co_composed.hpp:925:34: error: ‘Op’ does not name a type
  925 |     return awaitable{static_cast<Op&&>(op), *this
      |                                  ^~
/usr/include/boost/asio/co_composed.hpp:925:36: error: expected ‘>’ before ‘&&’ token
  925 |     return awaitable{static_cast<Op&&>(op), *this
      |                                    ^~
/usr/include/boost/asio/co_composed.hpp:925:36: error: expected ‘(’ before ‘&&’ token
/usr/include/boost/asio/co_composed.hpp:925:38: error: expected identifier before ‘>’ token
  925 |     return awaitable{static_cast<Op&&>(op), *this
      |                                      ^
/usr/include/boost/asio/co_composed.hpp:931:7: error: expected ‘)’ before ‘}’ token
  931 |       };
      |       ^

@catfromplan9
Copy link
Author

If it is relevant, I am using dev-libs/boost-1.86.0

@catfromplan9
Copy link
Author

Downgrading boost to 1.85.0 fixed this problem, consider updating the ebuild to explicitly depend on boost 1.85.0

@Tatsh
Copy link
Owner

Tatsh commented Nov 5, 2024

It's already a known issue. The plan is to fix the code for Boost 1.86.0.

@Tatsh Tatsh closed this as completed in f27c3f3 Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants