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

    From Piotr Smyrak@ps.ports@smyrak.com to muc.lists.freebsd.ports on Tue Apr 14 12:09:08 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Tue, 14 Apr 2026 18:29:17 +0900
    Tatsuki Makino <tatsuki_makino@hotmail.com> 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-
    --
    Piotr Smyrak


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Baptiste Daroussin@bapt@FreeBSD.org to muc.lists.freebsd.ports on Tue Apr 14 13:49:41 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Tue 14 Apr 18:29, Tatsuki Makino wrote:
    Hello.

    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.

    Regards.



    Right this is how it is supposed to work since day 1 but there was a bug, which mislead some people, me included. For poudriere the fix is there:

    https://github.com/freebsd/poudriere/pull/1326

    Best regards,
    Bapt


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Baptiste Daroussin@bapt@FreeBSD.org to muc.lists.freebsd.ports on Tue Apr 14 13:50:36 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Tue 14 Apr 12:09, Piotr Smyrak wrote:
    On Tue, 14 Apr 2026 18:29:17 +0900
    Tatsuki Makino <tatsuki_makino@hotmail.com> 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?

    Best regards,
    Bapt


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Piotr Smyrak@ps.ports@smyrak.com to muc.lists.freebsd.ports on Tue Apr 14 14:16:10 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Tue, 14 Apr 2026 13:50:36 +0200
    Baptiste Daroussin <bapt@FreeBSD.org> wrote:

    On Tue 14 Apr 12:09, Piotr Smyrak wrote:
    On Tue, 14 Apr 2026 18:29:17 +0900
    Tatsuki Makino <tatsuki_makino@hotmail.com> 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?

    No, not really. I was just wondering whether this may come from the
    same change.
    --
    Piotr Smyrak


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Robert Clausecker@fuz@fuz.su to muc.lists.freebsd.ports on Tue Apr 14 17:46:12 2026
    From Newsgroup: muc.lists.freebsd.ports

    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 <tatsuki_makino@hotmail.com> 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


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Baptiste Daroussin@bapt@freebsd.org to muc.lists.freebsd.ports on Tue Apr 14 18:03:24 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Tue 14 Apr 17:46, Robert Clausecker wrote:
    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 <tatsuki_makino@hotmail.com> 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

    Can you confirm this fixes it for you ?

    https://github.com/freebsd/poudriere/pull/1327

    Bapt


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Robert Clausecker@fuz@fuz.su to muc.lists.freebsd.ports on Tue Apr 14 18:16:20 2026
    From Newsgroup: muc.lists.freebsd.ports

    Hi Baptiste,

    Am Tue, Apr 14, 2026 at 06:03:24PM +0200 schrieb Baptiste Daroussin:
    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

    Can you confirm this fixes it for you ?

    https://github.com/freebsd/poudriere/pull/1327

    Bapt

    Seems to do the trick!

    Yours,
    Robert Clausecker
    --
    () ascii ribbon campaign - for an encoding-agnostic world
    /\ - against html email - against proprietary attachments


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21f-Linux NewsLink 1.2