While we use devtool for package upgrades, switching to musl ("TCLIBC=musl" in "local.conf" file) results in build failure in some cases. It happens because devtool doesn't apply the "musl" related patches. To verify this: # source oe-init-build-env # devtool modify connman # devtool build connman (works as expected) Update "conf/local.conf" to switch to musl ("TCLIBC=musl") # devtool build connman (build fails) In the beginning, devtool doesn't apply the "SRC_URI_append_libc-musl" patches when we run "devtool modify recipe". We need to clean the workspace and start again to apply these patches and then the build succeeds.
I've implemented something to help with this. It does require some branch changing when switching the configuration and changes will need to be made carefully, but it should help. See the paule/devtool31 poky-contrib branch or the patches I just sent to the list.
Now implemented in master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=125e0b72b7b419368761ffbbf38987f91af4523b