Skip to content

Matter netman add rpcd#50

Open
rmelotte wants to merge 1 commit into
project-chip:mainfrom
rmelotte:matter-netman-add-rpcd
Open

Matter netman add rpcd#50
rmelotte wants to merge 1 commit into
project-chip:mainfrom
rmelotte:matter-netman-add-rpcd

Conversation

@rmelotte

@rmelotte rmelotte commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

We need rpcd to query the UCI configuration over ubus.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds rpcd to the dependencies of matter-netman and changes PKG_BUILD_DEPENDS to HOST_BUILD_DEPENDS in python3-host-ssl. However, changing the build dependency in python3-host-ssl can break build order tracking and lead to parallel build failures, so it is recommended to revert this change.

I am having trouble creating individual review comments. Click here to see my feedback.

devel/python3-host-ssl/Makefile (22)

high

In OpenWrt, package-level build dependency tracking (even for host-only packages with PKG_HOST_ONLY:=1) relies on PKG_BUILD_DEPENDS to determine the build order. Changing this to HOST_BUILD_DEPENDS means the build system will not guarantee that python3/host is built before python3-host-ssl. This can lead to race conditions and build failures in clean or parallel builds (e.g., make -j). Please revert this to PKG_BUILD_DEPENDS.

PKG_BUILD_DEPENDS:=python3/host

@rmelotte

Copy link
Copy Markdown
Contributor Author

Note: I initially pushed an additional commit that didn't belong here (about python3-host-ssl) and then removed it.
Gemini reviewed this additional commit as well though, which is why its current output confusing.

@rmelotte rmelotte force-pushed the matter-netman-add-rpcd branch from 9cbf355 to c267c13 Compare June 26, 2026 12:55
We need rpcd to query the UCI configuration over ubus.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
@rmelotte rmelotte force-pushed the matter-netman-add-rpcd branch from c267c13 to 18005db Compare June 26, 2026 13:15
CATEGORY:=Network
TITLE:=Matter Network Infrastructure Manager Daemon
URL:=https://github.com/project-chip/connectedhomeip
DEPENDS:=+libstdcpp +libatomic +libubus +libubox +jsonfilter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency is fine, but it's a little odd as a standalone PR since nothing is pulling in any code to actually read UCI config yet? Are you implementing that code in the example app in the SDK repo? If so we can add this dependency when we also pull in a later version of the example app that has that code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes indeed, we're using it in the example app in the SDK repo.
The idea was to already add the dependency here so that it's easier for other people to use it without having to pull it in manually, but waiting until the changes are merged in the SDK repo would also be fine IMO.

We're still finalizing the changed for the SDK repo, there is no PR for it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants