Re: pkg-2.7.0: result of pkg query "%n %dn-%dv" is different from 2.6.2_1

Robert Clausecker <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hi Baptiste,

Am Tue, Apr 14, 2026 at 01:50:36PM +0200 schrieb Baptiste Daroussin:
> On Tue 14 Apr 12:09, Piotr Smyrak wrote:
> > On Tue, 14 Apr 2026 18:29:17 +0900
> > Tatsuki Makino <[email protected]> wrote:
> > 
> > > There may already be reports about this from someone else, but the
> > > display of the results of pkg query is different. The results of pkg
> > > query "%n %dn-%dv" include ports that do not have dependencies, and a
> > > hyphen is displayed. It seems that when poudriere-3.4.6 fetches
> > > packages, it is dropping some dependency packages.
> > 
> > There is also one more corner case handled differently. If an installed
> > package has a registered dependency that was removed, previously the
> > dependency would get listed as "$name-(null)", now it's "$name-". Ie.:
> > 
> > pkg-2.6.2:
> > llvm11 python311-(null)
> > 
> > pkg-2.7.0:
> > llvm11 python311-
> 
> This was is expected also, the (null) was causing many issues, are you aware of
> a case where this causes fallouts?

Yes, it causes Poudriere to delete all packages before building new ones
with messages like these:

[00:00:23] Deleting RVVM-0.6.pkg: missing versioned dependency: libX11-
[00:00:23] Deleting OpenSP-1.5.2_4.pkg: missing versioned dependency: gettext-runtime-
[00:00:23] Deleting aalib-1.4.r5_14.pkg: missing versioned dependency: indexinfo-
[00:00:23] Deleting alsa-plugins-1.2.12_2.pkg: missing versioned dependency: alsa-lib-
[00:00:23] Deleting adobe-cmaps-20051217_4.pkg: missing versioned dependency: fontconfig-

rendering poudriere-devel unusable for incremential builds.

> Best regards,
> Bapt

Yours,
Robert Clausecker

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.