Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876757 - app-admin/perl-cleaner keeps rebuilding sys-cluster/rdma-core
Summary: app-admin/perl-cleaner keeps rebuilding sys-cluster/rdma-core
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-11 11:27 UTC by Grzegorz Kowal
Modified: 2022-11-12 19:29 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge-info.txt,6.93 KB, text/plain)
2022-10-11 11:27 UTC, Grzegorz Kowal
Details
equery f sys-cluster/rdma-core (rdma-core-files.txt,6.60 KB, text/plain)
2022-10-15 12:17 UTC, Grzegorz Kowal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Kowal 2022-10-11 11:27:40 UTC
Created attachment 823606 [details]
emerge --info

Everytime I run 'perl-cleaner all' it rebuilds sys-cluster/rdma-core.

This is the output of 'perl-cleaner all -p':

 * Would try to remove the following perl-core packages from world file
 *    emerge --deselect  perl-core/Compress-Raw-Zlib perl-core/CPAN perl-core/Encode perl-core/File-Temp perl-core/Scalar-List-Utils 
 * Would try to update installed Perl virtuals
 *    emerge -u1  virtual/perl-Carp virtual/perl-Compress-Raw-Bzip2 virtual/perl-Compress-Raw-Zlib virtual/perl-CPAN virtual/perl-CPAN-Meta virtual/perl-CPAN-Meta-Requirements virtual/perl-CPAN-Meta-YAML virtual/perl-Data-Dumper virtual/perl-Digest-MD5 virtual/perl-Digest-SHA virtual/perl-Encode virtual/perl-Exporter virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-Install virtual/perl-ExtUtils-MakeMaker virtual/perl-ExtUtils-Manifest virtual/perl-ExtUtils-ParseXS virtual/perl-File-Path virtual/perl-File-Spec virtual/perl-File-Temp virtual/perl-Getopt-Long virtual/perl-IO virtual/perl-IO-Compress virtual/perl-IO-Socket-IP virtual/perl-JSON-PP virtual/perl-libnet virtual/perl-MIME-Base64 virtual/perl-Module-Metadata virtual/perl-parent virtual/perl-Parse-CPAN-Meta virtual/perl-Perl-OSType virtual/perl-podlators virtual/perl-Scalar-List-Utils virtual/perl-Storable virtual/perl-Sys-Syslog virtual/perl-Test-Harness virtual/perl-Test-Simple virtual/perl-Text-ParseWords virtual/perl-Time-Local virtual/perl-version virtual/perl-XSLoader 

 * Locating packages for an update
 * Locating ebuilds linked against libperl
 *   Adding to list: sys-cluster/rdma-core:0
 * emerge -v1 --backtrack=200 --selective=n -p sys-cluster/rdma-core:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-cluster/rdma-core-41.0::gentoo  USE="systemd -neigh -python -static-libs -valgrind" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
 * 
 * It seems like perl-cleaner had to rebuild some packages.
 *
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-12 22:31:36 UTC
Could you share 'equery f sys-cluster/rdma-core'?
Comment 2 Grzegorz Kowal 2022-10-15 12:17:59 UTC
Created attachment 824305 [details]
equery f sys-cluster/rdma-core

Please, find attached the list of files of rdma-core.
Comment 3 Florian Schmaus gentoo-dev 2022-11-11 09:19:33 UTC
Same here, adding --verbose to perl-cleaners shows

 * Locating ebuilds linked against libperl
 *   Adding to list: sys-cluster/rdma-core:0
 *     check: module /usr/share/perl5/IBswcountlimits.pm

Does that help to identify the root cause?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-11 09:43:27 UTC
(In reply to Florian Schmaus from comment #3)
> Same here, adding --verbose to perl-cleaners shows
> 
>  * Locating ebuilds linked against libperl
>  *   Adding to list: sys-cluster/rdma-core:0
>  *     check: module /usr/share/perl5/IBswcountlimits.pm
> 
> Does that help to identify the root cause?

I think so. I think the issue is that nothing should install to /usr/share/perl5.

We expect everything installed by packages to be in /usr/$(get_libdir)/perl5/vendor_perl/${PERL_VERSION}, I think.
Comment 5 Larry the Git Cow gentoo-dev 2022-11-12 19:29:03 UTC
The bug has been closed via the following commit(s):

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

commit b14315d85f599afd00c1343732dcb175fe4a9ffc
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-11-11 10:35:00 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-11-12 19:28:23 +0000

    sys-cluster/rdma-core: set perldir
    
    Closes: https://bugs.gentoo.org/876757
    Closes: https://github.com/gentoo/gentoo/pull/28222
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../rdma-core/{rdma-core-42.0.ebuild => rdma-core-42.0-r1.ebuild}     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)