Part of #558
What
The kcenon-monitoring-system port defines a network feature, but its dependency array is empty. The feature enables HTTP metrics export (OTLP, Prometheus) which requires network_system, yet the port does not pull it in.
- Current:
"network": { "description": "...", "dependencies": [] } (empty array)
- Expected: Feature should depend on
kcenon-network-system
- Scope:
vcpkg-ports/kcenon-monitoring-system/vcpkg.json
Why
- The portfile already passes
-DMONITORING_WITH_NETWORK_SYSTEM=${MONITORING_WITH_NETWORK} based on this feature
- Without the dependency, enabling the feature won't install network_system, causing CMake configure to fail
- Empty dependency arrays for features that clearly need libraries indicate an oversight
Where
vcpkg-ports/kcenon-monitoring-system/vcpkg.json — features.network.dependencies is []
vcpkg-ports/kcenon-monitoring-system/portfile.cmake — lines 18-21: feature check sets MONITORING_WITH_NETWORK
How
Technical Approach
- Update
vcpkg-ports/kcenon-monitoring-system/vcpkg.json network feature:
"network": {
"description": "Enable network_system integration for HTTP metrics export (OTLP, Prometheus)",
"dependencies": [
"kcenon-network-system"
]
}
- Mirror the change in
kcenon/vcpkg-registry if applicable
Acceptance Criteria
Part of #558
What
The
kcenon-monitoring-systemport defines anetworkfeature, but its dependency array is empty. The feature enables HTTP metrics export (OTLP, Prometheus) which requires network_system, yet the port does not pull it in."network": { "description": "...", "dependencies": [] }(empty array)kcenon-network-systemvcpkg-ports/kcenon-monitoring-system/vcpkg.jsonWhy
-DMONITORING_WITH_NETWORK_SYSTEM=${MONITORING_WITH_NETWORK}based on this featureWhere
vcpkg-ports/kcenon-monitoring-system/vcpkg.json—features.network.dependenciesis[]vcpkg-ports/kcenon-monitoring-system/portfile.cmake— lines 18-21: feature check setsMONITORING_WITH_NETWORKHow
Technical Approach
vcpkg-ports/kcenon-monitoring-system/vcpkg.jsonnetwork feature:kcenon/vcpkg-registryif applicableAcceptance Criteria
networkfeature depends onkcenon-network-system--feature networkflag