Bug 262850 - net/grilo-plugins: Fails to build if TRACKER=ON and sysutils/tracker3 is installed
Summary: net/grilo-plugins: Fails to build if TRACKER=ON and sysutils/tracker3 is inst...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 01:06 UTC by Tomoaki AOKI
Modified: 2022-11-13 11:26 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)
koobs: merge-quarterly?


Attachments
Ad-hoc patch to disable tracker3 (475 bytes, patch)
2022-03-27 01:06 UTC, Tomoaki AOKI
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoaki AOKI 2022-03-27 01:06:33 UTC
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 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-04-28 09:09:44 UTC
Comment on attachment 232753 [details]
Ad-hoc patch to disable tracker3

Approved by: portmgr (maintainer timeout: 1 month)

Pending QA
Comment 2 John Hein 2022-05-02 17:20:20 UTC
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.
Comment 3 Tomoaki AOKI 2022-05-02 21:49:43 UTC
(In reply to John Hein from comment #2)

The proposed patch just does the same thing via /usr/ports/Mk/bsd.options.mk functionallity.
Comment 4 John Hein 2022-05-03 02:35:00 UTC
(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.
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2022-05-15 08:20:59 UTC
testbuilds@work
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2022-05-15 15:11:18 UTC
testbuilds are fine.
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2022-05-16 00:28:58 UTC
^Triage: Assignee timeout (2 months), open to take.
Comment 8 Tomoaki AOKI 2022-05-21 12:12:50 UTC
(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.
Comment 9 commit-hook freebsd_committer freebsd_triage 2022-11-13 10:14:23 UTC
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(+)
Comment 10 Dima Panov freebsd_committer freebsd_triage 2022-11-13 10:15:43 UTC
Shipped, thanks
Comment 11 Tomoaki AOKI 2022-11-13 11:05:43 UTC
(In reply to Dima Panov from comment #10)

Cofirmed. Thanks!
As this is a long-standing problem, please consider merging into quarterly (2022Q4).
Comment 12 commit-hook freebsd_committer freebsd_triage 2022-11-13 11:20:37 UTC
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(+)
Comment 13 Tomoaki AOKI 2022-11-13 11:26:14 UTC
(In reply to commit-hook from comment #12)

Thanks!