Prerequisites
Describe the bug
Running `distclean` complains that the tree does not support FLAVORS even though it does
How to reproduce
Create a port-list file including devel/git@lite
Run
poudriere distclean -f /usr/local/etc/poudriere.d/port-list
The output errors with:
[00:00:03] Loading MOVED for /usr/local/poudriere/ports/default
[00:00:04] Gathering all expected distfiles for ports tree 'default'
[00:00:04] Error: Trying to build FLAVOR-specific devel/git@lite but ports tree has no FLAVORS support.
[00:00:04] Error: Trying to build FLAVOR-specific editors/emacs@nox but ports tree has no FLAVORS support
.
[00:00:04] Error: Fatal errors encountered gathering distfiles metadata
Exiting with status 1
Note that when running bulk it confirms that FLAVORS is supported, and is able to successfully build the flavor devel/git@lite.
[00:00:00] Creating the reference jail... done
[00:00:01] Mounting system devices for 150arm64-default
[00:00:01] Stashing existing package repository
[00:00:01] Mounting ports from: /usr/local/poudriere/ports/default
[00:00:01] Mounting packages from: /usr/local/poudriere/data/packages/150arm64-default
[00:00:01] Mounting distfiles from: /usr/local/poudriere/ports/distfiles
[00:00:01] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
[00:00:01] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/150arm64-default/ref/etc/resolv.conf
[00:00:01] Starting jail 150arm64-default
Updating /var/run/os-release done.
[00:00:01] Will build as nobody:nobody (65534:65534)
[00:00:04] Logs: /usr/local/poudriere/data/logs/bulk/150arm64-default/2026-04-03_10h32m22s
[00:00:04] Loading MOVED for /usr/local/poudriere/data/.m/150arm64-default/ref/usr/ports
[00:00:05] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:00:05] Inspecting ports tree for modifications to git checkout... no
[00:00:06] Ports top-level git hash: 2209fded2d34aa1349f8a41b48a20e55147bc70d
[00:00:06] Gathering ports metadata
...
Expected behavior
I expect the distclean to complete its job.
Screenshots
Environment
- Host OS [e.g. 12.2 amd64]: FreeBSD 15.0-RELEASE-p5 arm64
- Jail OS [e.g. 12.0 powerpc]: 15.0-RELEASE-p2 arm64
- Browser: [e.g. chrome, safari]: n/a
- Poudriere Version [e.g. 3.3.1 or git hash or port version]: poudriere-git-3.4.6 (from ports)
- Ports branch and revision [e.g. 2020Q3 r550754]: latest from
poudriere ports -u via git. this has been happening for a long time.
Additional context
Prerequisites
Describe the bug
Running `distclean` complains that the tree does not support FLAVORS even though it doesHow to reproduce
Create a port-list file including
devel/git@liteRun
The output errors with:
Note that when running
bulkit confirms that FLAVORS is supported, and is able to successfully build the flavordevel/git@lite.Expected behavior
I expect the distclean to complete its job.Screenshots
Environment
poudriere ports -uvia git. this has been happening for a long time.Additional context