Bug 285469 - net-p2p/bazarr: requires setuptools to start correctly
Summary: net-p2p/bazarr: requires setuptools to start correctly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dries Michiels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-16 14:01 UTC by Dries Michiels
Modified: 2025-03-21 08:09 UTC (History)
1 user (show)

See Also:
michiel: maintainer-feedback+


Attachments
0001-net-p2p-bazarr-Add-py-setuptools-to-RUN_DEPENDS.patch (1.26 KB, patch)
2025-03-20 19:55 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 Dries Michiels freebsd_committer freebsd_triage 2025-03-16 14:01:28 UTC
Hi, apparently setuptools did not get installed anymore but after further inspetion because I found that bazarr was not opening a socket anymore, I found it fails to start because of "No module named pkg_resources", when installing setuptools alongside, it works fine again.
Comment 1 Michiel van Baak Jansen 2025-03-16 16:13:27 UTC
Thanks for the report.
I'll get to it this week.
Comment 2 Michiel van Baak Jansen 2025-03-20 19:55:44 UTC
Created attachment 258849 [details]
0001-net-p2p-bazarr-Add-py-setuptools-to-RUN_DEPENDS.patch

Patch to add python setuptools as RUN_DEPENDS so it will be installed together with the other dependencies.

poudriere ok
runs in production on my setup

double-checked by removing both bazarr and all py311-* packages, and then running `pkg install bazarr` to make sure all python dependencies were installed as well.
bazarr starts correctly after this.
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-03-21 08:08:04 UTC
A commit in branch main references this bug:

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

commit 63c61cb6e1d22c3c41de237df6670c1fbc2c463e
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2025-03-21 08:03:15 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2025-03-21 08:04:28 +0000

    net-p2p/bazarr: add setuptools as run dependency

    bazarr fails to start correctly when setuptools is not present.

    PR:     285469

 net-p2p/bazarr/Makefile | 2 ++
 1 file changed, 2 insertions(+)