| Summary: | systemtap has non-deterministic build dependencies | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ross Burton <ross.burton> |
| Component: | devtools / tool chain | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED FIXED | QA Contact: | Libertad <libertad.gonzalez.de.la.cruz> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | jose.perez.carranza, meta.mr.watcher, meta.watcher |
| Version: | 2.1 | ||
| Target Milestone: | 2.2 M2 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ross Burton
2016-06-05 21:35:22 UTC
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. |