Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:

  File 
"/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py",
 line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno

Signed-off-by: Alexander Kanavin <[email protected]>
---
 meta/recipes-support/diffoscope/diffoscope_172.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/diffoscope/diffoscope_172.bb 
b/meta/recipes-support/diffoscope/diffoscope_172.bb
index bf4726e778..86dd5d8d70 100644
--- a/meta/recipes-support/diffoscope/diffoscope_172.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_172.bb
@@ -23,6 +23,7 @@ do_install_append_class-native() {
        create_wrapper ${D}${bindir}/diffoscope \
                MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
                RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
+               LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
                RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
 }
 
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151326): 
https://lists.openembedded.org/g/openembedded-core/message/151326
Mute This Topic: https://lists.openembedded.org/mt/82607081/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to