Do a rebuild of systemtap 3 with a clean sysroot and some runtime dependencies disappear: packages/corei7-64-poky-linux/systemtap/systemtap: RDEPENDS: removed "ncurses-libtinfo (['>= 6.0+20160213']) ncurses-libncurses (['>= 6.0+20160213']) readline (['>= 6.3']) json-c (['>= 0.12'])" (not sure why the sanity checks didn't catch this)
Interestingly json-c is an explicit DEPENDS and ncurses is somehow a task dependency as shown my adding some debugging: WARNING: systemtap-3.0-r0 do_package_qa: got taskdeps {'gettext-native', 'readline-native', 'unifdef-native', 'gettext', 'gettext-minimal-native', 'readline', 'elfutils', 'gdbm', 'glibc', 'libmpc-native', 'texinfo-dummy-native', 'pkgconfig-native', 'binutils-cross-x86_64', 'gcc-runtime', 'python3', 'libtool', 'cryptodev-linux', 'systemd-systemctl-native', 'autoconf-native', 'acl-native', 'mpfr-native', 'pseudo-native', 'zlib-native', 'bison-native', 'xz-native', 'pigz-native', 'sqlite3-native', 'gcc-cross-initial-x86_64', 'libgcc-initial', 'linux-libc-headers', 'elfutils-native', 'libgcc', 'bash', 'bzip2', 'gcc-source-6.1.1', 'zlib', 'xz', 'python-native', 'expat-native', 'bzip2-native', 'prelink-native', 'quilt-native', 'systemtap', 'json-c', 'binutils-native', 'opkg-utils', 'gnu-config-native', 'systemtap-native', 'python3-native', 'automake-native', 'gmp-native', 'gperf-native', 'db', 'popt-native', 'openssl', 'libtool-cross', 'ncurses-native', 'libtool-native', 'libffi', 'openssl-native', 'attr-native', 'glibc-initial', 'ncurses', 'sqlite3', 'libpcre-native', 'rpm-native', 'byacc-native', 'gcc-cross-x86_64', 'flex-native', 'cryptodev-linux-native', 'file-native', 'ossp-uuid-native', 'm4-native', 'db-native', 'expat'} (via rpm?)
systemtap has a floating dependency on ncurses, but when ncurses is available, its absence from DEPENDS is not reported by QA - I'll try to debug this. json-c is linked against only when ncurses is also present.
The sanity test doesn't catch this as it can't catch all problems by design, and rewriting it would be rather tricky. I've a patch to just add ncurses to DEPENDS.
Fixed in oe-core 2fdd2c1434e7c741b8048145bd460c68bea7ee53.