------ Original Message ------
From "Wols Lists" <antli...@youngman.org.uk>
To gentoo-user@lists.gentoo.org
Date 24.11.2023 13:35:39
Subject Re: [gentoo-user] Re: Portage reports preserved libs, but won't rebuild

On 24/11/2023 10:27, Nuno Silva wrote:
On 2023-11-24, Arve Barsnes wrote:

On Fri, 24 Nov 2023 at 04:07, Jack <ostrof...@users.sourceforge.net> wrote:

May or may not help, but have you tried revdep-rebuild?

Also, you can try just one-shotting the reported packages, such as
(for the last one in your list):

emerge -1 sys-libs/zlib

Regards,
Arve

Shouldn't it be the other way around? I mean, isn't it freetype,
harfbuzz, glib and libpng which need to be rebuilt so that these
libraries from sys-libs/zlib and bzip2, libpcre2, graphite2, ..., are
not needed and get removed?

I regularly get "nothing to update".

I strongly suspect it's because libfreetype and harfbuzz are circular 
dependencies.

When I've built a couple of systems I regularly get "unable to install harfbuzz 
because it needs libfreetype which it can't install because it needs harfbuzz ..." 
You need to force-build one, and then it's happy.

So that's probably messed up @revdep-rebuild.

Cheers,
Wol



I too have a gentoo box with a similar problem but with no
obvious circular dependencies:

dev-libs/libsodium is preserved because vim depends on it,
but after emerging the preserved library is still found.

vim's ebuild RDEPENDs on dev-libs/libsodium:= due to USE +crypt

# emerge @preserved-rebuild
Calculating dependencies  ... done!
Dependency resolution took 1.06 s.
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-editors/vim-9.0.1627::gentoo
>>> Installing (1 of 1) app-editors/vim-9.0.1627::gentoo
>>> Completed (1 of 1) app-editors/vim-9.0.1627::gentoo
>>> Jobs: 1 of 1 complete Load avg: 1.37, 0.32, 0.11
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
!!! existing preserved libs:
>>> package: dev-libs/libsodium-1.0.19-r1
 *  - /usr/lib64/libsodium.so.23
 *  - /usr/lib64/libsodium.so.23.3.0
 *      used by /usr/bin/vim (app-editors/vim-9.0.1627)
Use emerge @preserved-rebuild to rebuild packages using these libraries

Looking at the available versions it seems that libsodium went
from (0/23) to (0/26) a few weeks ago and for some reason vim
does not see or want that.

# eix libsodium
[I] dev-libs/libsodium
Available versions: 1.0.18_p20220618(0/23) 1.0.19-r1(0/26) {+asm minimal static-libs +urandom verify-sig ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="aes sse4_1"} Installed versions: 1.0.19-r1(0/26)(15:08:34 10/27/23)(asm urandom -minimal -static-libs -verify-sig ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="-aes -sse4_1")


I'm not sure why I don't have that on all my gentoo boxes, but I don't have
the time right now to really dive into this.

s.

Reply via email to