> case $host_os in
> (*linux-gnu|*cygwin|*mingw32|*msys)
>     want_xterm_kbs=DEL
>     ;;
> (*)
>     want_xterm_kbs=BS
>     ;;
> esac

We check the output of host_os when enable multilib:
$host_os of aarch64 : linux-gnu
$host_os of aarch32: linux-gnueabi

We think about two solutions:
1. Use the v2 patch to specify --with-xterm-kbs=del
2. Temporarily modify the following code in Yocto. And submit patches to 
upstream:
--- a/configure
+++ b/configure
@@ -9470,7 +9470,7 @@ echo "${ECHO_T}$with_xterm_new" >&6
 WHICH_XTERM=$with_xterm_new
 
 case $host_os in
-(*linux-gnu|*cygwin|*mingw32|*msys)
+(*linux-gnu*|*cygwin|*mingw32|*msys)
        want_xterm_kbs=DEL
        ;;
 (*)

Which plan do you think is better?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]

> -----Original Message-----
> From: [email protected]
> <[email protected]> On Behalf Of Alexander
> Kanavin via lists.openembedded.org
> Sent: Tuesday, January 14, 2025 7:00 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: [email protected]; Lei, Maohui/雷 茂慧
> <[email protected]>
> Subject: Re: [PATCH] [OE-core] [PATCH v2] ncurses: Fix install conflict when
> enable multilib.
> 
> On Tue, 14 Jan 2025 at 09:28, wangmy via lists.openembedded.org
> <[email protected]> wrote:
> > After consulting with the upstream of ncurses, it is possible to specify 
> > kbs by
> setting --with-xterm-kbs=XXX.
> > Based on the instructions in
> > https://github.com/ThomasDickey/ncurses-snapshots/blob/master/configur
> > e#L9810, it is appropriate to add --with-xterm-kbs=del.
> 
> I'd like to dig a little bit deeper into this, because I'm not sure how the 
> mismatch
> could happen. The configure script does this
> autodetection:
> 
> case $host_os in
> (*linux-gnu|*cygwin|*mingw32|*msys)
>     want_xterm_kbs=DEL
>     ;;
> (*)
>     want_xterm_kbs=BS
>     ;;
> esac
> 
> Presumably it chooses BS option in one of your multilib configurations, but I 
> do
> not understand why would that be. Can you share log.do_configure for both of
> them, particularly interesting would be the part where it sets host_os:
> 
> checking build system type... x86_64-pc-linux-gnu checking host system type...
> x86_64-poky-linux-gnu checking target system type... x86_64-poky-linux-gnu
> Configuring for linux-gnu
> 
> Thanks,
> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209813): 
https://lists.openembedded.org/g/openembedded-core/message/209813
Mute This Topic: https://lists.openembedded.org/mt/110604398/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to