Bug 265430 - devel/cgit: package still depends on python 3.8
Summary: devel/cgit: package still depends on python 3.8
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-25 09:00 UTC by Julien Dessaux
Modified: 2022-08-01 06:43 UTC (History)
3 users (show)

See Also:
lwhsu: maintainer-feedback?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Dessaux 2022-07-25 09:00:26 UTC
When installing cgit from packages, the bundled python scripts are looking for python 3.8 in their shebangs:
- /usr/local/lib/cgit/filters/html-converters/man2html
- /usr/local/lib/cgit/filters/syntax-highlighting.py

The installation is therefore broken.

Installing from ports does not have this problem, it sets python 3.9 as expected.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-07-26 02:11:24 UTC
Please edit the summary line here to have this prefix: 

devel/cgit:
Comment 2 Tatsuki Makino 2022-07-27 08:42:48 UTC
This problem is probably because USES=python has the argument env. So I think poudriere has excluded it from the rebuild.
Elsewhere, it seems that RUN_DEPENDS for scripts installed in filters is missing. also bash, lua...