Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Need help with perl-cleaner
Date: Thu, 13 May 2021 10:02:44
Message-Id: 5914004.RL5eaSpR8r@pinacolada
1 Hi all,
2
3 due to having somewhat too many Gentoo projects and not enough time at
4 the moment, I'd like to ask for help with perl-cleaner here.
5
6 It is in most cases not necessary anymore, and I personally have not
7 used it for ages, since the automated rebuilds via subslots make it
8 obsolete. Still...
9
10 * The change in path structure with Perl 5.32 (from, e.g., /usr/lib64
11 perl5/5.30.3 to /usr/lib64/perl5/5.32) broke the rebuild functionality
12 [1]
13 * There are issues with the 17.1 profiles [2]
14 * There are several unrelated bugs and github issues.
15 * Testing is nontrivial since you basically need a snapshotted
16 install, where you can roll back a Perl upgrade.
17 * The code is, well, horrible. [3]
18
19 In any case, please have a look and file bugs and even better patches
20 and/or pull-requests...
21
22 https://github.com/gentoo-perl/perl-cleaner/
23
24 If no help materializes, my plan is to lobotomize perl-cleaner so it
25 only cleans out "known leftover files" and otherwise recommends a
26 portage command to rebuild all reverse dependencies of dev-lang/perl.
27
28 Unfortunately this kind of blocks Perl 5.32 stable.
29
30 Cheers,
31 Andreas
32
33
34 [1] https://bugs.gentoo.org/763021
35 [2] https://bugs.gentoo.org/589874
36 [3]
37 broken_libs="$(${scanelf} -qBn < <(awk '/^(obj|sym) [^ ]*\/(s?bin|
38 lib(32|64|x32)?)\// && ! /^obj [^ ]*\/usr\/lib\/debug\//{ print $2 }'
39 ${content} ) | grep -o 'libperl\.\(so\|dylib\)\.[0-9.]*' | sort -u )"
40
41
42 --
43 Andreas K. Hüttel
44 dilfridge@g.o
45 Gentoo Linux developer
46 (council, toolchain, base-system, perl, libreoffice)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Need help with perl-cleaner (and app-admin/gentoo-perl-helpers) "Andreas K. Huettel" <dilfridge@g.o>