I bet you've got a circular dependency on freetype and harfbuzz. Look for a thread I started with the subject "The old wine/harfbuzz/freetype circle" - you need to track down the package which is holding those two.

What I would try is to forcibly remove (emerge -C) both those two packages, and then hope it sorts itself out. The danger is you then get another nasty conundrum as they try and re-install themselves .

The other thing is, try and find out whether libglib and libpng16 are critical. libpng certainly not, libglib I don't know. You might have to forcibly remove them as well.

I had the problem the other way round, I was trying to add abi_x86_32 for wine, and basically it's that harfbuzz won't install because it needs freetype to be installed first, and freetype won't install because it needs harfbuzz to be installed first. Whoops!

You need to force harfbuzz to install with "USE=-freetype", then you can install freetype, then you can install harfbuzz (or the other way round, doesn't matter). What does matter is you need to track down the problematic package that needs both harfbuzz and freetype and is locking them in.

I *think* what I did was try to force install one of them without depending on the other, then looking at the trace which told me which package was over-riding my use settings, temporarily deleting that package (emerge -C pango in my case), emerging freetype and harfbuzz --oneshot without dependencies on each other, and then just an "update world" to clean up the mess.

Cheers,
Wol

On 21/11/2021 20:39, Julien Roy wrote:
Hello,

Some time ago I installed Steam on my system, which required me to add the abi_x86_32 USE flag to a bunch of packages. Eventually I removed Steam from my system and thus removed the abi_x86_32 USE flag from those packages and rebuilt them, but now ever since doing that, I am stuck with a message telling me about preserve libs and to run emerge @preserved-rebuild to get rid of them, which I tried of course, but it doesn't actually rebuild anything and the message stays.

I also tried manually rebuilding those packages, rebuilding packages which depended on them, I even tried to rebuild @world in an effort to get rid of this message, but nothing seems to be working.

The list of affected libs are as follows:
!!! existing preserved libs:
package: app-arch/bzip2-1.0.8-r1
*  - /usr/lib/libbz2.so.1
*  - /usr/lib/libbz2.so.1.0.8
*      used by /usr/lib/libfreetype.so.6 (preserved)
*      used by /usr/lib/libfreetype.so.6.18.0 (preserved)
package: dev-libs/glib-2.68.4
*  - /usr/lib/libglib-2.0.so.0
*  - /usr/lib/libglib-2.0.so.0.6800.4
*      used by /usr/lib/libharfbuzz.so.0 (preserved)
*      used by /usr/lib/libharfbuzz.so.0.20901.0 (preserved)
package: dev-libs/libpcre-8.45
*  - /usr/lib/libpcre.so.1
*  - /usr/lib/libpcre.so.1.2.13
*      used by /usr/lib/libglib-2.0.so.0 (preserved)
*      used by /usr/lib/libglib-2.0.so.0.6800.4 (preserved)
package: media-gfx/graphite2-1.3.14
*  - /usr/lib/libgraphite2.so.3
*  - /usr/lib/libgraphite2.so.3.2.1
*      used by /usr/lib/libharfbuzz.so.0 (preserved)
*      used by /usr/lib/libharfbuzz.so.0.20901.0 (preserved)
package: media-libs/freetype-2.11.0-r1
*  - /usr/lib/libfreetype.so.6
*  - /usr/lib/libfreetype.so.6.18.0
*      used by /usr/lib/libharfbuzz.so.0 (preserved)
*      used by /usr/lib/libharfbuzz.so.0.20901.0 (preserved)
package: media-libs/harfbuzz-2.9.1
*  - /usr/lib/libharfbuzz.so.0
*  - /usr/lib/libharfbuzz.so.0.20901.0
*      used by /usr/lib/libfreetype.so.6 (preserved)
*      used by /usr/lib/libfreetype.so.6.18.0 (preserved)
package: media-libs/libpng-1.6.37-r2
*  - /usr/lib/libpng16.so.16
*  - /usr/lib/libpng16.so.16.37.0
*      used by /usr/lib/libfreetype.so.6 (preserved)
*      used by /usr/lib/libfreetype.so.6.18.0 (preserved)
package: sys-libs/zlib-1.2.11-r4
*  - /usr/lib/libz.so.1
*  - /usr/lib/libz.so.1.2.11
*      used by /usr/lib/libfreetype.so.6 (preserved)
*      used by /usr/lib/libfreetype.so.6.18.0 (preserved)
*      used by /usr/lib/libpng16.so.16 (preserved)
*      used by /usr/lib/libpng16.so.16.37.0 (preserved)
Use emerge @preserved-rebuild to rebuild packages using these libraries

I would appreciate any help to get rid of this message.

Thanks,
Julien

--
Sent with Tutanota, the secure & ad-free mailbox.

Reply via email to