https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-physics/root-6.28.04 fails to compile (PYTHON-3.12-SYSTEM). Discovered on: amd64 (internal ref: python-3.12_tinderbox) NOTE: (PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Created attachment 865788 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: -- And if not found, will invoke: '/usr/bin/x86_64-pc-linux-gnu-g++ ' for them. -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) Error: Error loading the default rootcling header files. /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/utility.h:219:27: error: redefinition of '__is_in_place_type_v<in_place_type_t<_Tp>>'
I reproduced this bug with GCC-13. But after switching to GCC-12, by CC=${CHOST}-gcc-12 CXX=${CHOST}-g++-12 F77=${CHOST}-gfortran-12 FC=${CHOST}-gfortran-12 LDFLAGS="-Wl,-rpath,${EPREFIX}/usr/lib/gcc/${CHOST}/12" the error disappears. I somehow relates to https://root-forum.cern.ch/t/failing-to-build-root-6-24-06-and-root-6-26-02-on-fedora-36/49971 although the reference discusses GCC-12.
Seems to have fix in upstream: https://github.com/root-project/root/issues/12897 https://github.com/root-project/root/pull/12901
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eadc14ff0e8063575938e7aa2010c8bb6f3c342 commit 3eadc14ff0e8063575938e7aa2010c8bb6f3c342 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2023-09-11 11:44:18 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2023-09-11 11:45:34 +0000 sci-physics/root: add 6.28.06, drop 6.28.04 Closes: https://bugs.gentoo.org/910540 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> sci-physics/root/Manifest | 2 +- sci-physics/root/{root-6.28.04.ebuild => root-6.28.06.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-)