Gentoo Archives: gentoo-user

From: Bryan Gardiner <bog@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't get rid of preserved libs
Date: Sun, 12 Dec 2021 05:55:31
Message-Id: 20211211215516.479bb54a@khumba.net
In Reply to: Re: [gentoo-user] Can't get rid of preserved libs by Julien Roy
1 On Mon, 22 Nov 2021 01:49:04 +0100 (CET)
2 Julien Roy <julien@××××.ca> wrote:
3
4 > Thanks for this, I first tried to unmerge freetype and harfbuzz,
5 > then re-emerge them both with -harfbuzz USE flag on freetype, which
6 > didn't solve my problem, so I decided to unmerge all the packages
7 > that were listed in the message, which, although risky (bzip2 was
8 > included!), solved my problem.
9 >
10 > I did end up "breaking" my system due to unmerging bzip2 but
11 > thankfully I had another Gentoo system on the same architecture to
12 > copy over the bzip2 binary and allow me to rebuild the packages.
13 > After doing this, I no longer have any preserved packages output
14 > from portage, so my problem is solved!
15 >
16 > Thanks again,
17 > Julien
18
19 I've got the same issue, after purging Wine trying to get an
20 out-of-date machine back in working order. It's an amd64 machine, and
21 the following 32-bit libs are preserved endlessly, I believe due to
22 the freetype-harfbuzz cycle, since they all now have ABI_X86="64 -32":
23
24 $ portageq list_preserved_libs /
25 app-arch/bzip2-1.0.8-r1 /usr/lib/libbz2.so.1.0.8 /usr/lib/libbz2.so.1
26 dev-libs/glib-2.68.4 /usr/lib/libglib-2.0.so.0.6800.3 /usr/lib/libglib-2.0.so.0
27 dev-libs/libpcre-8.45 /usr/lib/libpcre.so.1.2.13 /usr/lib/libpcre.so.1
28 media-gfx/graphite2-1.3.14 /usr/lib/libgraphite2.so.3.2.1 /usr/lib/libgraphite2.so.3
29 media-libs/freetype-2.11.0-r1 /usr/lib/libfreetype.so.6.18.0 /usr/lib/libfreetype.so.6
30 media-libs/harfbuzz-3.1.1 /usr/lib/libharfbuzz.so.0.20901.0 /usr/lib/libharfbuzz.so.0
31 media-libs/libpng-1.6.37-r2 /usr/lib/libpng16.so.16.37.0 /usr/lib/libpng16.so.16
32
33 I don't really look forward to uninstalling bzip2. Manually
34 uninstalling and reinstalling freetype and harfbuzz doesn't fix the
35 issue. I am thinking about deleting all of these libraries by hand
36 and then rebuilding the packages, or perhaps unmerging freetype and
37 harfbuzz with FEATURES="-preserved-libs". I'm not sure if this will
38 clean up all of Portage's metadata about the libraries though.
39
40 Any insight into a 'proper' way to fix this would be appreciated.
41
42 Cheers,
43 Bryan

Replies

Subject Author
Re: [gentoo-user] Can't get rid of preserved libs Wols Lists <antlists@××××××××××××.uk>