[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265061

            Bug ID: 265061
           Summary: ports-mgmt/pkg pkgbase wrong depends, lib32 instead of
                    libs for many packages
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: rosenke@dssgmbh.de
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Created attachment 235096
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235096&action=edit
pkg bad output

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.

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