Skip to content

Builds fails against asio 1.34.0 due to io_service removal #723

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

Open
meanjollies opened this issue Mar 14, 2025 · 3 comments
Open

Builds fails against asio 1.34.0 due to io_service removal #723

meanjollies opened this issue Mar 14, 2025 · 3 comments

Comments

@meanjollies
Copy link

asio 1.34.0 was recently released. Musikcube no longer builds successfully against it:

[  2%] Building CXX object src/plugins/alsaout/CMakeFiles/alsaout.dir/AlsaOut.cpp.o
In file included from /home/a/musikcube/src/musikcube-3.0.4/src/musikcore/pch.hpp:79,
                 from /home/a/musikcube/src/musikcube-3.0.4/src/musikcore/c_context.cpp:35:
/home/a/musikcube/src/musikcube-3.0.4/src/musikcore/library/Indexer.h:48:10: fatal error: asio/io_service.hpp: No such file or directory
   48 | #include <asio/io_service.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/musikcore/CMakeFiles/musikcore.dir/build.make:79: src/musikcore/CMakeFiles/musikcore.dir/c_context.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:603: src/musikcore/CMakeFiles/musikcore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  2%] Building CXX object src/plugins/supereqdsp/CMakeFiles/supereqdsp.dir/supereqdsp_plugin.cpp.o
[  3%] Building CXX object src/plugins/supereqdsp/CMakeFiles/supereqdsp.dir/SuperEqDsp.cpp.o
[  3%] Linking CXX shared library ../../../bin/plugins/libsupereqdsp.so
[  3%] Built target supereqdsp
[  4%] Linking CXX shared library ../../../bin/plugins/libalsaout.so
[  4%] Built target alsaout
[  5%] Linking CXX shared library ../../../bin/plugins/libtaglibreader.so
[  5%] Built target taglibreader
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

This appears to be due to the fact that io_service.hpp has been removed in 1.34.0 after being deprecated for some time.

@JesseDyer
Copy link

Encountering this also while installing in Arch Linux.

@jrmarino
Copy link

Ravenports hit this as well. Is there an ETA to support the latest release of asio?

@elig0n
Copy link

elig0n commented Apr 7, 2025

I have managed to overcome this on the AUR package by running git submodule init; git submodule update which clones src/3rdparty/asio and uses it

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

4 participants