[Bug 265061] ports-mgmt/pkg pkgbase wrong depends, lib32 instead of libs for many packages

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Oct 2024 01:39:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265061

Jeff Kletsky <jeff+freebsd@wagsky.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff+freebsd@wagsky.com

--- Comment #5 from Jeff Kletsky <jeff+freebsd@wagsky.com> ---
Looks like libbsm-lib32 is a dependency on what should be a 64-bit install.

The change is needed as the -lib32 does not satisfy linker requirements.

File system originally created with
https://github.com/dfr/freebsd-images/blob/main/build-minimal.sh and then
cloned under ZFS.

[jeff@js2 /var/jail/dns-new/usr/bin]$ sudo pkg-in-jail dns-new remove
FreeBSD-libbsm-lib32-14.1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 11 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
        FreeBSD-kerberos-lib: 14.1
        FreeBSD-libarchive: 14.1
        FreeBSD-libbsm-lib32: 14.1
        FreeBSD-libexecinfo: 14.1
        FreeBSD-liblzma: 14.1
        FreeBSD-mtree: 14.1
        FreeBSD-newsyslog: 14.1
        FreeBSD-pkg-bootstrap: 14.1
        FreeBSD-rc: 14.1
        FreeBSD-runtime: 14.1p5
        FreeBSD-syslogd: 14.1

Number of packages to be removed: 11

The operation will free 13 MiB.


Bizarrely, it can be removed after installing the standard version. 

[jeff@js2 /var/jail/dns-new/usr/bin]$ sudo pkg-in-jail dns-new install
FreeBSD-libbsm-14.1
Updating FreeBSD-Latest repository catalogue...
FreeBSD-Latest repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        FreeBSD-libbsm: 14.1 [FreeBSD-base]

Number of packages to be installed: 1

37 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching FreeBSD-libbsm-14.1.pkg: 100%   37 KiB  37.5kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Installing FreeBSD-libbsm-14.1...
[1/1] Extracting FreeBSD-libbsm-14.1: 100%
[jeff@js2 /var/jail/dns-new/usr/bin]$ sudo pkg-in-jail dns-new remove
FreeBSD-libbsm-lib32-14.1
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
        FreeBSD-libbsm-lib32: 14.1

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling FreeBSD-libbsm-lib32-14.1...
[1/1] Deleting files for FreeBSD-libbsm-lib32-14.1: 100%

Proceed with deinstalling packages? [y/N]:

-- 
You are receiving this mail because:
You are the assignee for the bug.