Twelve years ago, libtool on Debian had a patch that meant it failed to cross-compile lttng-tools correctly. The solution at the time was to sed libtool.m4 whilst configure was being ran[1], which (assuming it patches the correct file) results in a re-execution of configure during do_compile.
This behaviour is undesired as we don't patch libtool in the way that this fixup is needed (the sed only changes Haiku OS codepaths), so disable it. [1] https://github.com/lttng/lttng-tools/commit/6bd5984c2b1b1037e0345bbac3506b5503fe01bd Signed-off-by: Ross Burton <ross.bur...@arm.com> --- meta/recipes-kernel/lttng/lttng-tools_2.13.14.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.14.bb b/meta/recipes-kernel/lttng/lttng-tools_2.13.14.bb index 65d19b6e5fd..98c2f9831b7 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.13.14.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.14.bb @@ -47,6 +47,8 @@ inherit autotools ptest pkgconfig useradd python3-dir manpages systemd CACHED_CONFIGUREVARS = "PGREP=/usr/bin/pgrep" +EXTRA_OECONF += "--disable-libtool-linkdep-fixup" + SYSTEMD_SERVICE:${PN} = "lttng-sessiond.service" SYSTEMD_AUTO_ENABLE = "disable" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#209946): https://lists.openembedded.org/g/openembedded-core/message/209946 Mute This Topic: https://lists.openembedded.org/mt/110645575/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-