If ccache is in use then the full path to ccache is resolved, and ends up in both config.report and then config_report.cc. This results in build paths in libkea-cfgrpt.so.3.0.0, so we should also remove HOSTTOOLS_DIR from these files to ensure both reproducibility and no host contamination.
Signed-off-by: Ross Burton <[email protected]> --- meta/recipes-connectivity/kea/kea_3.0.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb index 8729b1162ea..a4950e3bc16 100644 --- a/meta/recipes-connectivity/kea/kea_3.0.1.bb +++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb @@ -57,7 +57,9 @@ do_configure:prepend() { # patch out build host paths for reproducibility do_compile:prepend:class-target() { - sed -i -e "s,${WORKDIR},,g" ${B}/config.report + sed -i -e "s,${WORKDIR},,g" -e "s,${HOSTTOOLS_DIR}/,,g" \ + ${B}/config.report \ + ${B}/src/lib/process/cfgrpt/config_report.cc } do_install:append() { -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#228166): https://lists.openembedded.org/g/openembedded-core/message/228166 Mute This Topic: https://lists.openembedded.org/mt/116849550/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
