[Bug 269567] ports-mgmt/pkg-provides : doesn't appear to work on arm64.aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Feb 2023 16:52:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269567

            Bug ID: 269567
           Summary: ports-mgmt/pkg-provides : doesn't appear to work on
                    arm64.aarch64
           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
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)

hello,

pkg-provides does not seem to work on arm64.aarch64. 
If this isn't meant to work on this arch, please advise.

This is a raspberry pi 4 machine with 8GB. pkg has been 
updated to latest as of yesterday 14th feb.

context:
FreeBSD 13.1-RELEASE-p6 GENERIC

% uname -KU
1301000 1301000

pkg looks like this:

% pkg info pkg
pkg-1.19.1_1
Name           : pkg
Version        : 1.19.1_1
Installed on   : Tue Feb 14 04:00:35 2023 GMT
Origin         : ports-mgmt/pkg
Architecture   : FreeBSD:13:aarch64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg@FreeBSD.org
WWW            : https://github.com/freebsd/pkg
Comment        : Package manager
Options        :
        DOCS           : on
Shared Libs provided:
        libpkg.so.4
Annotations    :
        FreeBSD_version: 1301000
        build_timestamp: 2023-02-14T02:38:20+0000
        built_by       : poudriere-git-3.3.99.20220831
        port_checkout_unclean: no
        port_git_hash  : 40c675d965
        ports_top_checkout_unclean: no
        ports_top_git_hash: 574959330a
        repo_type      : binary
        repository     : poudriere
Flat size      : 32.7MiB
Description    :
Package management tool

pkg-provides looks like this

% pkg info pkg-provides
pkg-provides-0.7.3
Name           : pkg-provides
Version        : 0.7.3
Installed on   : Wed Feb 15 16:25:20 2023 GMT
Origin         : ports-mgmt/pkg-provides
Architecture   : FreeBSD:13:aarch64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD4CLAUSE and BSD3CLAUSE and BSD2CLAUSE
Maintainer     : rodrigo@FreeBSD.org
WWW            : https://github.com/rosorio/pkg-provides
Comment        : Pkg plugin for querying which package provides a particular
file
Shared Libs required:
        libpcre.so.1
Annotations    :
        FreeBSD_version: 1301000
        repo_type      : binary
        repository     : poudriere
Flat size      : 25.4KiB
Description    :
Pkg plugin for querying which package provides a particular file

WWW: https://github.com/rosorio/pkg-provides

When pkg-provides is configured as per the pkg-message and enabled:

# pkg plugins
NAME       DESC                                          VERSION   
provides   A plugin for querying which package provides a particular file 0.7.2

# pkg provides -u
usage: pkg provides [-uf] [-r repo] pattern

A plugin for querying which package provides a particular file

# pkg update -f
Updating poudriere repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%  107 KiB 109.2kB/s    00:01    
Processing entries: 100%
Fetching provides database: 100%   15 MiB  16.2MB/s    00:01    
Extracting database....success
poudriere repository update completed. 384 packages processed.
All repositories are up to date.

Running pkg-provides produces no useful output

# which gawk
/usr/local/bin/gawk

# pkg provides gawk
usage: pkg provides [-uf] [-r repo] pattern

A plugin for querying which package provides a particular file

This is in contrast to amd64 which produces expected output.

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