NetBSD Problem Report #39881
From www@NetBSD.org Fri Nov 7 20:20:29 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 9A61063BD76
for <gnats-bugs@gnats.netbsd.org>; Fri, 7 Nov 2008 20:20:29 +0000 (UTC)
Message-Id: <20081107202029.2DC9663BADB@narn.NetBSD.org>
Date: Fri, 7 Nov 2008 20:20:29 +0000 (UTC)
From: telarson@west.com
Reply-To: telarson@west.com
To: gnats-bugs@NetBSD.org
Subject: htop is only for Linux and FreeBSD
X-Send-Pr-Version: www-1.0
>Number: 39881
>Category: pkg
>Synopsis: htop is only for Linux and FreeBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Nov 07 20:25:00 +0000 2008
>Closed-Date: Sat Dec 10 14:37:41 +0000 2011
>Last-Modified: Sat Dec 10 14:37:41 +0000 2011
>Originator: Tim Larson
>Release:
>Organization:
>Environment:
>Description:
Documentation states that sysutils/htop is only for Linux, and FreeBSD using a Linux-compatible /proc.
>How-To-Repeat:
>Fix:
Index: sysutils/htop/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/htop/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- sysutils/htop/Makefile 14 Jul 2008 12:56:12 -0000 1.3
+++ sysutils/htop/Makefile 7 Nov 2008 20:18:18 -0000
@@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://htop.sourceforge.net/
COMMENT= Enhanced version of top utility
+ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-*
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/39881: htop is only for Linux and FreeBSD
Date: Sat, 08 Nov 2008 10:43:29 +0900
On Sat, 08 Nov 2008 05:25:00 +0900, <telarson@west.com> wrote:
> Documentation states that sysutils/htop is only for Linux, and FreeBSD using a Linux-compatible /proc.
NetBSD's mount_procfs(8) have "-o linux" option for compatibility with linux's procfs.
Because of lack of /proc/stat, failed to configure on NetBSD-4, but NetBSD-5 have it.
From: "Larson, Timothy E." <TELarson@west.com>
To: "'gnats-bugs@NetBSD.org'" <gnats-bugs@NetBSD.org>
Cc:
Subject: RE: pkg/39881: htop is only for Linux and FreeBSD
Date: Wed, 2 Dec 2009 11:33:41 -0600
I revisited this now that I am running NB 5.x, and enabled the /proc FS. N=
ow htop seems to build and work fine, but there is no binary available from=
the repositories. This is probably because the system doing the bulk buil=
ds does not have /proc enabled.
Tim
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/39881: htop is only for Linux and FreeBSD
Date: Thu, 3 Dec 2009 06:06:23 +0000
On Wed, Dec 02, 2009 at 05:40:06PM +0000, Larson, Timothy E. wrote:
> I revisited this now that I am running NB 5.x, and enabled the
> /proc FS. Now htop seems to build and work fine, but there is no
> binary available from the repositories. This is probably because
> the system doing the bulk builds does not have /proc enabled.
Indeed. (See pkgsrc-bulk.)
I'm thinking maybe the best approach for this is to disable the
configure test and set ONLY_FOR_PLATFORM to the platforms where it'll
work. Does the configure test have any side effects beyond testing for
/proc?
--
David A. Holland
dholland@netbsd.org
From: "Aleksey Cheusov" <cheusov@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39881 CVS commit: pkgsrc/sysutils/htop
Date: Sat, 10 Dec 2011 13:28:43 +0000
Module Name: pkgsrc
Committed By: cheusov
Date: Sat Dec 10 13:28:43 UTC 2011
Modified Files:
pkgsrc/sysutils/htop: Makefile
Log Message:
Unconditionally pass ac_cv_file__proc_stat=yes and
ac_cv_file__proc_meminfo=yes to "configure" script. As a result htop
will be built regardless of /proc is mounted or not (bulk builds).
Enable htop PR 39881 on NetBSD, Linux and FreeBSD only where
Linux-compatible procfs is available.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/htop/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: cheusov@NetBSD.org
State-Changed-When: Sat, 10 Dec 2011 14:37:41 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.