Since file-native is ASSUME_PROVIDED magic.mgc is not being staged.  As
a result diffoscope-native is failing with:

magic.MagicException: b'could not find any valid magic files!

Fix this by adding dependency on file-replacement-native

Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/recipes-devtools/python/python3-magic_0.4.24.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-magic_0.4.24.bb 
b/meta/recipes-devtools/python/python3-magic_0.4.24.bb
index ae895fbd53..fd5825dbd1 100644
--- a/meta/recipes-devtools/python/python3-magic_0.4.24.bb
+++ b/meta/recipes-devtools/python/python3-magic_0.4.24.bb
@@ -13,6 +13,8 @@ inherit pypi setuptools3
 
 SRC_URI[sha256sum] = 
"de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf"
 
+DEPENDS:append:class-native = " file-replacement-native"
+
 RDEPENDS:${PN} += "file \
                    ${PYTHON_PN}-ctypes \
                    ${PYTHON_PN}-io \
-- 
2.25.1

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

Reply via email to