[Bug 275524] sysutils/bashtop: unbreak (RUN_DEP+=bash, USES+=SHEBANGFIX, s/python3/python${PYTHON_VER}/

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Dec 2023 14:42:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275524

            Bug ID: 275524
           Summary: sysutils/bashtop: unbreak (RUN_DEP+=bash,
                    USES+=SHEBANGFIX, s/python3/python${PYTHON_VER}/
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lwhsu@FreeBSD.org
          Reporter: vidar@karlsen.tech
             Flags: maintainer-feedback?(lwhsu@FreeBSD.org)
          Assignee: lwhsu@FreeBSD.org

Created attachment 246767
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246767&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.