From owner-freebsd-ports-bugs@freebsd.org Sun Feb 28 14:18:32 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 026FD56C7E9 for ; Sun, 28 Feb 2021 14:18:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpQVH6SrSz3tLT for ; Sun, 28 Feb 2021 14:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DDF0A56C2FA; Sun, 28 Feb 2021 14:18:31 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDB9E56C7E8 for ; Sun, 28 Feb 2021 14:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpQVH5sBVz3tD5 for ; Sun, 28 Feb 2021 14:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC2E811F68 for ; Sun, 28 Feb 2021 14:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11SEIVkl091784 for ; Sun, 28 Feb 2021 14:18:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11SEIV5n091783 for ports-bugs@FreeBSD.org; Sun, 28 Feb 2021 14:18:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 253910] deskutils/sysctlview: missing sys/sysctl.h Date: Sun, 28 Feb 2021 14:18:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 14:18:32 -0000 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.=