Why is FreeBSD-clibs-lib32 subject to autoremove on this host?

dvl@

Developer
I noticed this yesterday.

Code:
[12:17 zuul dvl ~] % pkg autoremove -n
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages:

Installed packages to be REMOVED:
    FreeBSD-clibs-lib32: 15.1p2
    hidapi: 0.15.0

Number of packages to be removed: 2

The operation will free 4 MiB.
[12:17 zuul dvl ~] %
[12:17 zuul dvl ~] % freebsd-version -ukr
15.1-RELEASE-p2
15.1-RELEASE-p2
15.1-RELEASE-p2

[12:37 zuul dvl ~] % pkg info -r FreeBSD-clibs-lib32
FreeBSD-clibs-lib32-15.1p2:

Note that nothing requires FreeBSD-clibs-lib32 on this host.

However, on another hosts, many things require it.

What I did notice over here on another host: FreeBSD-clibs-lib32 is required by llvm19 (it needs various libraries installed by FreeBSD-clibs-lib32).

Code:
[12:04 r730-01 dvl ~] % pkg info -r FreeBSD-clibs-lib32
FreeBSD-clibs-lib32-15.1p2:
    FreeBSD-set-lib32-15.1
    llvm19-19.1.7_4 (libc++.so.1:32)
    ...
    llvm19-19.1.7_4 (libc.so.7:32)
    FreeBSD-bzip2-dev-lib32-15.1 (libc.so.7:32)
    ...
    llvm19-19.1.7_4 (libdl.so.1:32)
    llvm19-19.1.7_4 (libgcc_s.so.1:32)
    FreeBSD-utilities-dev-lib32-15.1p1 (libgcc_s.so.1:32)
    ...
    FreeBSD-clibs-dev-lib32-15.1p2 (libgcc_s.so.1:32)
    llvm19-19.1.7_4 (libm.so.5:32)
    FreeBSD-utilities-dev-lib32-15.1p1 (libm.so.5:32)
    ...
    FreeBSD-pmc-lib32-15.1 (libm.so.5:32)
    llvm19-19.1.7_4 (librt.so.1:32)
    FreeBSD-zfs-dev-lib32-15.1p1 (librt.so.1:32)
    FreeBSD-zfs-lib32-15.1p1 (librt.so.1:32)
    FreeBSD-clibs-dev-lib32-15.1p2 (libsys.so.7:32)
    llvm19-19.1.7_4 (libthr.so.3:32)
    FreeBSD-runtime-dev-lib32-15.1p1 (libthr.so.3:32)
    ...
    FreeBSD-clibs-dev-lib32-15.1p2 (libthr.so.3:32)

OK, I'll play this game. Let's install on the first host:

Code:
[12:22 zuul dvl ~] % sudo pkg install llvm19     
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating local repository catalogue...
local repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    llvm19: 19.1.7_4 [local]
    lua53: 5.3.6_1 [local]

Number of packages to be installed: 2

The process will require 2 GiB more space.
272 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching lua53-5.3.6_1: 100%   300 KiB 307.6 kB/s    00:01   
[2/2] Fetching llvm19-19.1.7_4: 100%   272 MiB   9.2 MB/s    00:31   
Checking integrity... done (0 conflicting)
[1/2] Installing lua53-5.3.6_1...
[1/2] Extracting lua53-5.3.6_1: 100%
[2/2] Installing llvm19-19.1.7_4...
[2/2] Extracting llvm19-19.1.7_4: 100%
[12:24 zuul dvl ~] % pkg autoremove -n     
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:

Installed packages to be REMOVED:
    hidapi: 0.15.0

Number of packages to be removed: 1
Database compaction failed, performance may be affected

Getting down to what I think is the problem: the FreeBSD-set-lib32 is not present on the host in question.

I'm sure that's the meta-port, and this comment seems to confirm that.

Code:
[12:40 empty dvl ~] % pkg info FreeBSD-set-lib32 | grep Comment
Comment        : 32-bit compatibility libraries (metapackage)

I'll let this post sit for a while before I try
pkg install FreeBSD-set-lib32
 
Back
Top