[Bug 259085] ports-mgmt/poudriere-devel rebuilds previously built ports unneccesarily

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Oct 2021 22:48:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259085

            Bug ID: 259085
           Summary: ports-mgmt/poudriere-devel rebuilds previously built
                    ports unneccesarily
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: tech-lists@zyxst.net
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

Hello,

context is stable/13-n247002-bd0ad8209d5 poudriere-devel-3.3.99.20210907_1
amd64

If one runs a build for a single port and later runs a bulk -f build, the ports
built as part of the single port will be deleted first like this:

[00:00:12] Deleting ImageMagick7-7.0.11.12_3.pkg: no longer needed
[00:00:12] Deleting amavisd-new-2.12.0_1,1.pkg: no longer needed
[00:00:12] Deleting arc-5.21p.pkg: no longer needed
[00:00:12] Deleting arj-3.10.22_8.pkg: no longer needed
[00:00:12] Deleting atk-2.36.0.pkg: no longer needed

This is unexpected behaviour. Now I can't run a single build of a big package
and then a smaller one of multiple packages with the same ports tree and expect
all the packages to be there.

I'm not sure if the issue applies to ports-mgmt/poudriere as well.

some posts describing the problem:
https://lists.freebsd.org/archives/freebsd-ports/2021-October/000808.html
https://lists.freebsd.org/archives/freebsd-ports/2021-October/000811.html
https://lists.freebsd.org/archives/freebsd-ports/2021-October/000784.html

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