-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenWrt build failing with NAT64 enabled #2033
Comments
@ihidchaos compiler errors are deterministic, so re-running the check will not fix it. |
Thanks for the tip, I'm trying to fix it. |
UPDATE: I realized that the According to my tests, disabling OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE doesn't affect the device getting nat64 prefix on OpenWrt platform. I guess we can withdraw openthread/pull/9441 for now and turn it back on after using the normal synchronous mode implementation of getaddrinfo, or we need to replace the current getaddrinfo_a with c-ares. |
I have written code to use c-ares instead of getaddrinfo_a and am testing it on my own fork branch. However, I'm wondering if introducing c-ares in order to use asynchronous address lookups is necessary. |
There is some platform already adopted the version of using libanl. I'm wondering if we want to keep backward compatibility when switching to c-ares. It might take some time to verify. As a mitigation of the otbr-posix build CI error, @ihidchaos could you help revert the change introduced by openthread/pull/9441? It can be changed back again after the solution is finalized. |
Closing stale issue. |
The ot-br-posix/pull/2011 mentioned in openwrt/pull/11559 was committed on Dec 19, 2022, and openwrt#L46 depends on The openwrt sdk version is 22.03.3, which does not merge into the above patch.
I think even if it wasn't for this issue, we would need to update the openwrt sdk version, e.g. the latest master to ensure that the two are always compatible.
Nonetheless, I verified locally that compiling with the default 22.03.3 version passes, and switching to master also compiles fine.
I'm not sure if switching to the new openwrt sdk will fix this, or if re-triggering the action run will (I've had CI fail on commits in unrelated code, and a re-run fixed it).
I am testing online by triggering the action after a fork.
Originally posted by @ihidchaos in #2030 (comment)
The text was updated successfully, but these errors were encountered: