When I'm trying to build all ports with Poudriere, I keep seeing that the nanum font packages are being removed for rebuilding: [00:52:50] Deleting ko-nanum-barun-gothic-20220210.pkg: stale package: unwanted origin korean/nanum-barun-gothic@ttf [00:52:50] Deleting ko-nanum-barun-pen-20220210.pkg: stale package: unwanted origin korean/nanum-barun-pen@ttf [00:52:51] Deleting ko-nanum-brush-20220210.pkg: stale package: unwanted origin korean/nanum-brush@ttf [00:52:51] Deleting ko-nanum-gothic-20220210.pkg: stale package: unwanted origin korean/nanum-gothic@ttf [00:52:51] Deleting ko-nanum-myeongjo-20220210.pkg: stale package: unwanted origin korean/nanum-myeongjo@ttf [00:52:51] Deleting ko-nanum-pen-20220210.pkg: stale package: unwanted origin korean/nanum-pen@ttf [00:52:52] Deleting ko-nanum-pen-20220210.txz: dead symlink [00:52:52] Deleting ko-nanum-square-20220210.pkg: stale package: unwanted origin korean/nanum-square@ttf [00:52:52] Deleting ko-nanum-square-round-20220210.pkg: stale package: unwanted origin korean/nanum-square-round@ttf This could be because you don't set up PORTNAME in the slave ports, causing Poudriere to think that all these ports have the same origin when they don't. To fix this, change the ports such that each slave port has its own PORTNAME.
PKGNAMESUFFIX is set instead. Do you mean Poudriere cannot handle origin properly if I combine it with FLAVORS? If so, it sounds like a Poudriere bug to me.
(In reply to Jung-uk Kim from comment #1) I don't really know.
Created attachment 234507 [details] Do not use PKGNAMESUFFIX Can you please try this patch? This patch removes PKGNAMESUFFIX.
(In reply to Jung-uk Kim from comment #3) Hi, This does not seem to change anything, so the problem might be something else. One possible other reason could be is that you define the default flavour as FLAVOR?= ${FLAVORS:[2]} whereas the manual says that the default flavour must always be the first flavour in the list. If I flip these two around so it says FLAVORS= ttf otf FLAVOR?= ${FLAVORS:[1]} instead, then the error no longer appears. I think your original patch is not necessary in this case either.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=41157c7ddb3ae60dfc1d3477afbf6b47d5c17ed3 commit 41157c7ddb3ae60dfc1d3477afbf6b47d5c17ed3 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2022-06-08 21:29:18 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2022-06-08 21:29:18 +0000 korean/nanum-*: Make the first flavor in FLAVORS default PR: 264498 korean/nanumfonts/Makefile.common | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Committed, thanks!