Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2025 14:18:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285470] ports-mgmt/pkg: strange query output
Message-ID:  <bug-285470-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285470

            Bug ID: 285470
           Summary: ports-mgmt/pkg: strange query output
           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: d8zNeCFG@aon.at
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Scenario:
- FreeBSD stable/14
- ports latest
- amongst others, installed the following libreoffice ports:
  . editors/libreoffice
  . editors/libreoffice-i18n
  . editors/libreoffice-it
  . german/libreoffice
  . french/libreoffice
  . portuguese/libreoffice
- Running the command 'pkg query %n-%v editors/libreoffice'

Result:
- The following output appears:

[0]# pkg query %n-%v editors/libreoffice
de-libreoffice-25.2.1.2
fr-libreoffice-25.2.1.2
libreoffice-25.2.1.2_1
pt-libreoffice-25.2.1.2
[0]#=20

Expected result:

[0]# pkg query %n-%v editors/libreoffice
libreoffice-25.2.1.2_1
[0]#=20

Scenario (continued):
- Running the following command: 'pkg query %t editors/libreoffice'

Result:
- The following output appears:

[0]# pkg query %t editors/libreoffice=20
1742130942
1742130965
1742121409
1742130971
[0]#=20

Expected result:

[0]# pkg query %t editors/libreoffice=20
1742121409
[0]#=20

Scenario (continued):
- Running the following command: 'pkg query %o\ %t editors/libreoffice'

Result:
- The following output appears:

[0]# pkg query %o\ %t editors/libreoffice
german/libreoffice 1742130942
french/libreoffice 1742130965
editors/libreoffice 1742121409
portuguese/libreoffice 1742130971
[0]#=20

Expected result:

[0]# pkg query %o\ %t editors/libreoffice
editors/libreoffice 1742121409
[0]#=20


Scenario (continued):
- Running the following command: 'pkg query %rn-%rv editors/libreoffice'

Result:
- The following output appears:

[0]# pkg query %rn-%rv editors/libreoffice
libreoffice-i18n-25.2.1.2
libreoffice-i18n-25.2.1.2
pt-libreoffice-25.2.1.2
fr-libreoffice-25.2.1.2
de-libreoffice-25.2.1.2
it-libreoffice-25.2.1.2
libreoffice-i18n-25.2.1.2
[0]#=20

Expected result:

[0]# pkg query %rn-%rv editors/libreoffice
pt-libreoffice-25.2.1.2
fr-libreoffice-25.2.1.2
de-libreoffice-25.2.1.2
it-libreoffice-25.2.1.2
[0]#=20

Note: This is probably all due to using portmaster instead of poudriere; if=
 so,
please just close this issue.

-- Martin

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285470-7788>