[OE-core] 回复: 回复: 回复: [PATCH 2/2] glib-2.0: Correct multilib conflict

Chen, Qi Qi.Chen at windriver.com
Tue Mar 17 05:21:10 UTC 2020


Yes. ptest turned off.

Regards,
Chen Qi
________________________________
发件人: Jeremy A. Puhlman <jpuhlman at mvista.com>
发送时间: 2020年3月17日 12:58
收件人: Chen, Qi <Qi.Chen at windriver.com>; openembedded-core at lists.openembedded.org <openembedded-core at lists.openembedded.org>
主题: Re: 回复: 回复: [OE-core] [PATCH 2/2] glib-2.0: Correct multilib conflict

Do you have ptests turned off?
Looks like all the test checking is done in do_install rather then do_install_ptest. I think I need to add a check for the existance like the change above the added one.

On 3/16/2020 9:31 PM, Chen, Qi wrote:
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "armv7vethf"

I think you can use these two lines to reproduce the problem with multilib enabled.

Regards,
Chen Qi
________________________________
发件人: Jeremy A. Puhlman <jpuhlman at mvista.com><mailto:jpuhlman at mvista.com>
发送时间: 2020年3月17日 12:02
收件人: Chen, Qi <Qi.Chen at windriver.com><mailto:Qi.Chen at windriver.com>; openembedded-core at lists.openembedded.org<mailto:openembedded-core at lists.openembedded.org> <openembedded-core at lists.openembedded.org><mailto:openembedded-core at lists.openembedded.org>
主题: Re: 回复: [OE-core] [PATCH 2/2] glib-2.0: Correct multilib conflict

Just standard x86/i585. What are you using for your mulitlib. ilp32/aarch32/arm7?

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
X86ARCH32 = "i586"
DEFAULTTUNE_virtclass-multilib-lib32 = "i586"
TARGET_ARCH_virtclass-multilib-lib32 = "i586"
TARGET_LD_ARCH_virtclass-multilib-lib32 = "-m elf_i386"
ALTBINDIR_SUFFIX_virtclass-multilib-lib32 = "32"

What does your -e look like for the recipe that fails?

On 3/16/2020 8:30 PM, Chen, Qi wrote:
This patch is causing regression in case of qemuarm64 multilib for me. The static-link.test file is not there, resulting the `mv' command failure. I've sent out a patch to fix this problem, but I don't know what's your environment. So please help review.

Regards,
Chen Qi
________________________________
发件人: openembedded-core-bounces at lists.openembedded.org<mailto:openembedded-core-bounces at lists.openembedded.org> <openembedded-core-bounces at lists.openembedded.org><mailto:openembedded-core-bounces at lists.openembedded.org> 代表 Jeremy A. Puhlman <jpuhlman at mvista.com><mailto:jpuhlman at mvista.com>
发送时间: 2020年3月12日 6:22
收件人: openembedded-core at lists.openembedded.org<mailto:openembedded-core at lists.openembedded.org> <openembedded-core at lists.openembedded.org><mailto:openembedded-core at lists.openembedded.org>
主题: [OE-core] [PATCH 2/2] glib-2.0: Correct multilib conflict

From: Jeremy Puhlman <jpuhlman at mvista.com><mailto:jpuhlman at mvista.com>

Signed-off-by: Jeremy A. Puhlman <jpuhlman at mvista.com><mailto:jpuhlman at mvista.com>
---
 meta/recipes-core/glib-2.0/glib.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 23c347dbf7..edecc51fdb 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -128,6 +128,9 @@ do_install_append_class-target () {
                         rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test
                 fi
         fi
+        if test "x${MLPREFIX}" != "x"; then
+                mv ${D}${datadir}/installed-tests/glib/static-link.test ${D}${datadir}/installed-tests/glib/${MLPREFIX}static-link.test
+        fi
 }

 # As we do not build python3 for windows, makes no sense to ship the script that's using it
--
2.13.3

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core at lists.openembedded.org<mailto:Openembedded-core at lists.openembedded.org>
http://lists.openembedded.org/mailman/listinfo/openembedded-core

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>


--
Jeremy A. Puhlman
jpuhlman at mvista.com<mailto:jpuhlman at mvista.com>


--
Jeremy A. Puhlman
jpuhlman at mvista.com<mailto:jpuhlman at mvista.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200317/8aeb7ceb/attachment.html>


More information about the Openembedded-core mailing list