Bug 275524 - sysutils/bashtop: unbreak (RUN_DEP+=bash, USES+=SHEBANGFIX, s/python3/python${PYTHON_VER}/
Summary: sysutils/bashtop: unbreak (RUN_DEP+=bash, USES+=SHEBANGFIX, s/python3/python$...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 14:42 UTC by Vidar Karlsen
Modified: 2023-12-04 14:43 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lwhsu)


Attachments
Patch to unbreak bashtop (1.37 KB, patch)
2023-12-04 14:42 UTC, Vidar Karlsen
vidar: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vidar Karlsen 2023-12-04 14:42:42 UTC
Created attachment 246767 [details]
Patch to unbreak bashtop

Bashtop fails to run due to a couple road blocks:

- It needs shells/bash, but this is not declared as a dependency
- The script isn't shebangfixed (not really a blocker)
- The script tries to run python3, which fails because it doesn't exist

I have attached a patch as a suggestion for how to address these issues.

QA: Installs and runs fine on 13.2-amd64 using poudriere testport.

Note: I believe this is the same problem that was reported in #252044.