Date: Sun, 28 Feb 2021 14:18:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 253910] deskutils/sysctlview: missing sys/sysctl.h Message-ID: <bug-253910-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253910 Bug ID: 253910 Summary: deskutils/sysctlview: missing sys/sysctl.h Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: alfix86@gmail.com CC: alfix86@gmail.com Flags: maintainer-feedback?(alfix86@gmail.com) Created attachment 222876 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222876&action= =3Dedit Patch for src/model.h adding sys/sysctl.h within the extern "C" block Doesn't compile on main 9995455218ff19df9cf0dcaf0198269dc76eeb2d with the p= orts tree at r566766: --- objectwindow.o --- In file included from ./src/objectwindow.cc:36: In file included from ./src/objectwindow.h:31: ./src/model.h:119:4: error: use of undeclared identifier 'CTLFLAG_RD' { CTLFLAG_RD, "RD", "Allow reads of variable", &m_col_RD, true}, ^ ./src/model.h:120:4: error: use of undeclared identifier 'CTLFLAG_WR' { CTLFLAG_WR, "WR", "Allow writes to the variable", &m_col_WR, true= }, ^ ./src/model.h:121:4: error: use of undeclared identifier 'CTLFLAG_RW' { CTLFLAG_RW, "RW", "RD and WR", &m_col_RW, false}, ^ ./src/model.h:122:4: error: use of undeclared identifier 'CTLFLAG_ANYBODY' { CTLFLAG_ANYBODY, "ANYBODY", "All users can set this var", &m_col_ANYBODY, true}, ^ ./src/model.h:123:4: error: use of undeclared identifier 'CTLFLAG_TUN' { CTLFLAG_TUN, "TUN", "Default value is loaded from getenv()", &m_col_TUN, true }, ^ ./src/model.h:124:4: error: use of undeclared identifier 'CTLFLAG_RDTUN' { CTLFLAG_RDTUN, "RDTUN", "RD and TUN", &m_col_RDTUN, false}, ^ ./src/model.h:125:4: error: use of undeclared identifier 'CTLFLAG_RWTUN' { CTLFLAG_RWTUN, "RWTUN", "RW and TUN", &m_col_RWTUN, false}, ^ ./src/model.h:126:4: error: use of undeclared identifier 'CTLFLAG_STATS' { CTLFLAG_STATS, "STATS", "Statistics, not a tuneable", &m_col_STAT= S, true}, ^ ./src/model.h:127:4: error: use of undeclared identifier 'CTLFLAG_NOFETCH' { CTLFLAG_NOFETCH, "NOFETCH", "Don't fetch tunable from getenv()", &m_col_NOFETCH, true}, ^ ./src/model.h:128:4: error: use of undeclared identifier 'CTLFLAG_CAPRD' { CTLFLAG_CAPRD, "CAPRD", "Can be read in capability mode", &m_col_CAPRD, true}, ^ ./src/model.h:129:4: error: use of undeclared identifier 'CTLFLAG_CAPWR' { CTLFLAG_CAPWR, "CAPWR", "Can be written in capability mode", &m_col_CAPWR, true}, ^ ./src/model.h:130:4: error: use of undeclared identifier 'CTLFLAG_CAPRW' { CTLFLAG_CAPRW, "CAPRW", "CAPRD and CAPWR", &m_col_CAPRW, false}, ^ ./src/model.h:131:4: error: use of undeclared identifier 'CTLFLAG_SECURE' { CTLFLAG_SECURE, "SECURE", "Permit set only if securelevel<=3D0", &m_col_SECURE, true}, ^ ./src/model.h:132:4: error: use of undeclared identifier 'CTLMASK_SECURE' { CTLMASK_SECURE, "MASKSECURE", "Secure level", &m_col_CTLMASK_SECU= RE, true}, ^ ./src/model.h:133:4: error: use of undeclared identifier 'CTLFLAG_PRISON' { CTLFLAG_PRISON, "PRISON", "Prisoned roots can fiddle", &m_col_PRI= SON, true}, ^ ./src/model.h:134:4: error: use of undeclared identifier 'CTLFLAG_VNET' { CTLFLAG_VNET, "VNET", "Prisons with vnet can fiddle", &m_col_VNET, true}, ^ ./src/model.h:135:4: error: use of undeclared identifier 'CTLFLAG_MPSAFE' { CTLFLAG_MPSAFE, "MPSAFE", "Handler is MP safe", &m_col_MPSAFE, tr= ue}, ^ ./src/model.h:138:4: error: use of undeclared identifier 'CTLFLAG_DYN' { CTLFLAG_DYN, "DYN", "Dynamic oid (can be freed)", &m_col_DYN, tru= e}, ^ ./src/model.h:139:4: error: use of undeclared identifier 'CTLFLAG_DYING' { CTLFLAG_DYING, "DYING", "Oid is being removed", &m_col_DYING, fal= se}, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. *** [objectwindow.o] Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253910-7788>