Created attachment 232753 [details] Ad-hoc patch to disable tracker3 net/grilo-plugins fails to build if TRACKER option is enabed (default) and sysutils/tracker3 is installed at the same time. It is because TRACKER option invokes dependency to sysutils/tracker, Inside net/grilo-plugins, tracker2 and tracker3 cannot enebled at the same time, sysutils/tracker and sysutils/tracker3 does not conflict (neither CONFLICT nor COFLICT_INSTALL), net/grilo-plugins enables tracker3 by default. The real fix would be switching to net/tracker3, as many ports seems to switching to tracker3. But it would require updating sysutils/tracker-miners to support net/tracker3, which I couldn't. *sysutils tracker3 lacks at least one required library, which tracker-miners3 would have. Attached ad-hoc patch disables tracker3 support on grilo-plugins, which was currently sufficient for me, as sysutils/tracker and sysutils/tracker3 seems to sanely coexist at the same time.
Comment on attachment 232753 [details] Ad-hoc patch to disable tracker3 Approved by: portmgr (maintainer timeout: 1 month) Pending QA
I have had a local patch to pass -Denable-tracker3=no since Dec 2021 for the same reason - tracker & tracker3 installed which causes 'make configure' failure: meson.build:179:4: ERROR: Problem encountered: tracker3 and tracker modules cannot be enabled at the same time This patch should be applied. No need to bump PORTREVISION as this will not change anything about a package that was already successfully built.
(In reply to John Hein from comment #2) The proposed patch just does the same thing via /usr/ports/Mk/bsd.options.mk functionallity.
(In reply to Tomoaki AOKI from comment #3) Yes. That's why I said this patch should be applied. I was agreeing with your patch.
testbuilds@work
testbuilds are fine.
^Triage: Assignee timeout (2 months), open to take.
(In reply to Kurt Jaeger from comment #6) Can you please commit it? This is just a build fix for certain option (default, though) and specific port installed. So no bump is required.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d5b522360d0f8b6e0f3fcd845a935fc1972d7e7 commit 3d5b522360d0f8b6e0f3fcd845a935fc1972d7e7 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-11-13 10:07:06 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-11-13 10:13:21 +0000 net/grilo-plugins: do not detect sysutils/tracker3 when it is installed (+) PR: 262850 net/grilo-plugins/Makefile | 1 + 1 file changed, 1 insertion(+)
Shipped, thanks
(In reply to Dima Panov from comment #10) Cofirmed. Thanks! As this is a long-standing problem, please consider merging into quarterly (2022Q4).
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3fe09ca5d6b9fa135ff0f1016957732d1f871389 commit 3fe09ca5d6b9fa135ff0f1016957732d1f871389 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-11-13 10:07:06 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-11-13 11:20:06 +0000 net/grilo-plugins: do not detect sysutils/tracker3 when it is installed (+) PR: 262850 (cherry picked from commit 3d5b522360d0f8b6e0f3fcd845a935fc1972d7e7) net/grilo-plugins/Makefile | 1 + 1 file changed, 1 insertion(+)
(In reply to commit-hook from comment #12) Thanks!