Bug 269263 - sysutils/ncdu - exclude-kernfs flag error
Summary: sysutils/ncdu - exclude-kernfs flag error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-31 09:13 UTC by Yani Karydis
Modified: 2023-02-05 16:14 UTC (History)
3 users (show)

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


Attachments
Change exclude_kernfs to 0 (412 bytes, patch)
2023-02-04 13:28 UTC, Ting-Wei Lan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yani Karydis 2023-01-31 09:13:20 UTC
Hello,

I'm getting the following error when using ncdu on FreeBSD amd64 12.4-RELEASE

"The --exclude-kernfs flag is currently only supported on Linux."
Comment 1 Ting-Wei Lan 2023-02-04 12:26:39 UTC
It fails even if I don't specify any flag:

$ ncdu
The --exclude-kernfs flag is currently only supported on Linux.
Comment 2 Ting-Wei Lan 2023-02-04 13:28:14 UTC
Created attachment 239899 [details]
Change exclude_kernfs to 0

It seems it can be fixed by setting exclude_kernfs to 0.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-02-05 16:05:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3236c8cc115b86557c194b14f90a9aaa24501431

commit 3236c8cc115b86557c194b14f90a9aaa24501431
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:30:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:50:17 +0000

    sysutils/ncdu: Fix runtime --exclude-kernfs error message

    - Bump PORTREVISION for package change

    PR:             269263
    Reported by:    Yani Karydis <yani@pi-greece.eu>

 sysutils/ncdu/Makefile               | 1 +
 sysutils/ncdu/files/patch-src-main.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-02-05 16:14:41 UTC
Committed. Thanks!