Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771792 - dev-util/include-what-you-use should depend on sys-devel/clang subslot
Summary: dev-util/include-what-you-use should depend on sys-devel/clang subslot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 00:26 UTC by Daniel M. Weeks
Modified: 2021-02-25 07:49 UTC (History)
1 user (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 Daniel M. Weeks 2021-02-21 00:26:33 UTC
!!! existing preserved libs:
>>> package: sys-devel/clang-11.1.0
 *  - /usr/lib/llvm/11/lib64/libclang-cpp.so.11
 *      used by /usr/lib/llvm/11/bin/include-what-you-use (dev-util/include-what-you-use-11.0)

Reproducible: Always
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2021-02-21 09:37:01 UTC
Yeah, good catch. While at it we could use llvm.eclass to support more than one version.

Do you want to try to fix it yourself? cvise should be a good example to steal from.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-25 07:49:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517d1e5f010273189e162e4bd64da8c2a58f7c72

commit 517d1e5f010273189e162e4bd64da8c2a58f7c72
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-02-25 07:48:44 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-02-25 07:48:57 +0000

    dev-util/include-what-you-use: use clang:= depend
    
    include-what-you-use links to clang and llvm libraries.
    Needs a rebuild when SONAME changes.
    
    Reported-by: Daniel M. Weeks
    Closes: https://bugs.gentoo.org/771792
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 ...you-use-11.0.ebuild => include-what-you-use-11.0-r1.ebuild} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)