Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 688676

Summary: dev-util/perf[perl] needs to be rebuilt by perl-cleaner
Product: Gentoo Linux Reporter: Maciej S. Szmigiero <mail>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: dlan, kentnl, perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=617972
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 697596    

Description Maciej S. Szmigiero 2019-06-25 14:33:31 UTC
After each perl update I get the following message from perl-cleaner:
 * Please file a bug on http://bugs.gentoo.org/ and
 * report that perl-cleaner needed to reinstall the following list:
 *    dev-util/perf:0

Probably only happens when dev-util/perf has "perl" USE flag enabled.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2019-06-25 15:01:27 UTC
Its worse than that :(

Seems USE="perl" makes perf link against libperl:

 ldd /usr/bin/perf
	linux-vdso.so.1 (0x00007ffe3cff0000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f59edea0000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f59ede96000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f59edd53000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f59edd4d000)
	libelf.so.1 => /usr/lib64/libelf.so.1 (0x00007f59edb35000)
	libdw.so.1 => /usr/lib64/libdw.so.1 (0x00007f59ed8e5000)
	libperl.so.5.30 => /usr/lib64/libperl.so.5.30 (0x00007f59ed5a0000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f59ed3d0000)
	libbfd-2.32.0.gentoo-sys-libs-binutils-libs-st-def.so => /usr/lib64/libbfd-2.32.0.gentoo-sys-libs-binutils-libs-st-def.so (0x00007f59ed29f000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f59ed088000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f59ee4ba000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f59ed075000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f59ed03a000)

But doesn't use a subslot operator dep on perl:


 perl /usr/portage/dev-util/perf/perf-4.20.3.ebuild 
IUSE="audit clang crypt debug +demangle +doc gtk java lzma numa perl python slang systemtap unwind zlib"
	perl? ( dev-lang/perl )
		NO_LIBPERL=$(puse perl) \
Comment 2 Guilherme Amadio gentoo-dev 2021-04-30 08:38:42 UTC
Seems to have been fixed already. See bug 617972.