[Bug 219270] [patch] sysutils/atop: fails to build on head after r315662
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 14 04:26:33 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219270
Bug ID: 219270
Summary: [patch] sysutils/atop: fails to build on head after
r315662
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: vladislav.movchan at gmail.com
CC: samm at os2.kiev.ua
CC: samm at os2.kiev.ua
Keywords: patch
Flags: maintainer-feedback?(samm at os2.kiev.ua)
Created attachment 182580
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182580&action=edit
Fix for post-r315662
sysutils/atop fails to compile after base r315662:
> --- photosyst.o ---
> photosyst.c:1596:11: error: no member named 'xt_tp' in 'struct xtcpcb'
> if (tp->xt_tp.t_state == TCPS_ESTABLISHED ||
> ~~ ^
> photosyst.c:1597:11: error: no member named 'xt_tp' in 'struct xtcpcb'
> tp->xt_tp.t_state == TCPS_CLOSE_WAIT)
> ~~ ^
> 2 errors generated.
> *** [photosyst.o] Error code 1
After "xt_tp.t_state" replaced with "t_state" port compiles but fails to run:
$ atop
atop: sysctl(vm.stats.vm.v_forkpages...) failed: Cannot allocate memory (12)
$
Attached patch fixes both problems
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list