/tmp $ touch test.C /tmp $ root test.C+ Info in <TUnixSystem::ACLiC>: creating shared library /tmp/./test_C.so <<< cling interactive line includer >>>:1:10: fatal error: '/opt/gentoo' file not found #include "/opt/gentoo" ^~~~~~~~~~~~~ /tmp/test_C_ACLiC_dict.cxx:40:10: fatal error: /opt/gentoo: No such file or directory #include "/opt/gentoo" ^~~~~~~~~~~~~ compilation terminated. x86_64-pc-linux-gnu-g++: error: /tmp/test_C_ACLiC_dict.o: No such file or directory Error in <ACLiC>: Compilation failed! Template from core/dictgen/src/rootcling_impl.cxx injects wrong '#include' clause.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f6e08f25278f0140d2b159d705777d5554f4e8 commit b2f6e08f25278f0140d2b159d705777d5554f4e8 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2018-04-16 06:31:03 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2018-04-16 06:31:19 +0000 sci-physics/root: disable cling -isystem injection. This fixes the ACLiC failure on Prefix. We use SYSROOT to guide llvm in ROOT to locate headers and libraries at build time. Such feature is not to be used at runtime. The patch has no effect to usual Gentoo, therefore applying it unconditionally. Closes: https://bugs.gentoo.org/653124 Package-Manager: Portage-2.3.28, Repoman-2.3.9 .../files/root-6.12.06_cling-runtime-sysroot.patch | 22 ++++++++++++++++++++++ sci-physics/root/root-6.12.06-r1.ebuild | 1 + 2 files changed, 23 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e10c187fd8c24ad9d865218d9fb8fb9099cc28 commit 30e10c187fd8c24ad9d865218d9fb8fb9099cc28 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2018-08-29 13:48:45 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2018-08-29 15:06:55 +0000 sci-physics/root: add back patch for bug 653124 The patch was dropped by mistake on a revision bump. Bug: https://bugs.gentoo.org/653124 Package-Manager: Portage-2.3.48, Repoman-2.3.10 sci-physics/root/{root-6.12.06-r6.ebuild => root-6.12.06-r7.ebuild} | 1 + sci-physics/root/{root-6.14.04-r1.ebuild => root-6.14.04-r2.ebuild} | 1 + sci-physics/root/root-9999.ebuild | 1 + 3 files changed, 3 insertions(+)