Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694582 - sys-libs/libomp pulls in dev-lang/perl and friends during cross compile
Summary: sys-libs/libomp pulls in dev-lang/perl and friends during cross compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-09-16 20:56 UTC by tt_1
Modified: 2019-09-17 05:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2019-09-16 20:56:38 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2019-09-17 05:51:21 UTC
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(-)
Comment 2 tt_1 2019-09-17 05:57:52 UTC
it seems you put all of them into BDEPEND, that's fine by me.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-17 05:58:56 UTC
Sorry, didn't notice your PR.  I'll take a look at other LLVM packages later today, and fix all of them.