[Bug 264956] ports-mgmt/pkg-provides ld-elf.so.1: /usr/local/lib/pkg//provides.so: Undefined symbol

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Jun 2022 18:54:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264956

            Bug ID: 264956
           Summary: ports-mgmt/pkg-provides ld-elf.so.1:
                    /usr/local/lib/pkg//provides.so: Undefined symbol
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: grahamperrin@gmail.com
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)

Two runs below. 

The first was with pkg-provides from the FreeBSD repository. 

The second was with pkg-provides built locally with poudriere. 

% pkg provides bin/gitk
ld-elf.so.1: /usr/local/lib/pkg//provides.so: Undefined symbol "pkg_get2"
% pkg provides bin/gitk
ld-elf.so.1: /usr/local/lib/pkg//provides.so: Undefined symbol "pkg_get"
% pkg -vv | grep -e url -e enabled -e priority
    url             :
"pkg+http://pkg0.pkt.freebsd.org/FreeBSD:14:amd64/latest",
    enabled         : yes,
    priority        : 2,
    url             :
"https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest",
    enabled         : no,
    priority        : 0,
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
    priority        : 3
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #14
main-n256363-9c42645a1e4-dirty: Tue Jun 28 05:44:36 BST 2022    
root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
amd64 1400062 1400062
%

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