On Mon, 22 Nov 2021 01:49:04 +0100 (CET) Julien Roy <jul...@jroy.ca> wrote:
> Thanks for this, I first tried to unmerge freetype and harfbuzz, > then re-emerge them both with -harfbuzz USE flag on freetype, which > didn't solve my problem, so I decided to unmerge all the packages > that were listed in the message, which, although risky (bzip2 was > included!), solved my problem. > > I did end up "breaking" my system due to unmerging bzip2 but > thankfully I had another Gentoo system on the same architecture to > copy over the bzip2 binary and allow me to rebuild the packages. > After doing this, I no longer have any preserved packages output > from portage, so my problem is solved! > > Thanks again, > Julien I've got the same issue, after purging Wine trying to get an out-of-date machine back in working order. It's an amd64 machine, and the following 32-bit libs are preserved endlessly, I believe due to the freetype-harfbuzz cycle, since they all now have ABI_X86="64 -32": $ portageq list_preserved_libs / app-arch/bzip2-1.0.8-r1 /usr/lib/libbz2.so.1.0.8 /usr/lib/libbz2.so.1 dev-libs/glib-2.68.4 /usr/lib/libglib-2.0.so.0.6800.3 /usr/lib/libglib-2.0.so.0 dev-libs/libpcre-8.45 /usr/lib/libpcre.so.1.2.13 /usr/lib/libpcre.so.1 media-gfx/graphite2-1.3.14 /usr/lib/libgraphite2.so.3.2.1 /usr/lib/libgraphite2.so.3 media-libs/freetype-2.11.0-r1 /usr/lib/libfreetype.so.6.18.0 /usr/lib/libfreetype.so.6 media-libs/harfbuzz-3.1.1 /usr/lib/libharfbuzz.so.0.20901.0 /usr/lib/libharfbuzz.so.0 media-libs/libpng-1.6.37-r2 /usr/lib/libpng16.so.16.37.0 /usr/lib/libpng16.so.16 I don't really look forward to uninstalling bzip2. Manually uninstalling and reinstalling freetype and harfbuzz doesn't fix the issue. I am thinking about deleting all of these libraries by hand and then rebuilding the packages, or perhaps unmerging freetype and harfbuzz with FEATURES="-preserved-libs". I'm not sure if this will clean up all of Portage's metadata about the libraries though. Any insight into a 'proper' way to fix this would be appreciated. Cheers, Bryan