The gstreamer build (gstreamer1.0_1.16.1.bb) is showing determinism issues depending on whether setcap is installed on the buildhost or not. The autotools fix would be: # setcap may not exist on the host CACHED_CONFIGUREVARS = "ac_cv_path_SETCAP=${sbindir}" Unfortunately I don't know the meson equivalent. The diffoscope difference shows a dependency on libcap in some builds and not in others.
The relevant location in the meson based builds is here: https://gitlab.freedesktop.org/gstreamer/gstreamer/blob/master/libs/gst/helpers/meson.build#L67 This meson.build file also contains PTP related checks that may similarly cause nondeterministic builds, though I am not sure this really is the case. Worth checking too.
I think simply adding a dependency on whatever native recipe provides setcap, and then making sure target libcap is there as well should be enough?
Reading that meson code, it does look for setcap in PATH first before falling back to hardcoded host paths.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=29d57a9e270c64b523021a65fdde140efb40e3c7