Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2022 22:06:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263946] [poudriere-devel] distclean doesn't work on overlay
Message-ID:  <bug-263946-7788@https.bugs.freebsd.org/bugzilla/>

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

            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
overlays.

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
removed.

Should poudriere distclean accept -O as well?

---

Name           : poudriere-devel
Version        : 3.3.99.20211130
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

--=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-263946-7788>