just as sys-devel/llvm, sys-libs/libomp pulls in dev-lang/perl and in addition perl-cleaner and portage into the the dependency tree when cross compiling Reproducible: Always Steps to Reproduce: emerge sys-libs/libomp with cross-emerge wrappers Actual Results: a total of nine packages get pulled in without being a compile time dependency emerge-armv7a-unknown-linux-gnueabihf -pv libomp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/iniparser-3.1-r1::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ USE="-doc -examples -static-libs" 0 KiB [ebuild N ] sys-apps/portage-2.3.69::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ USE="(ipc) native-extensions -build -doc -epydoc -gentoo-dev -rsync-verify (-selinux) -xattr" PYTHON_TARGETS="python3_6 (-pypy) -python2_7 -python3_5 (-python3_7)" 0 KiB [ebuild N ] app-portage/portage-utils-0.74::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ USE="-nls -static" 0 KiB [ebuild N ] dev-lang/perl-5.28.2-r1:0/5.28::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ USE="berkdb gdbm -debug -doc -ithreads" 0 KiB [ebuild N ] virtual/perl-Test-Harness-3.420.0-r1::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ 0 KiB [ebuild N ] virtual/perl-Data-Dumper-2.170.0::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ 0 KiB [ebuild N ] app-admin/perl-cleaner-2.27::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ 0 KiB [ebuild N ] perl-core/File-Temp-0.230.400-r1::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ 0 KiB [ebuild N ] virtual/perl-File-Temp-0.230.400-r5::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ 0 KiB [ebuild N *] sys-libs/libomp-9.0.0.9999::gentoo to /usr/armv7a-unknown-linux-gnueabihf/ USE="(-cuda) -hwloc -offload -ompt -test" 0 KiB Expected Results: dev-lang/perl should be put into BDEPEND, where it will hopefully rest in peace.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24fef54e59a70cf983fb6a3ecfcdbf61772e3792 commit 24fef54e59a70cf983fb6a3ecfcdbf61772e3792 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-09-17 05:51:05 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-09-17 05:51:05 +0000 sys-libs/libomp: Move CBUILD deps to BDEPEND Closes: https://bugs.gentoo.org/694582 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-libs/libomp/libomp-10.0.0.9999.ebuild | 4 ++-- sys-libs/libomp/libomp-9.0.0.9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
it seems you put all of them into BDEPEND, that's fine by me.
Sorry, didn't notice your PR. I'll take a look at other LLVM packages later today, and fix all of them.