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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Jul 2022 11:39:24 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 265061: ports-mgmt/pkg pkgbase wrong depends, lib32 instead of libs for
many packages
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265061



--- Description ---
Bug happened in a test environment where the pkgbase is from 02/2022,
afterwards from this set was upgraded from 1.16.3 to 1.17.99.10 and afterwards
1.18.3 to solve the bug with the @config files in pkgbase.

Following pkg versions were tested:
1.16.3 OK
1.17.4 OK
1.17.5 OK (i this same as 1.17.99.9?)
1.17.99.10 NOT OK
1.18.3 NOT OK

When installing for example FreeBSD-runtime with the newer pkg in a fresh
pkgbase jail, pkg uses lib32 for most libraries instead of lib. For example
libfetch-lib32 is used instead of libfetch is used, resulting in pkg in this
jail been unusable. Many things are affected, grep was not working, df,
ifconfig and so on. 

for testing i created a empty zfs dataset and used pkg -r ${dataset} ins
FreeBSD-runtime with different pkg versions.