x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -ftree-vectorize -ffast-math -std=c++20 -Wall -Wextra -Wshadow -Wimplicit-fallthrough -c -o global.o global.cpp In file included from /usr/include/boost/range/detail/any_iterator.hpp:22, from ./curses/menu.h:25, from screens/screen.h:24, from global.h:28, from global.cpp:21: /usr/include/boost/range/detail/any_iterator_interface.hpp:34:13: error: template argument 2 is invalid [-Wtemplate-body] 34 | >::type type; | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_hardened_systemd-20250502-001502 KEYWORDED/UNMASKED [meson] Please re-assign to ztrawhcse@ if it works with regular meson. <dev-build/meson-9999 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 20.1.4 llvm-config: 20.1.4 Python 3.13.3 go version go1.24.2 linux/amd64 [1] php8.4 * Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.86.0 [2] rust-1.86.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.27_p6 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.15_p6 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.7_p6 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.452_p09 [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 f8681f30b14240e0771f475c415afa1958278673 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue May 6 15:09:22 2025 +0000 2025-05-06 15:09:21 UTC The tinderbox task was: dev-libs/libixion emerge -qpvO =media-sound/ncmpcpp-0.10.1-r1
Created attachment 927890 [details] emerge-info.txt
Created attachment 927891 [details] emerge-history.txt.xz
Created attachment 927892 [details] environment
Created attachment 927893 [details] etc.clang.tar.xz
Created attachment 927894 [details] etc.portage.tar.xz
Created attachment 927895 [details] logs.tar.xz
Created attachment 927896 [details] media-sound:ncmpcpp-0.10.1-r1:20250506-162531.log
Created attachment 927897 [details] qlist-info.txt.xz
Created attachment 927898 [details] temp.tar.xz
Probably caused by 1.88 boost but I need to research it further.
https://github.com/boostorg/range/commit/1d124e8869a9eb17a235f33d8a7a9f203d09d44b should fix it.
I am not sure if it will: the problem here is ``` In file included from /usr/include/boost/range/detail/any_iterator.hpp:22, from ./curses/menu.h:25, from screens/screen.h:24, from global.h:28, from global.cpp:21: /usr/include/boost/range/detail/any_iterator_interface.hpp:34:13: error: template argument 2 is invalid [-Wtemplate-body] 34 | >::type type; | ^ /usr/include/boost/range/detail/any_iterator_interface.hpp:34:14: error: expected identifier before ‘::’ token [-Wtemplate-body] 34 | >::type type; | ^~ /usr/include/boost/range/detail/any_iterator_interface.hpp:34:14: error: typedef name may not be a nested-name-specifier [-Wtemplate-body] /usr/include/boost/range/detail/any_iterator_interface.hpp:34:16: error: expected ‘;’ at end of member declaration [-Wtemplate-body] 34 | >::type type; | ^~~~ | ; /usr/include/boost/range/detail/any_iterator_interface.hpp:34:21: error: declaration does not declare anything [-Wtemplate-body] 34 | >::type type; | ^~~~ ``` and the patch is for "no template named 'add_const'". If I wanted to check I'd have to build against boost 1.88 built with this patch, right? If so, ss this a boost or ncmpcpp issue?
(In reply to Filip Kobierski from comment #12) > I am not sure if it will: the problem here is > ``` > In file included from /usr/include/boost/range/detail/any_iterator.hpp:22, > from ./curses/menu.h:25, > from screens/screen.h:24, > from global.h:28, > from global.cpp:21: > /usr/include/boost/range/detail/any_iterator_interface.hpp:34:13: error: > template argument 2 is invalid [-Wtemplate-body] > 34 | >::type type; > | ^ > /usr/include/boost/range/detail/any_iterator_interface.hpp:34:14: error: > expected identifier before ‘::’ token [-Wtemplate-body] > 34 | >::type type; > | ^~ > /usr/include/boost/range/detail/any_iterator_interface.hpp:34:14: error: > typedef name may not be a nested-name-specifier [-Wtemplate-body] > /usr/include/boost/range/detail/any_iterator_interface.hpp:34:16: error: > expected ‘;’ at end of member declaration [-Wtemplate-body] > 34 | >::type type; > | ^~~~ > | ; > /usr/include/boost/range/detail/any_iterator_interface.hpp:34:21: error: > declaration does not declare anything [-Wtemplate-body] > 34 | >::type type; > | ^~~~ > ``` > and the patch is for "no template named 'add_const'". > Look at the actual line(s) around that in any_iterator_interface.hpp. > If I wanted to check I'd have to build against boost 1.88 built with this > patch, right? Boost. > If so, ss this a boost or ncmpcpp issue? If it works, then it'sa Boost issue.
With the fix in the linked PR I can successfully build ncmpcpp-0.10.1-r1.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad944f5c745adb8b2f682ce6701263f489e68a3 commit fad944f5c745adb8b2f682ce6701263f489e68a3 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2025-05-07 10:28:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-07 10:50:15 +0000 dev-libs/boost: add include for add_const to range library Closes: https://bugs.gentoo.org/955526 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41966 Closes: https://github.com/gentoo/gentoo/pull/41966 Signed-off-by: Sam James <sam@gentoo.org> ...{boost-1.88.0.ebuild => boost-1.88.0-r1.ebuild} | 1 + .../files/boost-1.88.0-range-any_iterator.patch | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+)