Message ID | 1735536183-2876-1-git-send-email-wangmy@fujitsu.com |
---|---|
State | New |
Headers | show |
Series | ncurses: Fix install conflict when enable multilib. | expand |
Hi Mingyu, These files look like configuration files and databases. Are you sure these files can be safely overridden by their lib64/lib32 variants? If so, please add corresponding info in the commit message. Regards, Qi On 12/30/24 13:23, wangmy via lists.openembedded.org wrote: > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > --- > meta/recipes-core/ncurses/ncurses.inc | 74 ++++++++++++++++++++++++++- > 1 file changed, 73 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc > index e96ee075bd..11d8fd7c3c 100644 > --- a/meta/recipes-core/ncurses/ncurses.inc > +++ b/meta/recipes-core/ncurses/ncurses.inc > @@ -10,7 +10,7 @@ DEPENDS:class-native = "" > BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ > ${bindir}/ncurses6-config ${bindir}/ncursesw6-config" > > -inherit autotools binconfig-disabled multilib_header pkgconfig > +inherit autotools binconfig-disabled multilib_header pkgconfig multilib_script > > # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/ > SRC_URI = "git://github.com/ThomasDickey/ncurses-snapshots.git;protocol=https;branch=master" > @@ -321,3 +321,75 @@ RRECOMMENDS:${PN}-libtinfo = "${PN}-terminfo-base" > # each recipe specific sysroot. We can live without this, particularly > # as many recipes may have native and target copies. > SYSROOT_DIRS:remove = "${datadir}" > + > +MULTILIB_SCRIPTS = "${PN}-terminfo-base:${sysconfdir}/terminfo/a/alacritty \ > + ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-256color \ > + ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-color \ > + ${PN}-terminfo:${datadir}/terminfo/a/alacritty \ > + ${PN}-terminfo:${datadir}/terminfo/a/alacritty+common \ > + ${PN}-terminfo:${datadir}/terminfo/a/alacritty-direct \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-16color \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-256color \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-base \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-direct \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-linux \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-vt100 \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf3x \ > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf4x \ > + ${PN}-terminfo:${datadir}/terminfo/k/kterm \ > + ${PN}-terminfo:${datadir}/terminfo/k/kterm-co \ > + ${PN}-terminfo:${datadir}/terminfo/k/kterm-color \ > + ${PN}-terminfo:${datadir}/terminfo/n/nxterm \ > + ${PN}-terminfo:${datadir}/terminfo/r/rio \ > + ${PN}-terminfo:${datadir}/terminfo/r/rio-direct \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.konsole \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.xterm-new \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole-256color \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-256color \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-new \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-r6 \ > + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-xfree86 \ > + ${PN}-terminfo:${datadir}/terminfo/s/scrt \ > + ${PN}-terminfo:${datadir}/terminfo/s/securecrt \ > + ${PN}-terminfo:${datadir}/terminfo/v/vs100 \ > + ${PN}-terminfo:${datadir}/terminfo/w/wezterm \ > + ${PN}-terminfo:${datadir}/terminfo/x/xgterm \ > + ${PN}-terminfo:${datadir}/terminfo/x/xiterm \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm+kbs \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm+nofkeys \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1002 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1003 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1005 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1006 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-24 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-88color \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-8bit \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-basic \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-bold \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct16 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct2 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-hp \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-mono \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-new \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-nic \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-noapp \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-old \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p370 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p371 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-pcolor \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r5 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r6 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-sun \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-utf8 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt220 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt52 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-x10mouse \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11hilite \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11mouse \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterm1 \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterms \ > + ${PN}-terminfo:${datadir}/terminfo/x/xterms-sun " > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#209137): https://lists.openembedded.org/g/openembedded-core/message/209137 > Mute This Topic: https://lists.openembedded.org/mt/110339215/7304865 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Qi.Chen@eng.windriver.com] > -=-=-=-=-=-=-=-=-=-=-=- >
> If so, please add corresponding info in the commit message. May I ask what commit information shold be written? -- 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: wangmy@fujitsu.com > -----Original Message----- > From: ChenQi <Qi.Chen@windriver.com> > Sent: Monday, December 30, 2024 1:45 PM > To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] ncurses: Fix install conflict when enable multilib. > > Hi Mingyu, > > These files look like configuration files and databases. Are you sure these files > can be safely overridden by their lib64/lib32 variants? If so, please add > corresponding info in the commit message. > > Regards, > Qi > > On 12/30/24 13:23, wangmy via lists.openembedded.org wrote: > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > > --- > > meta/recipes-core/ncurses/ncurses.inc | 74 > ++++++++++++++++++++++++++- > > 1 file changed, 73 insertions(+), 1 deletion(-) > > > > diff --git a/meta/recipes-core/ncurses/ncurses.inc > > b/meta/recipes-core/ncurses/ncurses.inc > > index e96ee075bd..11d8fd7c3c 100644 > > --- a/meta/recipes-core/ncurses/ncurses.inc > > +++ b/meta/recipes-core/ncurses/ncurses.inc > > @@ -10,7 +10,7 @@ DEPENDS:class-native = "" > > BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ > > ${bindir}/ncurses6-config ${bindir}/ncursesw6-config" > > > > -inherit autotools binconfig-disabled multilib_header pkgconfig > > +inherit autotools binconfig-disabled multilib_header pkgconfig > > +multilib_script > > > > # Upstream has useful patches at times at > ftp://invisible-island.net/ncurses/ > > SRC_URI = > "git://github.com/ThomasDickey/ncurses-snapshots.git;protocol=https;branch= > master" > > @@ -321,3 +321,75 @@ RRECOMMENDS:${PN}-libtinfo = > "${PN}-terminfo-base" > > # each recipe specific sysroot. We can live without this, particularly > > # as many recipes may have native and target copies. > > SYSROOT_DIRS:remove = "${datadir}" > > + > > +MULTILIB_SCRIPTS = "${PN}-terminfo-base:${sysconfdir}/terminfo/a/alacritty > \ > > + > ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-256color \ > > + > ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-color \ > > + ${PN}-terminfo:${datadir}/terminfo/a/alacritty \ > > + > ${PN}-terminfo:${datadir}/terminfo/a/alacritty+common \ > > + > ${PN}-terminfo:${datadir}/terminfo/a/alacritty-direct \ > > + ${PN}-terminfo:${datadir}/terminfo/k/konsole \ > > + > ${PN}-terminfo:${datadir}/terminfo/k/konsole-16color \ > > + > ${PN}-terminfo:${datadir}/terminfo/k/konsole-256color \ > > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-base > \ > > + > ${PN}-terminfo:${datadir}/terminfo/k/konsole-direct \ > > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-linux > \ > > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-vt100 > \ > > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf3x \ > > + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf4x \ > > + ${PN}-terminfo:${datadir}/terminfo/k/kterm \ > > + ${PN}-terminfo:${datadir}/terminfo/k/kterm-co \ > > + ${PN}-terminfo:${datadir}/terminfo/k/kterm-color \ > > + ${PN}-terminfo:${datadir}/terminfo/n/nxterm \ > > + ${PN}-terminfo:${datadir}/terminfo/r/rio \ > > + ${PN}-terminfo:${datadir}/terminfo/r/rio-direct \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.konsole \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.xterm-new \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole-256color \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-256color \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-new \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-r6 \ > > + > ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-xfree86 \ > > + ${PN}-terminfo:${datadir}/terminfo/s/scrt \ > > + ${PN}-terminfo:${datadir}/terminfo/s/securecrt \ > > + ${PN}-terminfo:${datadir}/terminfo/v/vs100 \ > > + ${PN}-terminfo:${datadir}/terminfo/w/wezterm \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xgterm \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xiterm \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm+kbs \ > > + > ${PN}-terminfo:${datadir}/terminfo/x/xterm+nofkeys \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1002 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1003 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1005 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1006 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-24 \ > > + > ${PN}-terminfo:${datadir}/terminfo/x/xterm-88color \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-8bit > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-basic > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-bold > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct > \ > > + > ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct16 \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct2 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-hp \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-mono > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-new > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-nic \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-noapp > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-old \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p370 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p371 > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-pcolor > \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r5 \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r6 \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-sun \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-utf8 \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt220 \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt52 \ > > + > ${PN}-terminfo:${datadir}/terminfo/x/xterm-x10mouse \ > > + > ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11hilite \ > > + > ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11mouse \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterm1 \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterms \ > > + ${PN}-terminfo:${datadir}/terminfo/x/xterms-sun " > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#209137): > > https://lists.openembedded.org/g/openembedded-core/message/209137 > > Mute This Topic: https://lists.openembedded.org/mt/110339215/7304865 > > Group Owner: openembedded-core+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub > > [Qi.Chen@eng.windriver.com] > > -=-=-=-=-=-=-=-=-=-=-=- > >
On 12/30/24 15:51, Mingyu Wang (Fujitsu) wrote: >> If so, please add corresponding info in the commit message. > May I ask what commit information shold be written? Reason about why these files are safe to be overridden by their lib32/lib64 variants. Regards, Qi > > -- > 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: wangmy@fujitsu.com > >> -----Original Message----- >> From: ChenQi <Qi.Chen@windriver.com> >> Sent: Monday, December 30, 2024 1:45 PM >> To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>; >> openembedded-core@lists.openembedded.org >> Subject: Re: [OE-core] [PATCH] ncurses: Fix install conflict when enable multilib. >> >> Hi Mingyu, >> >> These files look like configuration files and databases. Are you sure these files >> can be safely overridden by their lib64/lib32 variants? If so, please add >> corresponding info in the commit message. >> >> Regards, >> Qi >> >> On 12/30/24 13:23, wangmy via lists.openembedded.org wrote: >>> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> >>> --- >>> meta/recipes-core/ncurses/ncurses.inc | 74 >> ++++++++++++++++++++++++++- >>> 1 file changed, 73 insertions(+), 1 deletion(-) >>> >>> diff --git a/meta/recipes-core/ncurses/ncurses.inc >>> b/meta/recipes-core/ncurses/ncurses.inc >>> index e96ee075bd..11d8fd7c3c 100644 >>> --- a/meta/recipes-core/ncurses/ncurses.inc >>> +++ b/meta/recipes-core/ncurses/ncurses.inc >>> @@ -10,7 +10,7 @@ DEPENDS:class-native = "" >>> BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ >>> ${bindir}/ncurses6-config ${bindir}/ncursesw6-config" >>> >>> -inherit autotools binconfig-disabled multilib_header pkgconfig >>> +inherit autotools binconfig-disabled multilib_header pkgconfig >>> +multilib_script >>> >>> # Upstream has useful patches at times at >> ftp://invisible-island.net/ncurses/ >>> SRC_URI = >> "git://github.com/ThomasDickey/ncurses-snapshots.git;protocol=https;branch= >> master" >>> @@ -321,3 +321,75 @@ RRECOMMENDS:${PN}-libtinfo = >> "${PN}-terminfo-base" >>> # each recipe specific sysroot. We can live without this, particularly >>> # as many recipes may have native and target copies. >>> SYSROOT_DIRS:remove = "${datadir}" >>> + >>> +MULTILIB_SCRIPTS = "${PN}-terminfo-base:${sysconfdir}/terminfo/a/alacritty >> \ >>> + >> ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-256color \ >>> + >> ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-color \ >>> + ${PN}-terminfo:${datadir}/terminfo/a/alacritty \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/a/alacritty+common \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/a/alacritty-direct \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/konsole \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/k/konsole-16color \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/k/konsole-256color \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/konsole-base >> \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/k/konsole-direct \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/konsole-linux >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/konsole-vt100 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf3x \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf4x \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/kterm \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/kterm-co \ >>> + ${PN}-terminfo:${datadir}/terminfo/k/kterm-color \ >>> + ${PN}-terminfo:${datadir}/terminfo/n/nxterm \ >>> + ${PN}-terminfo:${datadir}/terminfo/r/rio \ >>> + ${PN}-terminfo:${datadir}/terminfo/r/rio-direct \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.konsole \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.xterm-new \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole-256color \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-256color \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-new \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-r6 \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-xfree86 \ >>> + ${PN}-terminfo:${datadir}/terminfo/s/scrt \ >>> + ${PN}-terminfo:${datadir}/terminfo/s/securecrt \ >>> + ${PN}-terminfo:${datadir}/terminfo/v/vs100 \ >>> + ${PN}-terminfo:${datadir}/terminfo/w/wezterm \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xgterm \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xiterm \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm+kbs \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/x/xterm+nofkeys \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1002 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1003 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1005 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1006 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-24 \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/x/xterm-88color \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-8bit >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-basic >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-bold >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct >> \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct16 \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct2 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-hp \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-mono >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-new >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-nic \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-noapp >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-old \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p370 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p371 >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-pcolor >> \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r5 \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r6 \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-sun \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-utf8 \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt220 \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt52 \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/x/xterm-x10mouse \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11hilite \ >>> + >> ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11mouse \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterm1 \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterms \ >>> + ${PN}-terminfo:${datadir}/terminfo/x/xterms-sun " >>> >>> -=-=-=-=-=-=-=-=-=-=-=- >>> Links: You receive all messages sent to this group. >>> View/Reply Online (#209137): >>> https://lists.openembedded.org/g/openembedded-core/message/209137 >>> Mute This Topic: https://lists.openembedded.org/mt/110339215/7304865 >>> Group Owner: openembedded-core+owner@lists.openembedded.org >>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub >>> [Qi.Chen@eng.windriver.com] >>> -=-=-=-=-=-=-=-=-=-=-=- >>>
On Mon, 30 Dec 2024 at 08:51, wangmy via lists.openembedded.org <wangmy=fujitsu.com@lists.openembedded.org> wrote: > > > If so, please add corresponding info in the commit message. > > May I ask what commit information shold be written? When adding multilib entries to recipes, we expect that the commit message documents the actual conflict, e.g. what is the difference between lib32 and lib64 versions? Can it be fixed with an upstream patch? Especially items in $datadir are suspicious and should be carefully looked iat: they should never be host-specific. Alex
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index e96ee075bd..11d8fd7c3c 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -10,7 +10,7 @@ DEPENDS:class-native = "" BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ ${bindir}/ncurses6-config ${bindir}/ncursesw6-config" -inherit autotools binconfig-disabled multilib_header pkgconfig +inherit autotools binconfig-disabled multilib_header pkgconfig multilib_script # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/ SRC_URI = "git://github.com/ThomasDickey/ncurses-snapshots.git;protocol=https;branch=master" @@ -321,3 +321,75 @@ RRECOMMENDS:${PN}-libtinfo = "${PN}-terminfo-base" # each recipe specific sysroot. We can live without this, particularly # as many recipes may have native and target copies. SYSROOT_DIRS:remove = "${datadir}" + +MULTILIB_SCRIPTS = "${PN}-terminfo-base:${sysconfdir}/terminfo/a/alacritty \ + ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-256color \ + ${PN}-terminfo-base:${sysconfdir}/terminfo/x/xterm-color \ + ${PN}-terminfo:${datadir}/terminfo/a/alacritty \ + ${PN}-terminfo:${datadir}/terminfo/a/alacritty+common \ + ${PN}-terminfo:${datadir}/terminfo/a/alacritty-direct \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-16color \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-256color \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-base \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-direct \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-linux \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-vt100 \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf3x \ + ${PN}-terminfo:${datadir}/terminfo/k/konsole-xf4x \ + ${PN}-terminfo:${datadir}/terminfo/k/kterm \ + ${PN}-terminfo:${datadir}/terminfo/k/kterm-co \ + ${PN}-terminfo:${datadir}/terminfo/k/kterm-color \ + ${PN}-terminfo:${datadir}/terminfo/n/nxterm \ + ${PN}-terminfo:${datadir}/terminfo/r/rio \ + ${PN}-terminfo:${datadir}/terminfo/r/rio-direct \ + ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.konsole \ + ${PN}-terminfo:${datadir}/terminfo/s/screen-bce.xterm-new \ + ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole \ + ${PN}-terminfo:${datadir}/terminfo/s/screen.konsole-256color \ + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-256color \ + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-new \ + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-r6 \ + ${PN}-terminfo:${datadir}/terminfo/s/screen.xterm-xfree86 \ + ${PN}-terminfo:${datadir}/terminfo/s/scrt \ + ${PN}-terminfo:${datadir}/terminfo/s/securecrt \ + ${PN}-terminfo:${datadir}/terminfo/v/vs100 \ + ${PN}-terminfo:${datadir}/terminfo/w/wezterm \ + ${PN}-terminfo:${datadir}/terminfo/x/xgterm \ + ${PN}-terminfo:${datadir}/terminfo/x/xiterm \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm+kbs \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm+nofkeys \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1002 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1003 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1005 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-1006 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-24 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-88color \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-8bit \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-basic \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-bold \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct16 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-direct2 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-hp \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-mono \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-new \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-nic \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-noapp \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-old \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p370 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-p371 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-pcolor \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r5 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-r6 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-sun \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-utf8 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt220 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-vt52 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-x10mouse \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11hilite \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm-x11mouse \ + ${PN}-terminfo:${datadir}/terminfo/x/xterm1 \ + ${PN}-terminfo:${datadir}/terminfo/x/xterms \ + ${PN}-terminfo:${datadir}/terminfo/x/xterms-sun "