Bug 255710 - net-p2p/jackett: Depend on mono6.8 to work on FreeBSD >= 12.0
Summary: net-p2p/jackett: Depend on mono6.8 to work on FreeBSD >= 12.0
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: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks: 256576
  Show dependency treegraph
 
Reported: 2021-05-08 17:35 UTC by Michiel van Baak Jansen
Modified: 2021-10-04 12:51 UTC (History)
1 user (show)

See Also:
koobs: merge-quarterly?


Attachments
RUN_DEPENDS on mono6.8 (601 bytes, patch)
2021-05-08 17:35 UTC, Michiel van Baak Jansen
michiel: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel van Baak Jansen 2021-05-08 17:35:49 UTC
Created attachment 224775 [details]
RUN_DEPENDS on mono6.8

Jacket crashes on anything FreeBSD 12.0-RELEASE or newer because of the FileSystemWatcher (kevent) deadlock problem.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198727 for more information about this.

This patch moves jackett away from USES=mono and uses mono6.8 in RUN_DEPENDS.
Since the whole USES=mono does not yet support to pick a mono version, this was the only way to get things working on a modern FreeBSD version.

With this change, it's no longer possible to run radarr/sonarr/etc in the same install as jackett, since those ports have 'USES=mono' which, for now, pins those on mono 5.10
mono 5.10 and 5.20 have this kevent deadlock problem, and only on 6.8 will jackett work.
Comment 1 Rodrigo Osorio freebsd_committer freebsd_triage 2021-06-13 22:06:32 UTC
Michael,

I start integrating this PR as a first step to commit 
jackett update to 0.18.303 (#256576) and it builds.

At this point I will consider this part of the job done
and no additional work is required here. Further changes
will be attached to #256576.

This ticket will be closes once jackett update was committed.
Comment 2 Michiel van Baak Jansen 2021-06-14 07:59:25 UTC
(In reply to Rodrigo Osorio from comment #1)

Sounds good to me.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2021-09-24 00:29:26 UTC
^Triage: Reset assignee (timeout), open to take
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-10-04 12:49:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b8553f74991faba801b49fd77b77daf350490190

commit b8553f74991faba801b49fd77b77daf350490190
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2021-10-04 12:34:45 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2021-10-04 12:47:16 +0000

    net-p2p/jackett: update to 0.18.303

     * Full changelog: https://github.com/Jackett/Jackett/releases

     * For FreeBSD versions >= 12.0-RELEASE
       Remove USE=mono (mono 5.10) who causes Jackett crashes due
       to the FileSystemWatcher (kevent) deadlock problem (PR #198727)
       replaced by a RUN_DEPENDS on mono 6.8.
       After FreeBSD 12.0 is no longer possible to run Jackett and an
       applications such as radarr or sonarr who was built against default
       mono version on the same computer.

    PR:             255710
    PR:     256576
    Reported by:    Michiel van Baak <michiel@vanbaak.eu>

 net-p2p/jackett/Makefile  |  8 ++++++--
 net-p2p/jackett/distinfo  |  6 +++---
 net-p2p/jackett/pkg-plist | 14 ++++++--------
 3 files changed, 15 insertions(+), 13 deletions(-)
Comment 5 Rodrigo Osorio freebsd_committer freebsd_triage 2021-10-04 12:51:07 UTC
Committed, thanks for your patience.