Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818208 - sys-process/htop: automagic libunwind dependency
Summary: sys-process/htop: automagic libunwind dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-15 04:15 UTC by Sam James
Modified: 2021-12-15 03:32 UTC (History)
4 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 04:15:27 UTC
Introduced in https://github.com/htop-dev/htop/pull/630.

Noticed after updating:
 * Messages for package sys-process/htop-3.1.1:

 * VDB: detected possibly incorrect RDEPEND (sys-process/htop-3.1.1)
 *  > sys-libs/llvm-libunwind

Will need USE=llvm-libunwind and a := dep on both libunwind and llvm-libunwind depending on if the USE flag is enabled.

No idea if we want to make the actual functionality conditional or not, probably do?
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-11-16 18:03:13 UTC
I hit this today, too (after removing libunwind):

> !!! existing preserved libs:
> >>> package: sys-libs/libunwind-1.5.0-r1
>  *  - /usr/lib64/libunwind.so.8
>  *  - /usr/lib64/libunwind.so.8.0.1
>  *      used by /usr/bin/htop (sys-process/htop-3.1.1-r1)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-28 02:43:16 UTC
Ping.
Comment 3 Larry the Git Cow gentoo-dev 2021-12-15 03:32:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50507cc94f2a2b4536c742b7b183daf8b6e55231

commit 50507cc94f2a2b4536c742b7b183daf8b6e55231
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-15 03:27:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-15 03:32:05 +0000

    sys-process/htop: fix automagic libunwind dependency
    
    Maintainer timeout.
    
    Note that while libunwind is conditional, the functionality isn't:
    for musl, we're going to have to force USE=unwind (use libunwind or llvm-libunwind),
    while on glibc, it's fine to fallback to backtrace.h/execinfo (doesn't exist on musl).
    
    Closes: https://bugs.gentoo.org/818208
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.use.force                     | 5 +++++
 sys-process/htop/{htop-3.1.2.ebuild => htop-3.1.2-r1.ebuild} | 7 ++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)