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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Feb 2023 15:00:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269338

            Bug ID: 269338
           Summary: ports-mgmt/pkg-provides ld-elf.so.1:
                    /usr/local/lib/pkg//provides.so: Undefined symbol
                    "pkg_plugin_set"
           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: void@f-m.fm
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

Hello,

When using poudriere options -j jailname category/port, the following happens
(though the options are applied). In the example, this happened with
dns/unbound
but it doesn't matter which port.

###
ld-elf.so.1: /usr/local/lib/pkg//provides.so: Undefined symbol "pkg_plugin_set"
make: "/usr/local/poudriere/ports/default/Mk/bsd.port.mk" line 1222: warning:
"/usr/local/sbin/pkg-static versi
ld-elf.so.1: /usr/local/lib/pkg//provides.so: Undefined symbol "pkg_plugin_set"
make: "/usr/local/poudriere/ports/default/Mk/bsd.port.mk" line 1229: warning:
"/usr/local/sbin/pkg-static versi
===> Setting user-specified options for unbound-1.17.1_1 and dependencies
###

The temporary workaround is to comment the following entries in
/usr/local/etc/pkg.conf

PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [ provides ];

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