All of lore.kernel.org
 help / color / mirror / Atom feed
From: "wangmy@fujitsu.com" <wangmy@fujitsu.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: RE: [OE-core] [PATCH V2 5/5] bash: Fix install conflict when enable multilib.
Date: Thu, 9 Mar 2023 01:51:40 +0000	[thread overview]
Message-ID: <OSBPR01MB184550B5D7326199A5C3FF34DCB59@OSBPR01MB1845.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <6e1d1ccb86355e4bd4cdf669e06069706b702afd.camel@linuxfoundation.org>

> I think we should just change the MACHINE, OS, CC and MACHTYPE lines to
> something like "<redacted for multilib compatibility>".
So for the correction of this problem, do we need to continue to vote for patch? 
Or accept this patch temporarily, and then roll it back after the bash update?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wangmy@fujitsu.com
http://www.fujitsu.com/cn/fnst/

> -----Original Message-----
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
> Sent: Wednesday, March 8, 2023 5:25 PM
> To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH V2 5/5] bash: Fix install conflict when enable
> multilib.
> 
> On Wed, 2023-03-08 at 09:40 +0800, wangmy wrote:
> > From: Wang Mingyu <wangmy@fujitsu.com>
> >
> > Error: Transaction test error:
> >   file /usr/bin/bashbug conflicts between attempted installs of
> > lib32-bash-bashbug-5.2.15-r0.armv7ahf_neon and
> > bash-bashbug-5.2.15-r0.aarch64
> >
> > The differences between the two files are as follows:
> > @@ -26,14 +26,14 @@
> >  # configuration section:
> >  #      these variables are filled in by the make target in Makefile
> >  #
> > -MACHINE="aarch64"
> > -OS="linux-gnu"
> > -CC="aarch64-poky-linux-gcc  -mcpu=cortex-a57 -march=armv8-a+crc
> -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat
> -Wformat-security -Werror=format-security "
> > +MACHINE="arm"
> > +OS="linux-gnueabi"
> > +CC="arm-pokymllib32-linux-gnueabi-gcc  -march=armv7-a -mfpu=neon
> -mfloat-abi=hard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2
> -Wformat -Wformat-security -Werror=format-security "
> >  CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types
> -DNON_INTERACTIVE_LOGIN_SHELLS -DHEREDOC_PIPESIZE=65536
> -DBRACKETED_PASTE_DEFAULT=0"
> >  RELEASE="5.2"
> >  PATCHLEVEL="15"
> >  RELSTATUS="release"
> > -MACHTYPE="aarch64-poky-linux-gnu"
> > +MACHTYPE="arm-pokymllib32-linux-gnueabi"
> >
> >  PATH=/bin:/usr/bin:/usr/local/bin:$PATH
> >  export PATH
> >
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > ---
> >  meta/recipes-extended/bash/bash_5.2.15.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta/recipes-extended/bash/bash_5.2.15.bb
> > b/meta/recipes-extended/bash/bash_5.2.15.bb
> > index f78f79fcc5..ce81496f52 100644
> > --- a/meta/recipes-extended/bash/bash_5.2.15.bb
> > +++ b/meta/recipes-extended/bash/bash_5.2.15.bb
> > @@ -20,3 +20,6 @@ DEBUG_OPTIMIZATION:append:armv4 = "
> > ${@bb.utils.contains('TUNE_CCARGS', '-mthumb
> >  DEBUG_OPTIMIZATION:append:armv5 = "
> ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
> >
> >  BBCLASSEXTEND = "nativesdk"
> > +
> > +inherit multilib_script
> > +MULTILIB_SCRIPTS = "${PN}-bashbug:${bindir}/bashbug"
> 
> I think we should just change the MACHINE, OS, CC and MACHTYPE lines to
> something like "<redacted for multilib compatibility>".
> 
> Cheers,
> 
> Richard

  reply	other threads:[~2023-03-09  1:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08  1:40 [OE-core] [PATCH V2 1/5] dhcpcd: Fix install conflict when enable multilib wangmy
2023-03-08  1:40 ` [OE-core] [PATCH V2 2/5] lua: " wangmy
2023-03-08  1:40 ` [OE-core] [PATCH V4 3/5] vala: " wangmy
2023-03-08  1:40 ` [OE-core] [PATCH V2 4/5] xcb-proto: " wangmy
2023-03-08  9:21   ` Richard Purdie
2023-03-13  7:29     ` wangmy
2023-03-13  7:50       ` Alexander Kanavin
2023-03-14  0:49         ` wangmy
2023-03-14  8:29           ` Alexander Kanavin
2023-03-08  1:40 ` [OE-core] [PATCH V2 5/5] bash: " wangmy
2023-03-08  9:24   ` Richard Purdie
2023-03-09  1:51     ` wangmy [this message]
2023-03-09 15:22       ` Richard Purdie
2023-03-08  8:43 ` [OE-core] [PATCH V2 1/5] dhcpcd: " Alexander Kanavin
2023-03-08  9:19 ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OSBPR01MB184550B5D7326199A5C3FF34DCB59@OSBPR01MB1845.jpnprd01.prod.outlook.com \
    --to=wangmy@fujitsu.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.