[Bug 275797] ports-mgmt/pkg_rmleaves: stop working on main due to the deletion of dialog

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 Dec 2023 05:19:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275797

            Bug ID: 275797
           Summary: ports-mgmt/pkg_rmleaves: stop working on main due to
                    the deletion of dialog
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: crash
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: junchoon@dec.sakura.ne.jp
                CC: alexander@wittig.name
                CC: alexander@wittig.name
             Flags: maintainer-feedback?(alexander@wittig.name)

On base main, dialog is no longer installed by default after commit
38981026e70390ccfb99930ec6d71299dd2af780 [1].
This causes ports-mgmt/pkg_rmleaves to stop working on console (ttyv*) or
terminal emulators like below.

     ===== Quote =====
# pkg_rmleaves
dialog not found.
     =====End quote =====

Not tried, but it would work with kdialog (option -k) or xdialog (option -x or
-X), but they seem to be GUI only.

Simply editing "DIALOG=dialog" line to "DIALOG=bsddialog" to make bsddialog as
default caused below and didn't work.

     ===== Quote =====
# pkg_rmleaves
Error: --ignore to continue.

See 'bsddialog --help' or 'man 1 bsddialog' for more information.
Dialog Error, try to resize your terminal to at least 80x24.
     ===== End quote =====

I'm not enough familiar with dialog/bsddialog and gave up here.


[1]
https://lists.freebsd.org/archives/dev-commits-src-main/2023-October/019020.html

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