In file included from /var/tmp/portage/net-wireless/uhd-4.6.0.0/work/uhd-4.6.0.0/host/lib/deps/rpclib/include/rpc/detail/server_session.h:14, from /var/tmp/portage/net-wireless/uhd-4.6.0.0/work/uhd-4.6.0.0/host/lib/deps/rpclib/lib/rpc/server.cc:14: /var/tmp/portage/net-wireless/uhd-4.6.0.0/work/uhd-4.6.0.0/host/lib/deps/rpclib/include/rpc/detail/async_writer.h:22:41: error: expected ) before * token 22 | async_writer(boost::asio::io_service *io, | ~ ^~ | ) /var/tmp/portage/net-wireless/uhd-4.6.0.0/work/uhd-4.6.0.0/host/lib/deps/rpclib/include/rpc/detail/async_writer.h:72:18: error: io_service in namespace boost::asio does not name a type; did you mean use_service? 72 | boost::asio::io_service::strand write_strand_; | ^~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_hardened_systemd-20241206-162502 UNMASKED: >=app-text/dvisvgm-2024 >=app-text/ps2pkm-1.8_p20240311 >=app-text/texlive-2024 >=app-text/texlive-core-2024 >=dev-libs/kpathsea-6.4.0 >=dev-libs/ptexenc-1.4.6 dev-python/latexrestricted >=dev-tex/biber-2.20 >=dev-tex/biblatex-3.20 >=dev-tex/bibtexu-3.72_p20240311 >=dev-tex/glossaries-4.55 dev-tex/latex2pydata >=dev-tex/latexmk-4.85 >=dev-tex/minted-3.4.0 >=dev-tex/tex4ht-20240311 >=dev-texlive/texlive-basic-2024 >=dev-texlive/texlive-bibtexextra-2024 >=dev-texlive/texlive-binextra-2024 >=dev-texlive/texlive-context-2024 >=dev-texlive/texlive-fontsextra-2024 >=dev-texlive/texlive-fontsrecommended-2024 >=dev-texlive/texlive-fontutils-2024 >=dev-texlive/texlive-formatsextra-2024 >=dev-texlive/texlive-games-2024 >=dev-texlive/texlive-humanities-2024 >=dev-texlive/texlive-langarabic-2024 >=dev-texlive/texlive-langchinese-2024 >=dev-texlive/texlive-langcjk-2024 >=dev-texlive/texlive-langcyrillic-2024 >=dev-texlive/texlive-langczechslovak-2024 >=dev-texlive/texlive-langenglish-2024 >=dev-texlive/texlive-langeuropean-2024 >=dev-texlive/texlive-langfrench-2024 >=dev-texlive/texlive-langgerman-2024 >=dev-texlive/texlive-langgreek-2024 >=dev-texlive/texlive-langitalian-2024 >=dev-texlive/texlive-langjapanese-2024 >=dev-texlive/texlive-langkorean-2024 >=dev-texlive/texlive-langother-2024 >=dev-texlive/texlive-langpolish-2024 >=dev-texlive/texlive-langportuguese-2024 >=dev-texlive/texlive-langspanish-2024 >=dev-texlive/texlive-latex-2024 >=dev-texlive/texlive-latexextra-2024 >=dev-texlive/texlive-latexrecommended-2024 >=dev-texlive/texlive-luatex-2024 >=dev-texlive/texlive-mathscience-2024 >=dev-texlive/texlive-metapost-2024 >=dev-texlive/texlive-music-2024 >=dev-texlive/texlive-pictures-2024 >=dev-texlive/texlive-plaingeneric-2024 >=dev-texlive/texlive-pstricks-2024 >=dev-texlive/texlive-publishers-2024 >=dev-texlive/texlive-xetex-2024 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang version 19.1.5 llvm-config: 19.1.5 Python 3.12.8 go version go1.23.4 linux/amd64 [1] php8.2 * [2] php8.3 Available Ruby profiles: [1] ruby32 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 [2] rust-bin-1.83.0 [3] rust-1.83.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm HEAD of ::gentoo commit 90a2664d67433d1ff3e7394ef533020ae920e8ae Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 13 10:33:34 2024 +0000 2024-12-13 10:33:33 UTC emerge -qpvO =net-wireless/uhd-4.6.0.0
Created attachment 913925 [details] emerge-info.txt
Created attachment 913926 [details] emerge-history.txt.xz
Created attachment 913927 [details] environment
Created attachment 913928 [details] etc.clang.tar.xz
Created attachment 913929 [details] etc.portage.tar.xz
Created attachment 913930 [details] logs.tar.xz
Created attachment 913931 [details] net-wireless:uhd-4.6.0.0:20241213-113815.log
Created attachment 913932 [details] qlist-info.txt.xz
The same problem when building sci-libs/flann-1.9.1-r6: /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h: In member function 'void flann::mpi::Server<Distance>::run()': /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:122:48: error: 'io_service' is not a member of 'boost::asio'; did you mean 'use_service'? 122 | boost::shared_ptr<boost::asio::io_service> io_service; | ^~~~~~~~~~ | use_service /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:122:48: error: 'io_service' is not a member of 'boost::asio'; did you mean 'use_service'? 122 | boost::shared_ptr<boost::asio::io_service> io_service; | ^~~~~~~~~~ | use_service /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:122:58: error: template argument 1 is invalid 122 | boost::shared_ptr<boost::asio::io_service> io_service; | ^ /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:126:36: error: request for member 'reset' in 'io_service', which is of non-class type 'int' 126 | io_service.reset(new boost::asio::io_service()); | ^~~~~ /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:126:46: error: expected type-specifier 126 | io_service.reset(new boost::asio::io_service()); | ^~~~~ /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:127:58: error: invalid type argument of unary '*' (have 'int') 127 | acceptor.reset(new tcp::acceptor(*io_service, tcp::endpoint(tcp::v4(), port_))); | ^~~~~~~~~~~ /var/tmp/portage/sci-libs/flann-1.9.1-r6/work/flann-1.9.1/src/cpp/flann/mpi/server.h:133:60: error: invalid type argument of unary '*' (have 'int') 133 | sock.reset(new tcp::socket(*io_service)); | ^~~~~~~~~~~
The new dev-libs/boost-1.87.0 causes this.
(In reply to he.ousia from comment #9) > The same problem when building sci-libs/flann-1.9.1-r6: Please file a new bug for that.
* https://github.com/EttusResearch/uhd/commit/adfe953d965e58b5931c1b1968899492c8087cf6 * https://github.com/EttusResearch/uhd/commit/e75629c3cfb4d0a654648f775e65e79375cf4f13
Patch Nr 1 from #c12 needs some modification as client::post() methods in lib/deps/rpclib/lib/rpc/client.cc got changed in commit https://github.com/EttusResearch/uhd/commit/2dc7b3e572830c71d49ee0648eef445e7f3abfd6 before from capture default [=] to explicit capture.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a35c334b32d137eb19a6581724815d24eeffb9ac commit a35c334b32d137eb19a6581724815d24eeffb9ac Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2025-02-24 12:28:48 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2025-02-24 12:29:53 +0000 net-wireless/uhd: Fix build with boost-1.87.0 Closes: https://bugs.gentoo.org/946371 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> .../uhd/files/uhd-4.6.0.0-boost-1.87-1.patch | 938 +++++++++++++++++++++ .../uhd/files/uhd-4.6.0.0-boost-1.87-2.patch | 27 + net-wireless/uhd/uhd-4.6.0.0.ebuild | 4 +- 3 files changed, 968 insertions(+), 1 deletion(-)