[Bug 263946] [poudriere-devel] distclean doesn't work on overlay

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 May 2022 22:06:03 UTC

            Bug ID: 263946
           Summary: [poudriere-devel] distclean doesn't work on overlay
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: pat@patmaddox.com
          Assignee: bdrewery@FreeBSD.org
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)

I can build a port using an overlay:

    poudriere bulk -vv -C -j 123amd64 -p default -O mine devel/ex_ample

But I can't distclean it. It appears that distclean doesn't account for

Here I attempt to distclean with the default ports tree:

    # poudriere distclean devel/ex_ample
    [00:00:01] Loading MOVED for /usr/local/poudriere/ports/default
    [00:00:02] Gathering all expected distfiles for ports tree 'default'
    [00:00:02] Error: Nonexistent origin listed: devel/ex_ample
    [00:00:02] Error: Fatal errors encountered gathering distfiles metadata

Here I attempt to distclean with my ports tree:

    # poudriere distclean -p mine devel/ex_ample
    [00:00:00] Gathering all expected distfiles for ports tree 'mine'
    [00:00:00] Warning: (devel/ex_ample): make: "/usr/share/mk/bsd.port.mk"
line 32: Cannot open /usr/local/poudriere/ports/mine/Mk/bsd.port.mk
    [00:00:00] Gathering list of actual distfiles
    [00:00:00] Error: Something went wrong. All distfiles would have been

Should poudriere distclean accept -O as well?


Name           : poudriere-devel
Version        :
Installed on   : Wed May  4 07:32:09 2022 UTC
Origin         : ports-mgmt/poudriere-devel
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Options        :
        BASH           : on
        CERTS          : on
        DIALOG4PORTS   : on
        EXAMPLES       : on
        QEMU           : off
        ZSH            : on
Annotations    :
        FreeBSD_version: 1203000
        repo_type      : binary
        repository     : FreeBSD

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