Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909167 - dev-util/perf: wrong dependencies
Summary: dev-util/perf: wrong dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-26 04:19 UTC by Matt Turner
Modified: 2023-06-28 17:33 UTC (History)
3 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 Matt Turner gentoo-dev 2023-06-26 04:19:47 UTC
iwdevtools reports

 * VDB: detected possibly incorrect RDEPEND (dev-util/perf-6.3)
 * app-arch/zstd      | app-arch/zstd:=
 *                    > dev-libs/openssl:=
 *                    > sys-libs/libcap
 * virtual/libcrypt:= < 

scanelf -n /usr/bin/trace says

> ET_DYN libm.so.6,libelf.so.1,libdw.so.1,libcrypto.so.3,libbfd-2.39.0.gentoo-sys-libs-binutils-libs-st-def.so,libopcodes-2.39.0.gentoo-sys-libs-binutils-libs-st-def.so,libz.so.1,liblzma.so.5,libzstd.so.1,libcap.so.2,libc.so.6 /usr/bin/trace 

So I suspect that someone mistook 'libcrypto.so' for 'libcrypt.so' and put virtual/libcrypt in RDEPEND instead of dev-libs/openssl.

As a result of the missing openssl dependency, a subslot rebuild is not triggered when updating from openssl-1 to openssl-3.
Comment 1 Larry the Git Cow gentoo-dev 2023-06-28 17:33:29 UTC
The bug has been closed via the following commit(s):

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

commit e56508f3b5ca997875ab81ace43b72f8d2983958
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-06-28 02:52:04 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-06-28 17:33:09 +0000

    dev-util/perf: Fix dependency for USE=crypt
    
    perf links with libcrypto.so (from dev-libs/openssl), not libcrypt.so
    (from virtual/libcrypt).
    
    Closes: https://bugs.gentoo.org/909167
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/perf/perf-6.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343324ce00bb07df8ce4e1a567e47bea6a7ffd2c

commit 343324ce00bb07df8ce4e1a567e47bea6a7ffd2c
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-06-28 02:48:25 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-06-28 17:33:09 +0000

    dev-util/perf: Add IUSE=caps
    
    Fixes an automatic dependency on sys-libs/libcap.
    
    Bug: https://bugs.gentoo.org/909167
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/perf/perf-6.3-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

commit a9ab53f6998addb211fb7140f76078e6343d43f8
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-06-28 02:52:38 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-06-28 17:33:09 +0000

    dev-util/perf: Subscribe to subslot of app-arch/zstd
    
    Bug: https://bugs.gentoo.org/909167
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/perf/perf-6.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)