graphics/ImageMagick6 uses broken logic to run tests when TESTS option is enabled. Because of this line: post-install-TESTS-on: test post-install target depends on test, but test depends on stage and stage depends on post-install. As a result of dependency loop, build fails with obscure error: ====> Compressing man pages (compress-man) `stage' not remade because of errors. Stop. To fix the problem, quoted dependency line should be removed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d438d1a3fa510978252e9fedd96d8cfe7dd515f6 commit d438d1a3fa510978252e9fedd96d8cfe7dd515f6 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-10-11 19:46:53 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-10-13 20:13:06 +0000 graphics/ImageMagick6: fix build with TESTS enabled Fix by removing circular dependency between targets: install /→/ test → stage → install PR: 266275 Approved by: maintainer timeout graphics/ImageMagick6/Makefile | 2 -- 1 file changed, 2 deletions(-)