circular dependencies in ports tree - how to fix?

From: void <void_at_f-m.fm>
Date: Thu, 14 May 2026 13:04:05 UTC
Hi,

On a 15.1 poudriere jail with latest ports tree, the following happens:

[00:05:30] Sanity checking build queue
[00:05:30] Error: /usr/local/share/poudriere/bulk.sh:pkgqueue_sanity_check:27:Dependency loop detected:
These packages depend on each other: run:libheif-1.21.2_3 run:ffmpeg-8.1.1,1 run:libcaca-0.99.b20_1 build:libcaca-0.99.b20_1 run:imlib2-1.12.6,2 build:imlib2-1.12.6,2
These packages depend on each other: run:ffmpeg-8.1.1,1 run:libcaca-0.99.b20_1 build:libcaca-0.99.b20_1 run:imlib2-1.12.6,2 run:libheif-1.21.2_3 build:libheif-1.21.2_3
These packages depend on each other: run:libcaca-0.99.b20_1 build:libcaca-0.99.b20_1 run:imlib2-1.12.6,2 run:libheif-1.21.2_3 run:ffmpeg-8.1.1,1
These packages depend on each other: run:libcaca-0.99.b20_1 build:libcaca-0.99.b20_1 run:imlib2-1.12.6,2 run:libheif-1.21.2_3 run:ffmpeg-8.1.1,1 build:ffmpeg-8.1.1,1
[151amd64-default] [2026-05-12_19h03m56s] [crashed] Time: 00:05:19

How to fix, please? If not fixable in the short term, would this best be raised
as a PR in ports infrastructure, or against each port?

For the time being, I'm going to try commenting out each affected port in
the build list.

--