ascpu exits 1, because kvm_nlist(kd, nlst={{"_cp_time"}, {0}}) is faild. Fix: sysctl cp_time/cp_times should be used. (If sysctl is only used, no need to set the setgid bit by do-install in Makefile.) the option -cpu will be accepted by this patch. Patch attached with submission follows: How-To-Repeat: koie@guriandgura% ascpu kvm_open: kvm_nlist: No such file or directory ascpu : cannot get nlist koie@guriandgura%
Responsible Changed From-To: freebsd-ports-bugs->demon Over to maintainer (via the GNATS Auto Assign Tool)
Hallo, The PR with patch has been waiting for nearly 2 years. Now 8.0-RELEASE is out and the port is not fixed yet. Could someone have a look and commit pls ? (Or at least submit a follow up describing why not.) Thanks and regards, Martin PS: Since there's a similar issue with sysutils/wmmemload I'm CCing Soeren. PR is ports/141898.
demon 2009-12-23 09:42:39 UTC FreeBSD ports repository Modified files: sysutils/ascpu Makefile Added files: sysutils/ascpu/files patch-ascpu_x.c Removed files: sysutils/ascpu/files patch-sec01 Log: Fix for 8.0. (patch-sec01 was merged into patch-ascpu_x.c). PR: 119923 Submitted by: KOIE Hidetaka <koie@suri.co.jp> Revision Changes Path 1.21 +1 -1 ports/sysutils/ascpu/Makefile 1.1 +109 -0 ports/sysutils/ascpu/files/patch-ascpu_x.c (new) 1.3 +0 -23 ports/sysutils/ascpu/files/patch-sec01 (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Patch committed, thanks!